Jump to content

SQL Add column only if it doesn't exist


roaddog

Recommended Posts

Posted (edited)

I have found this ALTER TABLE function lately, so I want to know how to check whether the column exists by using some kind of IF NOT EXISTS statement? Any idea how to do so?

Edited by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...