Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 with MS Sql server 7 SPT
Message
 
 
To
28/11/2003 06:27:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00853955
Message ID:
00854245
Views:
17
>>thanx Cetin,
>>
>>but could u also highlight me on how to create temp tables or cursors return the recordset and then drop them ?
>>
>>thanx
>>suhas
>
>Prefix the tablename with 2 sharps :
>
>create table ##myTable ...
>insert into ##myTable ...
>
>It'd be destroyed when it goes out of scope (typically when stored proc ends) . Also check for global temporary tables that are created with a single sharp prefix. They are available to other sessions other than current session and destroyed when all the referees in all sessions has ended.

Cetin,

It's opposite: #table is local and ##table is global temporary table.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform