Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Temporary user tables, two different connections, same user 1

Status
Not open for further replies.

CP60

Programmer
Oct 16, 2008
145
DE
How can temporary user #table (created through a ADODB connection using the SQLNCLI11 Provider), be accessed by a different program running on the same machine by the same user?

(I already know this can be done with a global temporary ##table).

The connections to the MSSQLS instance are currently using a trusted connection (Integrated Security=SSPI)

Thank you in advance!
 
CREATE TABLE help topic said:
Local temporary tables are visible only in the current session

So there is no way unless you find a way to share the connection/session. A simple thing to try is passing the connection handle to the other EXE, but I doubt that's sufficient.

Bye, Olaf.
 
Ok, thank you for the information!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top