John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
Microsoft SQL Server
Privet Sergey...
I tried that in the select into and it still errored out at the call to use it non-dynamically.
Are you saying to create the table non-dynamic, use the dynamic sql to populate it, then use it?
>>Is there a way to make a temp table created by SELECT INTO with a dynamic sql statement visible to other non-dynmaic sql statements?
>
>Hi John,
>
>You can create a global temporary table (##Temptable) but it'll be visible to all sessions.
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