If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > TimeStamp and DB2 version problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-06, 08:13
nikhilbhavsar nikhilbhavsar is offline
Registered User
 
Join Date: Dec 2005
Posts: 16
Exclamation TimeStamp and DB2 version problem

Hi ,
I m facing one funny problem .

We had developed an application using db2 version-8.0
When we deployed the application in Production which uses db2 verion 7.0, it failed .

The reason was the delimiter character used for TimeStamp used in queries.

For db2-8.0 the delim char is - :
And for 7.0 the delim char is - .

Please help me to fix the issue.

The issue is related to TimeStamp only.
I may be wrong that the issue may not be related to delim char.

Please help me out .. U r suggestion for better design are welcome
Reply With Quote
  #2 (permalink)  
Old 01-24-06, 10:36
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
timestamp

can the bind command and datetime option not help ?
check the formats supported by bind usa-eur-iso....
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #3 (permalink)  
Old 01-24-06, 13:08
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Guy, Does the date formats depend on database locale settings - TERRITORY, CODEPAGE, REGION etc. ?

Sathyaram

Quote:
Originally Posted by przytula
can the bind command and datetime option not help ?
check the formats supported by bind usa-eur-iso....
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On