If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Pls-00378

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-03, 09:33
pusht pusht is offline
Registered User
 
Join Date: Dec 2002
Location: London, UK
Posts: 14
Pls-00378

Hello PL/SQL gurus,

I am facing a seemingly simple problem compiling a function.

When I try to compile the folllowing code....

CREATE OR REPLACE FUNCTION WDF_UNITS_SHIPPED_FN ( p_trf_number IN PLS_INTEGER ) RETURN NUMBER ;

I am getting......

PLS-00378: invalid compilation unit for this release of PL/SQL

Any ideas?

Please help
Reply With Quote
  #2 (permalink)  
Old 01-08-03, 10:03
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Re: Pls-00378

Quote:
Originally posted by pusht
Hello PL/SQL gurus,

I am facing a seemingly simple problem compiling a function.

When I try to compile the folllowing code....

CREATE OR REPLACE FUNCTION WDF_UNITS_SHIPPED_FN ( p_trf_number IN PLS_INTEGER ) RETURN NUMBER ;

I am getting......

PLS-00378: invalid compilation unit for this release of PL/SQL

Any ideas?

Please help
Your function definition is incomplete - it is just a specification, there is no body. This is correct in a package specification, but not for a stand alone function.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On