splitSql splits a string containing multiple SQL statements into a vector of SQL statements
splitSql(sql)A vector of strings, one for each SQL statement
This function is needed because some DBMSs (like ORACLE) do not accepts multiple SQL statements being sent as one execution.
splitSql("SELECT * INTO a FROM b; USE x; DROP TABLE c;")
#> [1] "SELECT * INTO a FROM b" "USE x" "DROP TABLE c"