If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > varchar limit in passing to db2 stored procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-24-03, 16:51
ramki431 ramki431 is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
varchar limit in passing to db2 stored procedure

I am passing varchar array from my client to DB2 Stored procedure.
Like to know whats the maximum size I can pass using varchar to db2 stored procedure.

Currently I am using Varchar(500) in array(table format) format for passing data from client to db2 storedprocedure. Like to know the maximum value so that I can determine whether I can change this to reflect my future need.

Thanks
Ramki.
Reply With Quote
  #2 (permalink)  
Old 11-25-03, 10:44
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Ramki,
As far as I can tell, it is the maximum size of a VARCHAR.

HTH

Andy
Reply With Quote
  #3 (permalink)  
Old 10-01-04, 15:40
db2user_ db2user_ is offline
Registered User
 
Join Date: Oct 2004
Posts: 3
if you're talking about the INPARM, a field size max is 254 chars.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On