SQL 查询以获取用户帐户 OIU_Key
SQL Query to get the User account OIU_Key
是否有 SQL 查询来获取特定资源处于已配置或已启用状态的用户帐户?
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>';
是否有 SQL 查询来获取特定资源处于已配置或已启用状态的用户帐户?
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>';