Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Datime time based syncronization Expand / Collapse
Author
Message
Posted Tuesday, July 22, 2014 4:13 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, December 3, 2014 10:04 PM
Points: 52, Visits: 161
hi, (i am Using windows 2008 ,windows xp and sqlserver 2005 ,2008)

i have to put some data from one sqlserver to other sqlserver instence, both are kept geographicall seprated.

so because of datetime sync problem i have made the data transfer job with out datetime dependency.

but due to some restrictions for timebeen(temporary basis), i have to compare date time
of both the servers and put some records based on datetime comparision.
both sqlserver sync data using wcf and webservices.

I wanted to know , is it possible to keep the same date time at two different geographicaly separated computers, like using timezone settings, or there will be some difference in time, like few seconds, but it matters for me.


any link will be help full.

yours sincerely




Post #1594993
Posted Tuesday, July 22, 2014 7:13 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 2:05 PM
Points: 13,327, Visits: 12,820
Of course you can have the same time on both machines. There is nothing that says a computer must use a certain timezone because of its physical location. I suspect however that your question is deeper than that. Can you add some time adjustment to your synch process?

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1595070
Posted Friday, July 25, 2014 7:59 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, December 3, 2014 10:04 PM
Points: 52, Visits: 161
two server can have same timezone and they can get updated from internet also, but will they keep same datetime uptothe second over time.

yours sincerely
Post #1596222
Posted Friday, July 25, 2014 8:12 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Yesterday @ 7:23 PM
Points: 20,860, Visits: 32,883
rajemessage 14195 (7/25/2014)
two server can have same timezone and they can get updated from internet also, but will they keep same datetime uptothe second over time.

yours sincerely


There is always the possibility of some amount of skew between clocks on computer systems. Will two computers stay in sync to the second over time, it depends. For most normal business requirements I am not sure why you would be concerned about two systems being that closely in sync with each other.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1596232
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse