Greens8301
asked on
temporary tables in sql server 2005 how persistent is it
on a sql agent job created 2 steps
step1 creates temporary tables by running sql script
step2 reads these temporary tables, does some processing and writes to a new table
what i found was, as soon as the step1, exists, the temporary tables disappears
how persistent are the temporary tables. can it be used across different sessions
Thanks
step1 creates temporary tables by running sql script
step2 reads these temporary tables, does some processing and writes to a new table
what i found was, as soon as the step1, exists, the temporary tables disappears
how persistent are the temporary tables. can it be used across different sessions
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yes, in that case it would go out to scope (even the global)...why not use a user-table instead?
ASKER
"ALL connections using them go out of scope"
When step1 completes, there are no connects to the tables. Does this constitute ALL connections
Then when step2 starts, (probably a different session id), can it see GTT
Thanks