Re: Primary Key with a datetime datatype
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 10/18/04
- Next message: Jeff Dillon: "Re: Primary Key with a datetime datatype"
- Previous message: Colleen Rossman: "Re: Primary Key with a datetime datatype"
- In reply to: Colleen Rossman: "Re: Primary Key with a datetime datatype"
- Next in thread: Colleen Rossman: "RE: Primary Key with a datetime datatype"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 18 Oct 2004 23:13:57 +0200
Perhaps the app passes appropriate SET DATEFORMAT command, but in a different connection? I'm
thinking things like connection pooling etc. It is definitely an app issue, and Profiler should
reveal what is really happening. I'd strongly suggest to the app vendor to use a "safe" format.
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "Colleen Rossman" <crossman@discussions.microsoft.com> wrote in message news:75915596-9A5C-4665-950D-794B05F957C6@microsoft.com... > Yes, the vendor does claim it's 'by design' and it's been this way for a long > time. However I found a 'set dateformat=dmy' statement in the trace output > which works in QA, allowing me to pass ddmmyyyy format without error, but it > didn't work in the app and that's teh real issue here. > > Colleen > > "Adam Machanic" wrote: > >> >> "Colleen Rossman" <crossman@discussions.microsoft.com> wrote in message >> news:DDBAF283-CC40-408A-B942-428DF8A157E3@microsoft.com... >> > >> > SQL profiler indicated the app was passing a date value in format that is >> > incompatible (passing dd-mm-yyyy). I am able to reproduce the error in >> Query >> > Analyzer. >> > >> > Is there something I don't know about the internal storage of a primary >> > key/datetime datatype that would cause this error? >> >> Aboslutely not... >> >> But why did the date format that the app is passing change? Does the >> vendor claim that it was that way before? >> >> >>
- Next message: Jeff Dillon: "Re: Primary Key with a datetime datatype"
- Previous message: Colleen Rossman: "Re: Primary Key with a datetime datatype"
- In reply to: Colleen Rossman: "Re: Primary Key with a datetime datatype"
- Next in thread: Colleen Rossman: "RE: Primary Key with a datetime datatype"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|