SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Select time from Server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

Bosnia and Herzegovina
164 Posts

Posted - 11/12/2004 :  16:51:11  Show Profile  Reply with Quote
Does anybody know how I can get timer from the server in my client application ....???

Most Valuable Yak

15726 Posts

Posted - 11/12/2004 :  16:54:58  Show Profile  Visit robvolk's Homepage  Reply with Quote
Select getdate()

That will give you the current date and time on the server. You can parse the output to get just the time.
Go to Top of Page

Flowing Fount of Yak Knowledge

2878 Posts

Posted - 11/12/2004 :  16:55:41  Show Profile  Visit Seventhnight's Homepage  Reply with Quote
timer?? this what you mean?

--wait 5 secs then do something
waitfor DELAY '00:00:05'
Select 'hi'

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000