06-27-02, 10:26 #1Registered User
- Join Date
- Jun 2002
Unanswered: automatic code for each table - don't work
i'm trying to automatize some tasks for each table, but this piece of code doesn't work :
DECLARE @TableName sysname
drop table @TableName ( or whatever ... )
the error message is: " Incorrect syntax near '@TableName' "