are my print messages being sent to webserver?

  • We have bunch of sprocs which print out actual sql statement in message tab( was enabled for debugging but never disabled !!!). Would these print messages also been sent to webserver? Is there anyway i can find this out? Web application is in .net.

  • Yes print messages are available as part of the. Net connection object but you have to add a event to it i believe in order to extract them. I have an enhanced Sqlhelper class on my other puter with the example but this is the basics

    They are ignored unless you add something to display them

    http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.infomessage.aspx%5B/url%5D

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply