We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Team
Want to know how to add these alter session set current_schema = user set define off
during the connection initialization similar to onInit in godror. So that entire connection usage these will be inherited.
Pls let us know this is possible.
The text was updated successfully, but these errors were encountered:
Update: _, err := conn.Query("set define off") if err !=nil { fmt.Println("error in setdefine off") }
_, err := conn.Query(" select name from user where name = 'test & test'") if err != nil { fmt.Println("error in executing the query") }
while writing this code received error from Oracle like given below:
ORA-00922: missing or invalid option
Let me know if I am missing anything.
Thanks C.R.Bala
Sorry, something went wrong.
hi @crbsram SET DEFINE ON/OFF is an option of SQL Plus not oracle so your code
SET DEFINE ON/OFF
will work without SET DEFINE OFF
SET DEFINE OFF
No branches or pull requests
Hi Team
Want to know how to add these
alter session set current_schema = user
set define off
during the connection initialization similar to onInit in godror.
So that entire connection usage these will be inherited.
Pls let us know this is possible.
The text was updated successfully, but these errors were encountered: