dbTalk Databases Forums  

using "call" for packaged procedure?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss using "call" for packaged procedure? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mh@pixar.com
 
Posts: n/a

Default using "call" for packaged procedure? - 08-28-2008 , 02:00 PM






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


Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 01:35 AM






mh (AT) pixar (DOT) com wrote:
Quote:
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
Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe


Reply With Quote
  #3  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 01:35 AM



mh (AT) pixar (DOT) com wrote:
Quote:
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
Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe


Reply With Quote
  #4  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 01:35 AM



mh (AT) pixar (DOT) com wrote:
Quote:
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
Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe


Reply With Quote
  #5  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 01:35 AM



mh (AT) pixar (DOT) com wrote:
Quote:
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
Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe


Reply With Quote
  #6  
Old   
Mark D Powell
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 08:50 AM



On Aug 29, 2:35*am, Laurenz Albe <inv... (AT) spam (DOT) to.invalid> wrote:
Quote:
m... (AT) pixar (DOT) 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

Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe- Hide quoted text -

- Show quoted text -
Mark, it took me a couple of readings but it does appear that Laurenz
is pointing out that your spelled the package name different in your
example of what failed and what worked. Based on this the error
message was telling you the truth. Be there, done that. LOL.

It is time for the weekend!

HTH -- Mark D Powell --





Reply With Quote
  #7  
Old   
Mark D Powell
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 08:50 AM



On Aug 29, 2:35*am, Laurenz Albe <inv... (AT) spam (DOT) to.invalid> wrote:
Quote:
m... (AT) pixar (DOT) 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

Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe- Hide quoted text -

- Show quoted text -
Mark, it took me a couple of readings but it does appear that Laurenz
is pointing out that your spelled the package name different in your
example of what failed and what worked. Based on this the error
message was telling you the truth. Be there, done that. LOL.

It is time for the weekend!

HTH -- Mark D Powell --





Reply With Quote
  #8  
Old   
Mark D Powell
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 08:50 AM



On Aug 29, 2:35*am, Laurenz Albe <inv... (AT) spam (DOT) to.invalid> wrote:
Quote:
m... (AT) pixar (DOT) 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

Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe- Hide quoted text -

- Show quoted text -
Mark, it took me a couple of readings but it does appear that Laurenz
is pointing out that your spelled the package name different in your
example of what failed and what worked. Based on this the error
message was telling you the truth. Be there, done that. LOL.

It is time for the weekend!

HTH -- Mark D Powell --





Reply With Quote
  #9  
Old   
Mark D Powell
 
Posts: n/a

Default Re: using "call" for packaged procedure? - 08-29-2008 , 08:50 AM



On Aug 29, 2:35*am, Laurenz Albe <inv... (AT) spam (DOT) to.invalid> wrote:
Quote:
m... (AT) pixar (DOT) 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

Are there typos in your posting?

Because if not, then the solution would be obvious:

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

Yours,
Laurenz Albe- Hide quoted text -

- Show quoted text -
Mark, it took me a couple of readings but it does appear that Laurenz
is pointing out that your spelled the package name different in your
example of what failed and what worked. Based on this the error
message was telling you the truth. Be there, done that. LOL.

It is time for the weekend!

HTH -- Mark D Powell --





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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.