Question

If I do a Create Table If Not Exists, and a table with the same name exists with fewer rows (or columns), what would happen?

Was it helpful?

Solution

The table will not be created if a table with the same name already exists regardless of table layout.

OTHER TIPS

Nothing. If the "IF Not Exists" clause fails, the rest of the create is skipped.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top