Update cookies preferences
Promotic

sp_grantdbaccess - statement of language DB_MSSQL

Description:
Enable an access of the specified login account to the current database.
Syntax:

sp_grantdbaccess
  [@loginame =] 'login'
  [, [ @name_in_db =] 'name_in_db']

@loginame Login account to which the access to the current database will be enabled (SQL Server authentication or Windows NT authentication).
@name_in_db Allows to change the name under which the login account will be handled in this database (the default value is NULL; name of the login account will be used).
Example:
Enable an access to the account 'pm_reader' into the 'pm_data' database.
USE pm_data
EXEC sp_grantdbaccess 'pm_reader'
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.