Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

timestamp question

Status
Not open for further replies.

jliang

MIS
Apr 26, 2004
30
US
Hi,

I have table1, which has a col1 with timestamp(1) data type, and I create another table, tbl2 with a col has same data type timestamp(1). I try to insert data from table1 to tbl2, but I got error message 5407. the insert statement like:

insert into tbl2
select col1 as col
from table1;

Many thanks in advance

Jing
 
Do a "Show Table" for both tables and check if the column is really a Timestamp.
If the table was created in QueryMan the datatype is sometimes modified by ODBC.
To solve that problem you'll probably havt to check "allow use of odbc sql extensions in queries" in options -> query.

Dieter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top