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

Is it possbile to add a username before tablename, e.g. foo.foobar #74

Open
UWesthaus opened this issue Feb 20, 2025 · 0 comments
Open

Comments

@UWesthaus
Copy link

Due to security issues I can only connect to the database using a restricted (viewer) account, which has only select rights on the tables, but no insert or update rights. To handle this the name of the account has to inserted before the table name within the sql:

  • select * from foo.foobar

instead of

  • select * from foobar

Is it possible to pass the account name as variable, e.g. like select * from :dbOwner.foobar? Or any other trick?

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