Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 with MS Sql server 7 SPT
Message
From
28/11/2003 12:30:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00853955
Message ID:
00854251
Views:
19
>>>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.

You're absolutely right !!! :)
Good you stepped in and showed I was right about saying solutions doesn't necessarily mean solution :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform