Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing this query
Message
De
15/03/2006 16:14:16
 
 
À
15/03/2006 16:11:46
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01104684
Message ID:
01104701
Vues:
8
>Store the value of Framework.DateFunction.GetEmptyDate() to a local variable so it doesn't get fired with every loop. For that matter, you could just say:
>
>
>"SET MitTelLog.XMLDowndt=NULL"
>
>
>and not use the function. SQL doesn't allow empty date values anyway.

Using NULL will return a message saying that the null value is not accepted. This is why the function returns a universal date of 30/12/1899 00:00:00.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform