mattn / go-oci8

Oracle driver for Go using database/sql
https://mattn.kaoriya.net/
MIT License
630 stars 212 forks source link

Can this driver support Stored Procedure? #397

Closed loraxh closed 4 years ago

loraxh commented 4 years ago

I tried several times, une excute method to execute a stored procedure with in parameters can success, but when there's a out/inout parameters will error: data type Error translation

MichaelS11 commented 4 years ago

Yes, use sql.Out, like in the example below.

https://godoc.org/github.com/mattn/go-oci8#example-package--SqlFunction

MichaelS11 commented 4 years ago

@loraxh All good? If so, please close this issue.

loraxh commented 4 years ago

thank you!