How to specify table names in the command line and use them inside a .sql script #123
-
I am trying to find a way to specify table names in the command line and use these names inside a Example Scenario:
In this example, Is there a way to achieve this functionality in Any help or insights would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You cannot specify environment variables directly as table names, but you can assemble a string and execute it.
cf. https://mithrandie.github.io/csvq/reference/built-in.html#execute |
Beta Was this translation helpful? Give feedback.
You cannot specify environment variables directly as table names, but you can assemble a string and execute it.
cf. https://mithrandie.github.io/csvq/reference/built-in.html#execute