General information
Forum:
Microsoft SQL Server
Larry;
This solves the error but perhaps does not address your requirement.
Use a different name for each table. I used #tmpTable and #tmpTable1 and it worked fine. It would not allow me to use the same tablename in both areas of the conditional statement.
Tom
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only