The following is an example of the SQL preview for granting server wide
privileges. A user with permission to the master database grants the server wide
privilege Online Database to a database called
"myDatabase".
set quoted_identifier on
go
USE master
go
grant Online Database on myDatabase to mon_role
go
USE master
go
set quoted_identifier off
go