Krishnamuthu
Krishnamuthu

Reputation: 59

How to get list of stored procedure in a namespace of Caché database using a query?

How to get list of stored procedures available in a namespace from an Intersystems Caché database using query?

Upvotes: 0

Views: 468

Answers (2)

Brandon Horst
Brandon Horst

Reputation: 2070

SELECT * FROM %Dictionary.CompiledMethod WHERE SqlProc = 1

Upvotes: 2

Stephen Canzano
Stephen Canzano

Reputation: 326

You should be able to query the table

%sql_dict.routine

to obtain the information you are looking for.

Upvotes: 1

Related Questions