ARSperl Manual - ars_GetListSQL

## `ars_GetListSQL(ctrl, sqlCommand, maxRetriev=AR_NO_MAX_LIST_RETRIEVE)`

Execute the given sqlCommand on the database that the server is attached to. sqlCommand executes with privs associated with the ARAdmin database user.

See also: GetListSQL Hash Values.

On success
  Returns a HASH.
On failure
  Returns undef.

Example:

    	($a = ars_GetListSQL($ctrl, "select name, schemaid, nextid from arschema")) ||
    		die "$ars_errstr";

ars_GetListSQL was introduced in version 1.5 of ARSperl

Table of Contents