HomeForum
Welcome, Guest

Calling Oracle procedure
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Calling Oracle procedure

Calling Oracle procedure 1 year, 2 months ago #2010

  • rudolfsun
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
Hi

I am connected to an Oracle database via ODBC and I am trying to use the SQL scripts to call a pocedure with in a package

the code I am using is

execute schema_name.Package_name.procedure_name;

However the procedure does not fire. I have called the procedure from within Oracle and all works fine.

Any ideas on what could be wrong, or is this not possible

Thanks

Emile

Re: Calling Oracle procedure 1 year, 2 months ago #2012

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
if you run it from sql editor by pressing green arrow does it work?

I believe it should be

begin
procedurename;
end;

Read this as well
www.dbsoftlab.com/forum/how-to-get-help-today.html

Mike

Re: Calling Oracle procedure 1 year, 2 months ago #2013

  • rudolfsun
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
Hi

No it doesnt run when just clicking the green arrow, I created a batch file that solved the issue anyway

your link was very educational

thanks

Emile

Re: Calling Oracle procedure 1 year, 2 months ago #2015

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
We really would like to help you with this problem so other users will benefit

Can you have a look at the attached screen shot and post simular
Attachments:

Re: Calling Oracle procedure 1 year, 2 months ago #2016

  • rudolfsun
  • OFFLINE
  • Junior Boarder
  • Posts: 32
  • Karma: 0
I have ommited the package names as I dont want them to be visible to people

thanks


begin
schema.package.procedire;
end;

Following Error happened:
ORA-01861: literal does not match format string
ORA-06512: at "schema.package", line 414
ORA-06512: at "schema.package", line 160
ORA-06512: at line 2
  • Page:
  • 1
Time to create page: 0.18 seconds

Testimonials

"Because of our relationship with DBSL, We are able to provide more complete solutions for our customers. As one of our key technology partners, DBSL is always willing to go that extra mile: adding new functionality, assisting us with support issues ... and this has been an important part of our success."

Bill Dill,
Deployment Manager

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top