home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / oracle / 2226 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!sun-barr!olivea!inews.Intel.COM!mipos2!kortikar
  2. From: kortikar@mipos2.intel.com (Aniruddha Kortikar)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Long insert statement in PCC ireclen exceeded.
  5. Message-ID: <BxvLKB.4uC@inews.Intel.COM>
  6. Date: 17 Nov 92 19:45:46 GMT
  7. Sender: news@inews.Intel.COM (USENET News System)
  8. Organization: Intel Corporation, Santa Clara, CA USA
  9. Lines: 16
  10. Nntp-Posting-Host: mipos2
  11.  
  12. I have a long insert statement in PRO*C insert into table ( ....) values (...)
  13. ireclen is exceeded.
  14.  
  15. I tried 
  16. char stmt[1000];
  17. sprintf(stmt,"insert into ... values (:v1,:v2);");
  18. exec sql execute s using :val1,:val2 ....
  19. but even then the exec sql execute s using is about 300 chars long.
  20.  
  21. is there any way out other than using :a1,:a2 as variable names.
  22.  
  23. Aniruddha Kortikar (kortikar@mipos2.intel.com)
  24. -------------------------------------------------------------------------------
  25. E-mail     : kortikar@mipos2.intel.com | A billion here, a billion there ...
  26. Phone(W): 408 765 5515              | pretty soon it adds upto real money.
  27. -------------------------------------------------------------------------------
  28.