Operations on tables of other users in procedure

Source: Internet
Author: User
Operations on tables of other users in procedure are not allowed to add, delete, modify, and query tables of other users directly. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure. SQL code grantselectanytable, in

Operations on tables of other users in procedure are not allowed to add, delete, modify, and query tables of other users directly. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure. SQL code grant select any table, in

Operations on tables of other users in procedure

In procedure, you cannot directly add, delete, modify, and query tables of other users. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure.

SQL code

Grant select any table,

Insert any table,

Update any table,

Delete any table,

Select any sequence

To user1, user2, user3;

In procedure, you can run the following statements:

Insert into user2.table2 (col1, col2, col3)

Select col1, col2, col3

From user1.table1;

Revoke select any table,

Insert any table,

Update any table,

Delete any table,

Select any sequence

From user1, user2, user3;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.