home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / oracle / 2260 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.0 KB  |  30 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!cs.utexas.edu!wupost!gumby!destroyer!ncar!csn!cherokee!da_vinci!windward!twood
  3. From: twood@windward.it.uswc.uswest.com (Tim Woodward)
  4. Subject: Re: Long insert statement in PCC ireclen exceeded.
  5. Message-ID: <By0u21.I5A@da_vinci.it.uswc.uswest.com>
  6. Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews)
  7. Nntp-Posting-Host: windward
  8. Organization: U S WEST Information Technologies
  9. References: <BxvLKB.4uC@inews.Intel.COM>
  10. Date: Fri, 20 Nov 1992 15:37:13 GMT
  11. Lines: 17
  12.  
  13. In article <BxvLKB.4uC@inews.Intel.COM> kortikar@mipos2.intel.com (Aniruddha Kortikar) writes:
  14. >I have a long insert statement in PRO*C insert into table ( ....) values (...)
  15. >ireclen is exceeded.
  16. >
  17. >I tried 
  18. >char stmt[1000];
  19. >sprintf(stmt,"insert into ... values (:v1,:v2);");
  20. >exec sql execute s using :val1,:val2 ....
  21. >but even then the exec sql execute s using is about 300 chars long.
  22. >
  23.  
  24.  Did you set IRECLEN=1000 (or whatever size is needed) on the
  25.  precompiler invocation line?
  26.  
  27.  Tim Woodward
  28.  U S WEST
  29.  
  30.