Ask a Question related to Microsoft SQL / MS SQL Server, Design and Development.
-
lindawie #1
Re: Problems with WHILE and PRINT
Jeff,
Use raiserror() with the nowait option and severity 0 for> I am trying to get a WHILE loop to print status messages to Query
> Analyzer as I run the following query on SQL2K SP3:
>
> Additionally, if I halt execution midway, there is no output.
> How can I actually get a message to appear to the screen every 5
> seconds?
informational message.
declare @untilTime datetime
declare @Now varchar(30)
SET @untilTime = DATEADD(second, 30, getdate())
while getdate() < @untilTime begin
waitfor delay '00:00:05.000'
set @Now = convert(varchar(30), getdate(), 121)
raiserror ('%s', 0, 1, @Now) with nowait
end
Linda
lindawie Guest
-
Print Problems
Does this item from FAQ as of this morning help? Mark Hiers, "How do I add PDF printer back into printer list in OS X?" #, 10 Jul 2003 7:34 am... -
Acrobat Web Capture & CSS Print problems
I had previously posted a problem with css and printing web pages in this group on 4/21. Did not get an answer, and searches of this group seemed... -
Print Member Problems
I use 8.5 with PrintOMatic Lite. On my CD, the user can print members (text boxes). My client in another state says the document is totally... -
Print Problems FH MX MAC OSX
Hello, testing MX (11.0.1) for the infographic-departement a newsmagazine, we found a lot of problems. So 90% of the documents can't be print out.... -
Net:Telnet and print() problems
thirdhorseman@3h.unity.la (Chris) writes: Use Net::Telnet::dump_log() to see what's actually being sent and received. You're not... -
Jeff Albenberg #2
Re: Problems with WHILE and PRINT
Thanks. Works just like I need.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Jeff Albenberg Guest



Reply With Quote

