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!

*[Oracle][ODBC][Ora]ORA-00922: missing or invalid option*

antobayNov 30 2016 — edited Dec 1 2016

I have added this line of code at the beginning of my SQL

alter session set "_fix_control"='17376322:OFF';

to fix error - ORA-01792 (Maximum number of columns in a table or view is 1000.

The problem is that I am not running this in SQL Plus nor SQL developer but via Excel through ODBC connection.

I get this error : *[Oracle][ODBC][Ora]ORA-00922: missing or invalid option*

Can someone please tell me how I can add this alter session command to supress the ORA-01792 when I run this via excel connection to the database.

Many thanks for your help.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2016
Added on Nov 30 2016
2 comments
1,708 views