Unix Technical Forum

Best idiom for looping over input?

This is a discussion on Best idiom for looping over input? within the Oracle Miscellaneous forums, part of the Oracle Database category; --> After moving a procedure into a package I discovered I can no longer use "call" to invoke the procedure. ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2008, 09:59 AM
mh@pixar.com
 
Posts: n/a
Default Best idiom for looping over input?

After moving a procedure into a package I discovered I can
no longer use "call" to invoke the procedure.

Can someone explain why this is?
Many TIA!


old code:

call p4_add(:typeid,:reposid,:depotFile,:rev,:tmstamp)

new code (broken):

call p4.add(:typeid,:reposid,:depotFile,:rev,:tmstamp)

ORA-01747: invalid user.table.column,table.column,
or column specification

new code (works):

begin p4asset.add(:typename,:repos,:depotFile,:rev); end


--
Mark Harrison
Pixar Animation Studios
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-29-2008, 09:59 AM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: Best idiom for looping over input?

On Aug 28, 1:58*pm, m...@pixar.com wrote:
> After *moving a procedure into a package I discovered I can
> no longer use "call" to invoke the procedure.
>
> Can someone explain why this is?
> Many TIA!
>
> old code:
>
> * * call p4_add(:typeid,:reposid,:depotFile,:rev,:tmstamp)
>
> new code (broken):
>
> * * call p4.add(:typeid,:reposid,:depotFile,:rev,:tmstamp)
>
> * * ORA-01747: invalid user.table.column,table.column,
> * * * * * * * *or column specification
>
> new code (works):
>
> * * begin p4asset.add(:typename,:repos,:depotFile,:rev); end
>
> --
> Mark Harrison
> Pixar Animation Studios


I believe:

call p4asset.add(:typename,:repos,:depotFile,:rev)
/

should work. I have no problems using call to execute procedures
inside of a package.


David Fitzjarrell
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Best idiom for looping over input?

Thread Thread Starter Forum Replies Last Post
Re: idiom for interactive client applications. Syan Tan pgsql Novice 0 04-17-2008 11:50 PM
idiom for interactive client applications. syan tan pgsql Novice 1 04-17-2008 11:50 PM
Re: idiom for interactive client applications. Syan Tan pgsql Novice 0 04-17-2008 11:50 PM
pgsql: Replace bitwise looping with bytewise looping in hemdistsign and Tom Lane pgsql Committers 0 04-10-2008 06:50 PM
pgsql: Replace bitwise looping with bytewise looping in hemdistsign and Tom Lane pgsql Committers 0 04-10-2008 06:50 PM


All times are GMT. The time now is 08:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com