ePages 6.10 - DE_EPAGES/Database/API/DBInterface.pm

Package DE_EPAGES::Database::API::DBInterface

@EXPORT_OK
ProcessSqlGo
ProcessSql

Functions

ProcessSql
ProcessSqlGo

ProcessSql

Executes SQL statement with the correct DBI interface.

Syntax
ProcessSql( $SQL )
Input
$SQL (string)
SQL text

ProcessSqlGo

Executes multiple SQL statements that are separated by "go" lines.

Syntax
ProcessSqlGo( $SQL, $hFlags )
ProcessSqlGo( $SQL, {'ignore_error' => 1 }  )
Input
$SQL (string)
SQL text
$hFlags (ref.hash)
processing flag can be set 'ignore_error' (optional)