To cut a very long story short I want to use varibles in an Alter command in an SP i.e
ALTER TABLE @tableName ALTER COLUMN @fieldName datetime
but it gives me a syntax error. Is there any way around it or should I start hand cranking database mods now.
Regards
Mike
ALTER TABLE @tableName ALTER COLUMN @fieldName datetime
but it gives me a syntax error. Is there any way around it or should I start hand cranking database mods now.
Regards
Mike