Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 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

15732 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  
 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.04 seconds. Powered By: Snitz Forums 2000