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 Schemas ORA-00904 "COMMON" Error #248

Open
ParkJaeSeong opened this issue Jun 9, 2024 · 1 comment
Open

Oracle Schemas ORA-00904 "COMMON" Error #248

ParkJaeSeong opened this issue Jun 9, 2024 · 1 comment

Comments

@ParkJaeSeong
Copy link

Thanks for making such a good plugin.

The common column in Oracle's all_users was added in Oracle Database 12c Release 1 (12.1). In earlier versions of Oracle Database (11g and earlier), the common column does not exist in the all_users view. In my case, it does.

autoload/db_ui/schemas.vim 119 line
Modify it like below.

Delete line 126 \ AND U.common = 'NO'
Delete line 137 \ WHERE U.common = 'NO'
Modify line 150 \ 'schemes_query': printf(s:oracle_args, "SELECT /*csv*/ username FROM all_users ORDER BY username"),

Hope this helps someone.

@ParkJaeSeong
Copy link
Author

I'm not comfortable modifying the query every update, so I reopened it.

I'm using lazyvim. I would like the above changed QUERY to be reflected in the plugin.

Please tell me how to set it up.

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

1 participant