Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re-create Stored Procedure
Message
De
16/12/2000 01:42:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00454240
Message ID:
00454347
Vues:
35
see the bold line below

>>>Hi everyone,
>>>
>>>I have a program, which creates a clone of Database. The question is: how can I clone Stored Procedure for the database?
>>>
>>>Thanks in advance.
>>
>>
SET DATABASE TO oldatabase
>>COPY PROCEDURE TO x.prg
<b>IF !EMPTY(FILETOSTR("x.prg"))</b>
  >>SET DATABASE TO newdatabase
  >>APPEND PROCEDURES FROM x.prg
<b>ENDIF</b>
>
>Trey,
>
>If Database doesn't contain Stored Procedure, would it still work or I need to add some check here?
>
>Thanks in advance.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform