Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A stored procedure is running
Message
De
30/04/2004 06:08:21
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
23/04/2004 09:54:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00897574
Message ID:
00899645
Vues:
15
Hi
How is triggered, using default value for PK column ?

Maybe is better to have the code as a standalone procedure/function rather than a class


>Hi,
>I have stored procedure in my database to generate GUID. It will be triggered if new record added.
>
>
>
>PROCEDURE GenGUID
>
>LOCAL loGUID
>
>loGUID = CREATEOBJECT("cGUIDLib")
>
>RETURN loGUID.GetGUID()
>
>
>DEFINE CLASS cGUIDLib AS Relation
>  PROCEDURE GetGUID
>     *-- Some code here
>ENDDEFINE
>
>
>
>It work fine, but it will cause error "A stored procedure is running" when I exit from my application. Any ideas?
>
>Thank you
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform