Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add a stored procedure to my database?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01150504
Message ID:
01150545
Vues:
52
>Thank you again for your help.
>
>>
>>In order to create/update sproc in DB you do
>>-- create
>>CREATE PROCEDURE myproc
>>...
>>-- update
>>ALTER PROCEDURE myproc
>>...
>>After that you can excute sproc
>>myproc ...
>>-- or
>>EXEC myproc ...
>>
>
>Do I understand correctly that the above commands are to be typed in the Query window? This is like VFP Command Window, right?

They all are T-SQL statements/batches. You can run them in a query window, from some frontend using ODBC/OLE DB connection, e.t.c.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform