CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Posts
    60

    temporary tables

    I am using a temporary table as input into a report. This table is based on some queries, so each time the results may be different. It's a little annoying because whenever there are two people wanting to create this report, one can't because the table is already being created by somebody else. I drop it from the database after report is created. How can I create a temporary table with different names each time so that many reports can be created ? I would drop these after creation of reports of course. Does this make sense? Or am I on the wrong track? Thanks for your advice in advance!



  2. #2
    Join Date
    Apr 2001
    Location
    CA
    Posts
    153

    Re: temporary tables

    Use a timestamp as the name of your temporary table. The chances of two people creating the same table name at the same time are very small if you don't have too many users.

    thanx/good luck,
    adam
    thanx/good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured