Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 with MS Sql server 7 SPT
Message
 
 
À
28/11/2003 06:27:02
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00853955
Message ID:
00854245
Vues:
18
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform