Created
September 7, 2012 16:46
-
-
Save shaik2many/3667687 to your computer and use it in GitHub Desktop.
todo-oracle-opti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select t.*, a.*, b.* from tcom_user t, | |
(SELECT DISTINCT 'TRUE' is_proj_lib FROM vcom_security_useraction WHERE sso_id = 9005 AND action_group = 'PROJ_LIB') a, | |
(SELECT DISTINCT 'TRUE' is_proj_edit FROM vcom_security_useraction WHERE sso_id = 9005 AND action_group = 'PROJ_EDIT') b | |
where sso_id = 9005 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment