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!

Right Truncation of String Data

Status
Not open for further replies.

witchblade

Programmer
Aug 1, 2001
50
US
Hello.
I have coded timestamp fields in a Teradata Database through a querying application so that I can prompt on them.

My code looks like this for the timestamp fields:
(cast(EODS_PRODDB_V.communication_item.LOAD_TMS as timestamp(0)))
Everything was working fine.

Today, I was given a new model to duplicate this procedure.
However, I got the following error on some of the new timestamp fields:
[NCR][Teradata RDBMS]Right truncation of string data.

I know it has something to do with not enough room in that field in the database.

Do you think this is a database issue, or do I need to tweak my code for those fields giving me the error?

[ponder]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top