Description Usage Arguments Value
Checks the data returned from a SP for a r_status_code column - if it exists and the values is 'CERR' then throw an error Example: ... data <- sqlQuery(cn, sp, errors=TRUE) SPResultCheck(data, sp) ...
1 | SPResultCheck(data, sp)
|
data |
- dataframe returned from a sql call |
sp |
- sql text used in the call |
throws status_message if status is CERR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.