Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a stored procedure to my database?
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01150504
Message ID:
01150545
Views:
51
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform