home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1999 February
/
Dpcb0299.iso
/
Business
/
Superoff
/
Super
/
Sql
/
SOGRANT.MQL
< prev
next >
Wrap
Text File
|
1998-01-21
|
12KB
|
187 lines
if not exists (select * from sysusers where name = 'SOADMIN' and suid < 0) exec sp_addgroup 'SOADMIN'
if not exists (select * from sysusers where name = 'SOUSER' and suid < 0) exec sp_addgroup 'SOUSER'
GRANT SELECT ON SO.conceptualdatabase TO SOUSER
GRANT SELECT ON SO.conceptualtable TO SOUSER
GRANT SELECT ON SO.conceptualfield TO SOUSER
GRANT SELECT ON SO.physicalschema TO SOUSER
GRANT SELECT ON SO.physicaldatabase TO SOUSER
GRANT SELECT ON SO.physicaltable TO SOUSER
GRANT SELECT ON SO.physicalfield TO SOUSER
GRANT SELECT ON SO.dicindex TO SOUSER
GRANT SELECT ON SO.indexfield TO SOUSER
GRANT SELECT ON SO.relationship TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualdatabase TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualtable TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualfield TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicalschema TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicaldatabase TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicaltable TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicalfield TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.dicindex TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.indexfield TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.relationship TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualdatabase TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualtable TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.conceptualfield TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicalschema TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicaldatabase TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicaltable TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.physicalfield TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.dicindex TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.indexfield TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.relationship TO dbo
GRANT SELECT ON SO.company TO SOUSER
GRANT SELECT ON SO.ziptocity TO SOUSER
GRANT SELECT ON SO.application TO SOUSER
GRANT SELECT ON SO.listtext TO SOUSER
GRANT SELECT ON SO.redletterday TO SOUSER
GRANT SELECT ON SO.country TO SOUSER
GRANT SELECT ON SO.charactermap TO SOUSER
GRANT SELECT ON SO.autoevent TO SOUSER
GRANT SELECT ON SO.userdeftable TO SOUSER
GRANT SELECT ON SO.userdefcontrol TO SOUSER
GRANT SELECT ON SO.accessrights TO SOUSER
GRANT SELECT ON SO.area TO SOUSER
GRANT SELECT ON SO.areauserassignment TO SOUSER
GRANT SELECT ON SO.areauserinclusion TO SOUSER
GRANT SELECT ON SO.satellite TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.company TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.ziptocity TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.application TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.listtext TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.redletterday TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.country TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.charactermap TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.autoevent TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.userdeftable TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.userdefcontrol TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.accessrights TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.area TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.areauserassignment TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.areauserinclusion TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.satellite TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.company TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.ziptocity TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.application TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.listtext TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.redletterday TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.country TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.charactermap TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.autoevent TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.userdeftable TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.userdefcontrol TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.accessrights TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.area TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.areauserassignment TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.areauserinclusion TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.satellite TO dbo
GRANT SELECT, UPDATE ON SO.sequence TO SOUSER
GRANT SELECT, UPDATE ON SO.associate TO SOUSER
GRANT SELECT, UPDATE ON SO.template TO SOUSER
GRANT SELECT, UPDATE ON SO.preference TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.sequence TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.associate TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.template TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.preference TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.sequence TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.associate TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.template TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.preference TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contact TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.person TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.address TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.phone TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.appointment TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.document TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mail TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.project TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.projectmember TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.sale TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.budget TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contactinterest TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.personinterest TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.text TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selection TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selectionmember TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mailappointment TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.activeuser TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact1 TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact2 TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveltransactionlog TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgeneratedtransaction TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveller TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelcurrent TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgenerateddatabase TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.recordlink TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelidmapping TO SOUSER
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contact TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.person TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.address TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.phone TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.appointment TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.document TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mail TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.project TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.projectmember TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.sale TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.budget TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contactinterest TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.personinterest TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.text TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selection TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selectionmember TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mailappointment TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.activeuser TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact1 TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact2 TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveltransactionlog TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgeneratedtransaction TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveller TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelcurrent TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgenerateddatabase TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.recordlink TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.travelidmapping TO SOADMIN
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contact TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.person TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.address TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.phone TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.appointment TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.document TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mail TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.project TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.projectmember TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.sale TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.budget TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.contactinterest TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.personinterest TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.text TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selection TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.selectionmember TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.mailappointment TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.activeuser TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact1 TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.udcontact2 TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveltransactionlog TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgeneratedtransaction TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.traveller TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelcurrent TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.travelgenerateddatabase TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE ON SO.recordlink TO dbo
GRANT SELECT, UPDATE, INSERT, DELETE, REFERENCES ON SO.travelidmapping TO dbo