I have couple of questions:
1) How can I give permissions to all the tables in a database with one statement.
2) How do I alter a table(s) default value.
1. Write a query that retrieves all the table names.
2. Export that data list into a file.
3. Create a query that grants the authority you want
based on a variable tablename.
4. Edit the data list from #2 in such a way to call #3 query.
5. Import the data list into a proc.
6. Save the proc and execute it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.