LZ说的跨用户是指在A用户下要使用B用户的表吗,如果是的话:先在B用户赋权给A,grant select,insert, delete,update on table1 to A; 在A用户中就可以这样用了 select * from b.table1; 或者在A用户中建同义词 create synonym table1 for b.table1; 在A用户中就可以直接用了select * from table1;
或者在A用户中建同义词 SQL codecreate synonym table1 for b.table1;
在A用户中就可以这样用了 select * from b.table1;
或者在A用户中建同义词 create synonym table1 for b.table1;
在A用户中就可以直接用了select * from table1;