I am trying to insert a new column in my database if it isn't inserted earlier. My column looks like this
ALTER TABLE dbo.tSafeUnit ADD HasAccess24_7 tinyint not null default 0
I want the column to be inserted only if it is not in the table.
My line of code only inserts it but doesn't check if it exists.