是否有 SQL 查询来获取特定资源的已配置或启用状态的用户帐户?
问问题
424 次
1 回答
0
SELECT usr.usr_login,usr.usr_key,obj.obj_name,obi.obi_key,oiu.oiu_create,
ost.ost_status,oiu.oiu_key,obj.obj_key FROM orc, usr, obj, oiu, ost, obi WHERE
orc.orc_key = oiu.orc_key AND oiu.usr_key = usr.usr_key AND oiu.ost_key = ost.ost_key AND oiu.obi_key = obi.obi_key AND obi.obj_key = obj.obj_key AND obj.obj_name='<Resource Object Name>' AND (ost.ost_status='Provisioned' OR ost.ost_status='Enabled') AND usr.usr_login='<Enter Userlogin>';
于 2017-03-27T02:51:30.397 回答