Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Executing SQL Server stored procedure in sql squirrel

i'm in ubuntu 9.04 and using sql squirrel as my sql client. i connect to a remote SQL Server. There are some stored procedures in the db. I don't know how to execute them. No explicit gui. Earlier i was in windows and i could use management studio. I can right click on stored procedures and give Execute. You guys have any idea? Let me know. It will be helpful for me. :)

like image 617
Senthil Kumar Avatar asked Dec 23 '22 08:12

Senthil Kumar


1 Answers

Typically, if you want to execute a SQL Server stored procedure, you'd write:

EXEC Your-stored-proc-name-here @param1 = value1, @param2 = value2 

and then execute that command. Typically, you should also use the dbo.StoredProcName notation to avoid any confusion / problems.

like image 70
marc_s Avatar answered Mar 04 '23 08:03

marc_s