Private Directory

P

Pete

I've experience with Paradox were you can create temporary
tables in the user's private directory. I've created
stored procedures to create tables using
CREATE TABLE #tblMyTable... How can I access these
tables, or even view them? What is the proper syntax for
stored procedures?
 
U

Uwe Ricken

Hi Pete,

SQL-Server is working with temporary objects (PREFIX: # or ##)
in the tempdb which is a database on the sql-server.

This tempdb will be recreated every time the server has been
rebootet.

To access these TEMP-Tables use:

e.g.: SELECT TEMPDB..#myTempTable

HTH ;-)

--
Gruß, Uwe Ricken
MCP for SQL Server 2000 Database Implementation

GNS GmbH, Frankfurt am Main
http://www.gns-online.de
http://www.memberadmin.de
http://www.conferenceadmin.de
____________________________________________________
APP: http://www.AccessProfiPool.de
dbdev: http://www.dbdev.org
FAQ: http://www.donkarl.com/AccessFAQ.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top