Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6 with MS Sql server 7 SPT
Message
From
28/11/2003 06:27:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/11/2003 12:48:28
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00853955
Message ID:
00854160
Views:
18
This message has been marked as the solution to the initial question of the thread.
>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
Ç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
Next
Reply
Map
View

Click here to load this message in the networking platform