How Do I Avoid "press Space To Continue" With A Pause

Hi,

What I try to do is quite simple pause my script 7 sec. But the Pause statement always open a Windows asking "Press space to continue".

I want a hiden pause to slow down some process. Do I use wrong fonction?


Thank
 

TheMadDBA

Active Member
To expand on the ouch.... That loop is going to cause excessive cpu usage. It may not matter that much on an indivual pc but can be murder on servers.

The pause with the no-message option will not do this and should be what you use.
 
To expand on the ouch.... That loop is going to cause excessive cpu usage. It may not matter that much on an indivual pc but can be murder on servers.

The pause with the no-message option will not do this and should be what you use.

I don't know why but if I put and execute it in procedure editor the window appear. But in my program no.

So I'll use the pause with no-message

thank
 
Top