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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't find temporary table but ODBC says it exists

Status
Not open for further replies.

jfcox

Programmer
Jul 11, 2001
44
US
Hi,

I've never used temporary tables before and I'm having a problem. I can create a local or global temporary table with no problem. When I try to do an insert or update to the table I just created, I get an error that the object doesn't exist. I can run a select * on the temporary table and I get nothing back of course but it does run without error. If I try to create the table again, I get an error that says it already exists. I have looked in the tempdb as well as the DB I was working on. Where in the heck is the table? Can you ever see it? How do I do an insert or update? I'm using ODBC for all the connections, is this a problem?

Thanks in advance to whom ever can answer this!
 
Please post the code you use to create and then insert into a temp table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top