CREATE_DRIVER_MODULE_SIGNER¶
Applies to: MS SQL driver only
Added in Flex2SQL 18.1.
Installs the signed session-count procedure, certificate, certificate-based
login, and application-access role in the SQL Server instance’s master
database.
Syntax¶
CREATE_DRIVER_MODULE_SIGNER OF {ServerName}
Parameter |
Description |
|---|---|
ServerName |
String containing the server/connection name of an existing MS SQL connection, as used when logging in. |
The MS SQL driver must be loaded. The command does not log in to the server. Use the 18.1 include files and driver.
Setup Requirements¶
Run with an administrative SQL Server connection authorized to create the
objects and grants. After creation, the DBA must separately add each
application’s mapped user in master to
db_role_f2s_ms_DriverSessionInfo. The command does not add application
users automatically.
This operation can replace existing signer objects. Use it during setup or
repair, not on every application startup. Check Err after the call.
Example¶
This example assumes a connection named sqlserver has already been
established with the administrative setup login:
String sServer
Move "sqlserver" to sServer
CREATE_DRIVER_MODULE_SIGNER OF sServer
// Check Err before continuing.