Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Python

726038Nov 3 2009 — edited Nov 12 2009
I have a simple stored procedure as such:

create or replace procedure tdate as

v_out number;

begin

select date_to_ts(sysdate)
into v_out
from dual;

dbms_output.put_line(v_out);

end;
/

Which returns the following from within SQL Plus:
exec tdate;
1257275103

I want to know how to execute this stored procedure in a Python Script to return the
value it returns in SQL Plus.

Can anyone help with this.

Also do you know of any documentation with examples of how to do this?

Thanks in advance

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 10 2009
Added on Nov 3 2009
1 comment
4,149 views