Description Usage Arguments Examples
Collapses a well formatted SQL query such as you would get with
readLines()
reading a query created with, say, dbVis into
a single character string. Also any "to end of line" comments are
removed before doing the collapse.
1 | sql_collapse(query)
|
query |
string The multi-line SQL query with, perhaps, "–" comments. |
1 2 3 4 5 | ## Not run:
q <- readLines('./SQL/qVariablesInQueryExample1.sql')
sql_collapse(q)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.