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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to insert a text file or a picture in a cloumn

Status
Not open for further replies.

SL23

Programmer
Nov 3, 2005
12
I have a table in teradata and want to insert a text file in one of the column.
How could I do this in teradata? Any help please.
 
What have you tried so far?
Why isn't it just a VARCHAR attribute?
 
I think, SL23 is asking something like BLOB datatype in Oracle. In Oracle, you can store Excel or Text file (or any type file) in a column that is defined as BLOB.

I am also curious to know whether Teradata has a datatype similar to BLOB in Oracle. Thanks.
 
I HAVE REPLICATED A CLOB VALUES FROM ORACLE TO TERADATA TABLE. IS ANY ONE KNOW HOW TO RETRIVE THE DATA IN TERADATA.
AND THE TABLE IS LOOKS LIKE THIS:

CREATE SET TABLE DEV.t1 ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT
(
USR_ID DECIMAL(18,4) NOT NULL,
USR_HTML_DESCRIPTION CLOB(10240) CHARACTER SET LATIN)
UNIQUE PRIMARY INDEX PK_T2 ( USR_ID );

I DID A COUNT THERE ARE TWO RECORDS, BUT CANT SEE THE VALUES. WHEN I BROWSE, IT SAYS "LOBs ARE NOT ALLOWED TO BE SELECTED IN RECORD OR INDICATOR MODE. PLEASE ANY ONE HAVE ANY IDEA.

THANKS!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top