Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing this query
Message
From
15/03/2006 16:14:16
 
 
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01104684
Message ID:
01104701
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform