1. 程式人生 > >在oracle中建立只讀某幾張表許可權的使用者

在oracle中建立只讀某幾張表許可權的使用者

  create user donghx
  identified by donghx
  default tablespace CMGIS
  temporary tablespace TEMP
  profile DEFAULT;
 
grant connect to donghx;
grant select on cmgis.g_cmptr_dist_sum to donghx;
grant select on cmgis.g_grid_demog_sum to donghx;
grant select on cmgis.g_grid_mjr_cmptr_sum to donghx;
grant select on cmgis.g_poi_dist_sum to donghx;
grant select on cmgis.g_site_dist_sum to donghx;
grant select on cmgis.g_prvnc_demog_sum to donghx;
grant select on cmgis.g_site_trd_ar_sum to donghx;