Results 1 to 3 of 3

Thread: how to get the 'debug info' from a stored procedure

  1. #1
    Guest
    Hi,

    Is there a way to get the text that was printed by a stored procedure using the

    print 'text blablalba '

    command in vb, when using ado as db-connector?

    i'm using sqlserver 7 as database.

    thanks,

    Matthijs Vader

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    I don't believe so. Nothing from preventing you to output the debug information to another table (set up specifically just to take the information) that you could then query...

    Assume the table has two fields, lineno and text, your stored procedure would want to, at the start, clear any entries in the table.

    then, instead of print "text", you'd want to have:

    insert into table values (#,"text")


    where Number is a value set by you representing the line.

  3. #3
    Guest
    Thanks! too bad it isn't possible.

    Matthijs Vader

Posting Permissions

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



Click Here to Expand Forum to Full Width