Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEvan Shellborn
4,827 PointsWhy does he leave us with truncated tables?
So... at the very end of this video Andrew tells us to Truncate the movies and actors table. "You know, it's sort of like deleting," he says. I assumed he would go through a way to un-truncate, but nope! Then I started the next video, and he talked as if nothing had happened and you tables are all still there. I get errors because "table doesn't exist". What can I do? Super annoying
2 Answers
Andrew Chalkley
Treehouse Guest TeacherDid you delete it rather than truncate it?
Evan Shellborn
4,827 PointsNo, I truncated, but maybe I don't understand fully what truncate means.
Anyways, I ended up deleting the database and going back and redoing a few steps to get it going again.
Andrew Chalkley
Treehouse Guest TeacherTruncate should just delete the records not the table itself. :/
Evan Shellborn
4,827 PointsOk, you're right, sorry man. In the next video you're changing the columns, but those should still be there, just the data is gone. I must have had an error just because I misspelled the command or something. Thanks now I understand.
I also just started there today after not working on it for a while, so I thought that database was the one with the enormous amount of movies, but just remembered that it's the one with just a couple movies we added.
Thanks again Andrew Chalkley