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

LONG VARCHAR in DB2

Status
Not open for further replies.

dataforums

Programmer
May 3, 2005
25
US
Can anyone plz tell me what is worng in the following statement? I am trying to declare a LONG varable to hold a very large string.

DECLARE str LONG VARCHAR(8000);

THX:)
 
you probably don't need to mention the size for LONG VARCHAR.
try:
DECLARE str LONG VARCHAR;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top