4

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?

1
  • 1
    I assume you mean columns, not rows. Commented Oct 27, 2008 at 15:58

2 Answers 2

9

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

Sign up to request clarification or add additional context in comments.

Comments

4

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.