The setting of DATEFORMAT might be different than the format sent by the app.
Example: if the dateformat in the database is day/month/year and it's send in month/day/year, you'll get an error if you're trying to insert '07/29/2011'.
The best way to send a date format is YYYYMMDD, since this will always be recognized as a valid date format independent of the DATEFORMAT setting at the database. In the give nexample this would be '20110729'. Make sure not to send it as an integer value though...
Lutz
A pessimist is an optimist with experience.
How to get fast answers to your question[/url]
How to post performance related questions[/url]
Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]