dynamiczip:faq:grant_sql_table_rights_faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dynamiczip:faq:grant_sql_table_rights_faq [2017/02/24 21:31] – chuck | dynamiczip:faq:grant_sql_table_rights_faq [2017/09/14 18:36] – conni | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How do I grant SQL table rights? ====== | ====== How do I grant SQL table rights? ====== | ||
- | After creating or converting SQL tables and/or stored procedures, rights must be granted to make these tables and/or procedures available to the SQL users. Microsoft Dynamics GP (Great Plains) | + | After creating or converting SQL tables and/or stored procedures, rights must be granted to make these tables and/or procedures available to the SQL users. Microsoft Dynamics GP creates and uses a Microsoft SQL Server group **DYNGRP** to manage table rights. Depending on your setup, all Microsoft Dynamics GP users will automatically be made a member of this group. DynamicZip automatically grants the **DYNGRP** full rights to DynamicZip tables when they are created. However, on occasion the rights fail to be granted. In these cases, the simplest solution is to run the Grant.sql procedure. |
===== Running Grant.sql ===== | ===== Running Grant.sql ===== | ||
Line 8: | Line 8: | ||
- Open the SQL Query Analyzer. The icon should be included in the Microsoft SQL Server Group. Start >> Programs >> Microsoft SQL Server >> Query Analyzer. | - Open the SQL Query Analyzer. The icon should be included in the Microsoft SQL Server Group. Start >> Programs >> Microsoft SQL Server >> Query Analyzer. | ||
- | - Choose File >> Open to open the file named Grant.sql. This file can be found in the UTIL folder | + | - Choose File >> Open to open the file named Grant.sql. This file can be found in the SQL\UTIL folder |
- Select the Dynamics database from the database (DB) list. | - Select the Dynamics database from the database (DB) list. | ||
- Click Execute Query to run the script for the selected database. A message in the lower part of the window will let you know it was completed successfully. | - Click Execute Query to run the script for the selected database. A message in the lower part of the window will let you know it was completed successfully. | ||
Line 15: | Line 15: | ||
- //Repeat steps 5 and 6 for all company databases. // | - //Repeat steps 5 and 6 for all company databases. // | ||
- | Granting permissions to SQL Tables must be completed either by sa or a user with SQL Administrative rights. This procedure will only grant rights to existing tables and stored procedures. You must create the tables before running this procedure. If you drop and recreate the tables, or if you recreate stored procedures, you will need to run this procedure again. | + | Granting permissions to SQL Tables must be completed either by sa or a user with SQL Administrative rights. This procedure will only grant rights to existing tables and stored procedures. You must create the tables before running this procedure. If you drop and recreate the tables, or if you recreate stored procedures, you may need to run this procedure again. |
---- | ---- | ||
- | [[dynamiczip: | + | [[dynamiczip: |
- | + | [[dynamiczip: | |
- | \\ | + | |
dynamiczip/faq/grant_sql_table_rights_faq.txt · Last modified: 2018/10/03 21:00 by conni