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
Why do my triggers fire on an update that effects one row eg
[UPDATE Customer SET CustomerName = 'Some Geezer' where CustomerID = 3]
but not on an update that effects multiple rows eg
[UPDATE Customer SET CustomerName = "No Name" where CustomerName is null] ??
If I run the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.