|
|
|
|
|
|
Re: TRUNC(sysdate, 'day') output different on local vs application oracle [message #522104 is a reply to message #522051] |
Tue, 06 September 2011 08:47   |
Solomon Yakobson
Messages: 3305 Registered: January 2010 Location: Connecticut, USA
|
Senior Member |
|
|
Littlefoot wrote on Tue, 06 September 2011 03:28SYSDATE returns database server's system date. So, your TOAD connects Oracle 9i which is installed on your own PC. This PC is Oracle 9i's database server. It appears that date set on your PC is 4th Sep 2011. Verify it (desktop's right bottom corner).
Well, before building a "theory" it would help to check what TRUNC(dt,'day') does. It returns starting day of the week. And guess what, yes starting day of the week is CLIENT nls settings dependent. The rest is in destinysandeep's reply.
|
|
|
|