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 > Informix > Maximum Size of statement in dbaccess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-05, 17:49
Samir_Scores Samir_Scores is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
Maximum Size of statement in dbaccess

Hi,
I am trying to run an unload statement which is about 10000 lines long. I get an error which states that "Statement length too long"
Any workarounds?
This is on a HP-UX box
Thanks in anticipation
Reply With Quote
  #2 (permalink)  
Old 02-17-05, 12:43
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
can you do the same think via the script and pipe the statments into dbaccess?

Can you provide the examples of a few lines?
Reply With Quote
  #3 (permalink)  
Old 02-18-05, 14:40
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Hi,

Probably I am not understanding it correctly, but do you really mean 1 statement. Or a lot of statements. I believe the maximum statementsize is limited to 64 KB. So if it is really one statement is looks really to big.

Of the record: I can not really imagine what type of query I need to write to fill it up with 100000 lines. Only possibility is to have a major IN clause. Of course this can be avoided to firts insert the values in a (temp) table.

Hope this helps,

Rob
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