home *** CD-ROM | disk | FTP | other *** search
- 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
- From: kortikar@mipos2.intel.com (Aniruddha Kortikar)
- Newsgroups: comp.databases.oracle
- Subject: Long insert statement in PCC ireclen exceeded.
- Message-ID: <BxvLKB.4uC@inews.Intel.COM>
- Date: 17 Nov 92 19:45:46 GMT
- Sender: news@inews.Intel.COM (USENET News System)
- Organization: Intel Corporation, Santa Clara, CA USA
- Lines: 16
- Nntp-Posting-Host: mipos2
-
- I have a long insert statement in PRO*C insert into table ( ....) values (...)
- ireclen is exceeded.
-
- I tried
- char stmt[1000];
- sprintf(stmt,"insert into ... values (:v1,:v2);");
- exec sql execute s using :val1,:val2 ....
- but even then the exec sql execute s using is about 300 chars long.
-
- is there any way out other than using :a1,:a2 as variable names.
-
- Aniruddha Kortikar (kortikar@mipos2.intel.com)
- -------------------------------------------------------------------------------
- E-mail : kortikar@mipos2.intel.com | A billion here, a billion there ...
- Phone(W): 408 765 5515 | pretty soon it adds upto real money.
- -------------------------------------------------------------------------------
-