Results 1 to 2 of 2

Thread: Parameter

  1. #1
    Join Date
    Oct 2003
    Posts
    83

    Unanswered: Parameter

    Knowing the parameter used in a stored procedure how can I find out the stored procedure's name?

  2. #2
    Join Date
    Jul 2002
    Location
    Village, MD
    Posts
    621
    create procedure test @id int,@id2 int
    as
    select @id
    go
    select * from sysobjects where id in(
    select id from syscolumns where name='@id2')

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •