The information in this article applies to:
BUG #: 56806 (SQLBUG_70) SYMPTOMSIf a user or role has table level permissions and column level permissions on a particular table, the SQL Script generated using Enterprise Manager does not script both the permissions. Enterprise Manager only generates table level permissions. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. MORE INFORMATIONSteps to Reproduce BehaviorUse these steps to reproduce the behavior:
Case1Run the following code:
Generate the SQL script using SQL Enterprise Manager. This successfully shows everything including the Table Level Permissions.
Case2Next, run this code:
Generate the SQL script using SQL Enterprise Manager. This successfully shows everything including the Column Level PermissionsCase3Now, run this code:
Generate the SQL script using SQL Enterprise Manager. This will only show Table Level Permissions, No Column Level Permissions.The order of the execution of the GRANT statements (first table level then Column level or vice versa) does not matter. The generated SQL Script does not have the Column Level Permissions, but in actuality, can do all the things like UPDATE on the specific column the user is permitted to and perform all the activities that the user is permitted to at the table level. The actual permissions are intact, they just are not shown in the script that is generated. Additional query words: column permission script
Keywords : kbSQLServ700bug |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |