Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 26th, 2005, 01:16 PM
prettyegg prettyegg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 2 prettyegg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 31 m 48 sec
Reputation Power: 0
Problem with Ora-06512 at string line string

What is this Error means? i have create all the function and procedures but i counlt work. It show this error messge when i executes a procedures.
i have my procedures like this..
CREATE OR REPLACE procedure getPostcode (v_postcode IN OUT NUMBER,
v_suburb IN VARCHAR2)


IS
BEGIN

SELECT dbp_postcodes.postcode
INTO v_postcode
FROM dbp_postcodes INNER JOIN Helens_data
ON dbp_postcodes.Locality = Helens_data.Suburb
WHERE dbp_postcodes.State = 'NSW'
AND suburb = v_suburb;


END getpostcode;
Then, i called out
/* Start finding the postcode and insert*/

IF (check_suburb(r1.suburb) = TRUE) THEN
IF ( v_valid = TRUE ) THEN

error show this line --> getpostcode(v_postcode, r1.suburb, null);
insert_data(r1.id, r1.fname, r1.surname, r1.company, v_stnumber, v_stname, r1.suburb, v_postcode, v_comments);

I doing a assignment on the address databse. So, table of Helens_data
dont have a postcode, so i need to find from the helensdata.suburb with the dbp_postcodes.locality.
to find the relevant postcode.
Why this Error show to me?

Reply With Quote
  #2  
Old April 26th, 2005, 07:13 PM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,308 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 5 h 20 m 49 sec
Reputation Power: 48
You have a syntax error - you are calling the procedure with 3 arguments - you declare it as taking 2 arguments.

Reply With Quote
  #3  
Old April 30th, 2005, 09:32 AM
prettyegg prettyegg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 2 prettyegg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 31 m 48 sec
Reputation Power: 0
Quote:
Originally Posted by jim mcnamara
You have a syntax error - you are calling the procedure with 3 arguments - you declare it as taking 2 arguments.


thanks.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Problem with Ora-06512 at string line string


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT