Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle stored procedure #57

Closed
zzsun777 opened this issue Mar 23, 2015 · 5 comments
Closed

Oracle stored procedure #57

zzsun777 opened this issue Mar 23, 2015 · 5 comments

Comments

@zzsun777
Copy link

Excuse me, How to obtain the output parameters of the Oracle stored procedure?

@mattn
Copy link
Owner

mattn commented Mar 23, 2015

go's database/sql driver can't provide way to output something into user app.

#55

So you need to insert into temporary table.

@zzsun777
Copy link
Author

Thank you very much your answer

@djadala
Copy link
Contributor

djadala commented Jun 12, 2017

cc @mattn
output parameter bindig is implemented at branch djadala,
https://github.com/djadala/go-oci8/tree/djadala
but it is based on old version of go-oci8.
Someone must port to last version.

Sorry for bad git history, you must inspect only last (may be 10) commits.
Itself output binding require go1.8+ , see file go18.go, and is based on simple concept of binding pointers, only integers, strings & bools are supported.

regards,
Djadala

@MichaelS11
Copy link
Contributor

Is this now good with adding of SQL out? Can this be closed?

@MichaelS11
Copy link
Contributor

@mattn Close this?

@mattn mattn closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants