Reputation: 661
Would like to know if one can view stored proc is Squirrel. Is there a plugin for this?
Upvotes: 3
Views: 24226
Reputation: 66
An easy way to get Stored Procedures source code on Ingres database:
select
procedure_name, text_sequence, text_segment
from
iiprocedures
where
procedure_name = 'sp_name_goes_here'
order by
text_sequence
Aloha!
Upvotes: 1
Reputation: 9893
You have to install your correspondent database plugin. In case of sqlserver
, you can install it with squirrel-sql installation by checking Microsoft SQL-Server Plugin
as per below:
So once installed, you can:
Here is a screenshot:
Upvotes: 2
Reputation: 1113
Using SQuirreL 3.5.2, I knew there should be Procedures in our database but they were not showing by default. I right-clicked the Procedures and chose "Refresh Item" to get them to show. Must not be loaded by default so that can be misleading.
Upvotes: 0
Reputation: 51
What version of SQuirreL are you working on ?..
I have 3.2.1 and all I need to do is click on "Objects" tab, expand your connection, look for your database, expand it, and then look for "Procedure" then click on the procedure you want, and then click on the "Source" tab
Upvotes: 2