home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
WindowsServerTrial
/
server.iso
/
sources
/
install.wim
/
1
/
Windows
/
System32
/
azroles.dll
/
FILE
/
104
< prev
Wrap
Text File
|
2008-01-19
|
1KB
|
31 lines
IF not EXISTS (SELECT name FROM sysobjects
WHERE name = 'AzGenerateAudit' and type = 'X')
exec sp_addextendedproc 'AzGenerateAudit', 'AzSqlExt.dll'
GO
IF not EXISTS (SELECT name FROM sysobjects
WHERE name = 'xp_AzManAddUserToRole' and type = 'X')
exec sp_addextendedproc 'xp_AzManAddUserToRole', 'AzSqlExt.dll'
GO
IF not EXISTS (SELECT name FROM sysobjects
WHERE name = 'xp_AzManRemoveUserFromRole' and type = 'X')
exec sp_addextendedproc 'xp_AzManRemoveUserFromRole', 'AzSqlExt.dll'
GO
IF not EXISTS (SELECT name FROM sysobjects
WHERE name = 'xp_AzManDeleteRole' and type = 'X')
exec sp_addextendedproc 'xp_AzManDeleteRole', 'AzSqlExt.dll'
GO
IF not EXISTS (SELECT name FROM sysobjects
WHERE name = 'xp_AzManAddRole' and type = 'X')
exec sp_addextendedproc 'xp_AzManAddRole', 'AzSqlExt.dll'
GO
grant execute on AzGenerateAudit to public
grant execute on xp_AzManAddUserToRole to public
grant execute on xp_AzManRemoveUserFromRole to public
grant execute on xp_AzManDeleteRole to public
grant execute on xp_AzManAddRole to public