Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Table name as parameter in sqlc command #3396

Unanswered
DhruvDMerchant asked this question in Q&A
Discussion options

I want to pass table name as parameter in the below sql query -
eg - UPDATE ?
SET id = 5
where id = 4

Is it possible to generate this file, given my SQL queries are in .sql files and not passed through a query string where I can format the table name through a parametrised string.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /