R/split_sql_query_svspp.R
split_sql_query_svspp.Rd
If a query has > 1000 items it will fail. For all cases where a query has > maxItems
the call will be split. This occurrs when NESPP4 codes used in an a sql call.
split_sql_query_svspp(channel, NESPP4s, maxItems = 900)
an Object inherited from DBIConnection-class. This object is used to connect
to communicate with the database engine. (see connect_to_database
)
Numerical Vector. NESPP4 codes used in an sql query
Numeric scalar. Maximum number of items in a single sql query
List
the sql statements
Resulting table from concatenating the sql calls