How do I list all stored procedures in Informix?
Solution 1
Yes, there is. It's called sysprocedures
. Try this to see all there's to see:
select * from sysprocedures
For more information on what detailed information is available, read about sysprocedures and sysprocbody and sysproccolumns.
Solution 2
Get the procid of the stored procedure from the below query
select sysprocedures.procname,sysprocedures.procid from sysprocedures
and provide the procid in the below query to view the whole stored procedure
select data from sysprocbody where procid = @procid and datakey = 'T' order by seqno
Solution 3
select sysprocedures.procname from sysprocedures;
CheeseConQueso
facebook.com/CheeseConQueso - Facebook pocketband.net - uLoops/PocketBand grooveshark.com/CheeseConQueso - Grooveshark
Updated on July 05, 2022Comments
-
CheeseConQueso almost 2 years
I'm looking for a way to list all the stored procedures in my database running on Informix.
Is there a table in the
"informix".*
database that lists stored procedures along with detail information about them? -
Adriano Carneiro over 12 yearsDid you just answer your own question using the information I provided in my answer??
-
Peter Burns over 12 yearsmouse over the time stamps; his answer was first
-
CheeseConQueso over 12 years@Adrian - I found the answer on google and posted before i saw yours, but jeff, i think Adrian posted a minute before me.
-
Foxhound over 4 yearsThis is great, thankyou. Would you know how to execute said procedure?
-
Foxhound over 4 yearsTo answer my above comment: call <procname>()
-
Gabz about 3 yearsGod bless you, I've been looking for it all the day.