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

Last changes to this page 21st July 1997 by jcmurphy@arsperl.org
© J.C.Murphy, J.W.Murphy 1997 arsperl@arsperl.org