Project

General

Profile

Previous Up Next

SqlSetAttr
Makes it possible to position an attribute in order to configure a given connection

SqlDB SqlSetAttr (
SqlDB _db_
I _attribute_
)
Parameters

_db_
any SqlDB
_attribute_
currently, two attributes can be used :
Value Meaning
AUTOCOMMIT_ON (default setting); an implicit COMMIT is carried out each time the SqlRequest function is called
AUTOCOMMIT_OFF deactivates the "autocommit" mode; an explicit COMMIT is necessary in order to validate the modifications made to the database by the SqlRequest function
Return value

same SqlDB