|
|
Choosing A Webhost: |
Re: Trouble executing storedprocs in SQuirreL: msg#00009db.squirrel-sql.users
I've never had any luck running anonymous PL/SQL blocks outside Oracle's tools (though I would love info on getting it to work, if it can be done). For your example, you could try this instead: select DELETE_BY_LOAN('123435') from dual; Rob On Jun 18, 2007, at 1:22 PM, Karr, David wrote: > I'm having trouble executing a storedproc in SQuirreL (2.5). If the > name of the storedproc is "DELETE_BY_LOAN" and it takes a single > string > parameter, what exactly should I type in the SQL window? > > I would guess it would be: > > begin DELETE_BY_LOAN('123435'); end; > > And then I press Ctrl-enter. When I do this, it says: > > ------------ > Error: java.sql.SQLException: ORA-06550: line 1, column 44: > PLS-00103: Encountered the symbol "end-of-file" when expecting one of > the following: > > := . ( % ; > , SQL State: 65000, Error Code: 6550 > Error occured in: > begin DELETE_BY_LOAN('123435') > ------------ > > I tried the similar test in SQLDeveloper, and it works fine. > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Squirrel-sql-users mailing list > Squirrel-sql-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Trouble executing storedprocs in SQuirreL, Karr, David |
|---|---|
| Next by Date: | Command completion stopped working, Andrew Zahra |
| Previous by Thread: | Trouble executing storedprocs in SQuirreL, Karr, David |
| Next by Thread: | Re: Trouble executing storedprocs in SQuirreL, Maury Hammel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |