Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / May 2006

Tip: Looking for answers? Try searching our database.

unable to insert data and time values into table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
narayana - 22 May 2006 21:29 GMT
hi gurus,
I am kid at DB2 .problem is I am unable to insert values of time and
date datatype fields into tables .default date datatype is taking
4bytes lenght so I am unable to insert date value into it .Is there any
way or else I have to do any modifications to my table. plz give some
hint.
Jack Miller - 22 May 2006 22:16 GMT
What query are you typing and which mechanism are you using to connect
to the database (ODBC, JDBC or other)

> hi gurus,
> I am kid at DB2 .problem is I am unable to insert values of time and
> date datatype fields into tables .default date datatype is taking
> 4bytes lenght so I am unable to insert date value into it .Is there any
> way or else I have to do any modifications to my table. plz give some
> hint.
narayana - 23 May 2006 13:52 GMT
I am using jdbc .db2 clp it working fine but where as from control
center I am unable to insert date and time values to that table.
rAinDeEr - 23 May 2006 15:16 GMT
hi ,

insert date as '2006-05-20'

rainDeeR
rAinDeEr - 23 May 2006 15:20 GMT
Hi,

I created a table with time and date and i was able to insert values.

Insert into tariq.test values('12.02.35','2006-05-20')
Hope this helps....

Regards,
RaiNdEeR
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.