Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List SP's in a DB from VB

Status
Not open for further replies.

pokermat

Programmer
Jan 17, 2002
44
GB
Hi all

I need to display a list of stored procedures in a sql server db.

I am using Data Environment and when you insert an SP you get a list of all SPs for that connection - that is the list I am after in code.

Any ideas? Thanks.

VB6 - XP Pro.
 


An xtype of "P" returns stored procedures, "V" returns views...

select name from sysobjects where xtype = 'P'

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top