Hi guys,
I have an annoying issue with SQL in that when I try to reference a column in a table (that doesn't exist yet) I get an error in ssms prior to executing. Is there any way I can turn this off? Or a command that ignores it?
An example...
(i) I have a script that references [myTable].[myColumn]. This column does not exist in my table.
(ii) My sql script adds a new column to my table (i.e. the column in previous step), does some work and then deletes it again.
(iii) My sql errors on pre-execution stage.
Is there any way I can tell sql to trust my code(!) and delay/ignore validation of my column?
Thanks,
Joe