Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the Standard
Message
 
À
18/09/2002 12:44:33
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00701891
Message ID:
00702184
Vues:
16
I would think you would have to ask what time do you need first.

If I wanted the time from the server then it would make most since for some piece of code on the server to get the time I.E. SP or trigger. Getting the time at the server takes care of all sorts of bad time issues on clients. Most networks that I have been around do not have a system setup to keep all clients on the network synched up with a particular servers time.

If you wanted the time from the users machine, I.E. The user is somewhere in a different time zone and it was important to know their time for an update then you will have to send the users time somehow. Either as a parameter to a SP or in a SQL Pass Through or through some sort of write to a clients dataset I.E. a Remote View in VFP.


>Hello,
>
> I need to know if there is a standard for updating a datetime field that is not entered by the user. The purpose of the field is to document the time a record was updated. Is it better to update the field from the user interface or by creating an update trigger? Is there a different way to do this? Which way is the standard? Any other thoughts?
What ben makes tracks for what wil be. Words in the air pirnt foot steps on the groun for us to put our feet in to.

Riddley Walker
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform