Re: Output data in a Stored Procedure

Stephen Cook <[email protected]>
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
I asked this same question here not too long ago, and apparently there 
is no equivalent command.  So, I wrote a stored procedure that takes a 
VARCHAR parameter and puts it in a log table with a timestamp, and 
afterwards I can check out that table to see if everything went as planned.

Someone suggested just using a SELECT but it seemed kind of messy to me 
(cluttered up the output with headers and lines and all that just for 
one short line of text).

If you do find a better solution I'd love to hear it.



Melissa Dougherty wrote:
> I'm wanting to use a PRINT statement to output variables in my stored procedure.... Like in MS SQL Server.  How can I do this in MySQL?  I just want to verify my processing.
> 
> Thanks,
> 
> Melissa 

-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.