Nested NVL in a group by
Hi,
I have a group by function that has a nested nvl function that I would like to map to an OWB operator.
for eg:
GROUP BY NVL (X_ID, '-1'),
NVL (birth_date,TO_DATE('xxyyzzzz','MMDDYYYY')),
How would I translate this into my mapping ? Any help would be greatly appreciated
Thanks
You can use an aggregator operator, you should be able to do this with OWB 10.2.0.3 patch since there were enhancements made to the aggregation which allow freeform aggregation rules to be defined. Pre OWB 10.2.0.3, you'd have to put the NVLs in an expression before the aggregator operator.
Cheers
David
Similar Messages
-
Nested Tables & Repeating Sub-group Row
I'm using BIP re-grouping in conjunction with nested tables to avoid repeating some rows within my 'master' table.
However, I'd like to repeat this sub-group row when the particular detail associated with that group spans multiple pages.
Any advice on how I might accomplish this?
Thanks,
ChrisControlling the row of top level table to repeat in all pages, if the second table extends to next page,
i dont think , there is a link between the two tables,
you cannot identify on which page the row of the table exists, first or next.
keeping this in mind, controlling the row of the parent table :)... looks difficult.
But I see your point and requirement, but, i guess, the one which i sent earlier is a certainly a workaround.
Looking for best soln, will let you know if i get +Ve ;) -
Nesting of Rules for Auto Group (Role) Membership Rules in OIM 11gR2
Does anyone know how to nest rules for auto group (role) membership in OIM 11gR2. The General rules in Design Console are no longer used for auto group membership and the rules that can be configured in the Role properties cannot be nested as far as I can see.
Any info is appreciated.
Thanks!My mistake... this is possible in the web ui.
-
Explain rows returned in a plan for group by
I have a (select statement) that returns 18 rows.
wrap a nested select with a group by around it
select col_a, col_b from
(select statement)
group by col_a, col_b
still returns 18 rows as expected
explain it and I see the 18 rows returned at Id 2 and the hash group by and select showing 1 rows.
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 95 | | 90897 (75)| 00:00:02 | | |
| 1 | HASH GROUP BY | | 1 | 95 | | 90897 (75)| 00:00:02 | | |
| 2 | VIEW | | 18 | 1710 | | 90896 (75)| 00:00:02 | | | reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 2 | 190 | | 82657 (80)| 00:00:02 | | |
| 1 | HASH GROUP BY | | 2 | 190 | | 82657 (80)| 00:00:02 | | |
| 2 | VIEW | | 18 | 1710 | | 82656 (80)| 00:00:02 | | |
..In terms of the above plans what does "rows" mean for the hash group by.Purvesh K wrote:
961469 wrote:
reason Im asking is I rewrote the SQL in the inner statement for tuning purposes and I still get 18 rows as expected but now I have 2 rows returned to hash group by.And in fact, how many rows does your entire query return?
Does the output of two of your queries differ?
If they do not, then I do not see any issue.No, the output doesnt differ, and its not a problem for me, just something I wanted explained.
>
>
From the Cost and the Rows, posted in Explain plan, it looks like some different plan is being used.Yes, there is, I rewrote it, but only on the inner select statement but I don't have a question on that. If take the inner select statement from both I get the 18 rows correctly.
Were the statistics pertaining to the tables in use, collected between execution of two queries?no but that last select is only on the outer select, ie shouldnt be affected by the stats, anyway, The queries are run straight after each other.
I will suggest to read the {message:id=3292438} and post the relevant details.
Also, do not forget to mention the Table/Index details (actual and with statistics) and the Query.I can, buts its VERY lengthy as theres a lot of nested tables/views and for me not relevant as if I run the inner select on both queries the datasets match. I was hoping for a simpler answer like Ajays which was my understanding of it too but as the outer select and group by hasnt changed, I cant understand the difference in the rows.
thanks for your reply though.
>
How many columns you specified in group by function before & after query modification I thought this too and was my understanding but the group by clause hasnt changed, only the inner select.
Edited by: 961469 on Jan 3, 2013 7:42 AM -
I have a table like the example below. I am looking to get
the results like the example - I have included my code that I have
this far, but it is not giving me the right results.
Can someone point me in the right direction?
This is what I want it to do:
orders table
orderid | vendor | product | color | size
1 | sammoon | watch | silver | Large
2 | beckam | necklace | silver | Medium
3 | sammoon | watch | silver | large
4 | sammoon | watch | gold | Medium
5 | beckam | necklace | gold | medium
6 | switse | ring | gold | small
7 | sammoon | earring | silver | small
8 | switse | ring | gold | medium
9 | beckam | necklace | gold | small
10 | switse | necklace | platinum | large
Results for Report
Sammoon
watch
Large
1 - Silver
3 - Silver
Medium
4 - Gold
earrings
Small
7 - silver
Beckam
Necklace
Medium
2 - silver
5 - gold
Small
9 - gold
Switse
Ring
Medium
8 - gold
Small
6 - gold
Necklace
Large
10 - platinum
This is my current code (note: not exactly like example but
same principle):
<CFOUTPUT>
<CFQUERY name="q1" datasource="#DSN#" username="#USER#"
password="#PASS#">
SELECT avendor,orderid
FROM smorders s
WHERE orderstatus='released to production'
Group By avendor,orderid
Order By avendor
</CFQUERY>
<CFLOOP query="q1">
#q1.avendor#<BR>
<CFQUERY name="q2" datasource="#DSN#" username="#USER#"
password="#PASS#">
SELECT vasku,shortdesc
FROM smorders s
WHERE avendor='#q1.avendor#'
Group By vasku,shortdesc
Order By vasku
</CFQUERY>
<CFLOOP query="q2">
#vasku# -
#q2.shortdesc#<BR>
<CFQUERY name="q3" datasource="#DSN#" username="#USER#"
password="#PASS#">
SELECT color
FROM smorders
WHERE avendor='#q1.avendor#'
GROUP BY color
ORDER BY color
</CFQUERY>
<CFLOOP query="q3">
#q3.color#<BR>
<CFQUERY name="q4" datasource="#DSN#" username="#USER#"
password="#PASS#">
SELECT size,orderid
FROM smorders
WHERE avendor='#q1.avendor#' and orderid=#q1.orderid#
GROUP BY size,orderid
ORDER BY size
</CFQUERY>
<CFLOOP query="q4">
Order
##: #q4.orderid# - Size: #q4.size#<BR>
</CFLOOP>
</CFLOOP>
</CFLOOP>
</CFLOOP>
</CFOUTPUT>
Anyone? Thanks in advance.No need for all those nested queries. If I'm understanding
correctly, you only need 1 query and a series of nested cfoutput
statements. Use an ORDER BY clause to order the results the way you
want them grouped.
Sammoon (By Vendor)
watch (then by Product)
Large (then by Size)
1 - Silver (then by Color) (and finally by OrderId)
3 - Silver
Medium
4 - Gold
earrings
Small
7 - silver
So your SQL clause would be: ORDER BY Vendor, Product, Size,
Color then OrderId. Finally use nested cfoutput statements to group
the output. See the attached example
I noticed your table contains duplicated data. If that is the
actual table structure you should consider normalizing to eliminate
the duplication. You should have a separate table for the distinct
Products, Colors, Sizes and Vendors and the orders table should
store the id's not the names.
Table | Columns
Product | ProductID, ProductName
Vendor | VendorID, VendorName
Color | ColorID, ColorName
Size | SizeID, SizeName
SMOrders | OrderId, ProductID, VendorID, ColorID, SizeID -
How to get repitative group a user is member of
Hi,
i have a user in our domain who is member of number of groups. This means in MemberOF tab of the user there are larg number of groups. Now i want to remove some groups which are repitated.
Example -
1. In MemberOf Tab - properties tab -- of John, there are 3 DL/SG "Group_1" and "Group_2" and "Group_3".
2. Now "Group_3" is a member of "group_1". So i want to remove "Group_3" from the MemberOf Tab of John properties. This will reduce the MemberOf List.
3. how to do i find this repetative Groups using powershell ?
Please let me know if my query is not clear.
Thanks for your help.The following PowerShell script worked well in my test domain. I did not use the AD Module cmdlets, as they are generally slower when you deal with large resultsets (all groups and all users in the domain). This script simply outputs all cases where any
user is a member of both a group, and a nested member of the group. This will reveal the extent of issue, and whether you want to "correct" all such cases. In place of the statement that outputs the cases, you can add code to "correct"
it (remove membership in $Member, the child group, for the user).
# UserNestedGroups.ps1
# Script to find cases where users are members of both a group and a
# nested group member of the group.
# Hash table of groups and their direct group members.
$GroupMembers = @{}
# Search entire domain.
$Domain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
$Root =
$Domain.GetDirectoryEntry()
$Searcher = [System.DirectoryServices.DirectorySearcher]$Root
$Searcher.PageSize
= 200
$Searcher.SearchScope
= "subtree"
$Searcher.PropertiesToLoad.Add("distinguishedName") >
$Null
$Searcher.PropertiesToLoad.Add("member") >
$Null
# Filter on all group objects.
$Searcher.Filter =
"(objectCategory=group)"
$Results =
$Searcher.FindAll()
# Enumerate groups and populate Hash table. The key value will be
# the Distinguished Name of the group. The item value will be an array
# of the Distinguished Names of all members of the group that are groups.
# The item value starts out as an empty array, since we don't know yet
# which members are groups.
ForEach ($Group
In $Results)
$DN
= [string]$Group.properties.Item("distinguishedName")
$Script:GroupMembers.Add($DN, @())
# Enumerate the groups again to populate the item value arrays.
# Now we can check each member to see if it is a group.
ForEach ($Group
In $Results)
$DN
= [string]$Group.properties.Item("distinguishedName")
$Members
= @($Group.properties.Item("member"))
# Enumerate the members of the group.
ForEach ($Member
In $Members)
# Check if the member is a group.
If ($Script:GroupMembers.ContainsKey($Member))
# Add the Distinguished Name of this member to the item value array.
$Script:GroupMembers[$DN] +=
$Member
# Retrieve all user objects and their direct group memberships (except primary).
$Searcher2 = [System.DirectoryServices.DirectorySearcher]$Root
$Searcher2.PageSize
= 200
$Searcher2.SearchScope
= "subtree"
$Searcher2.PropertiesToLoad.Add("distinguishedName") >
$Null
$Searcher2.PropertiesToLoad.Add("memberOf") >
$Null
# Filter on all user objects.
$Searcher2.Filter =
"(&(objectCategory=person)(objectClass=user))"
$Results =
$Searcher2.FindAll()
# Enumerate users and their direct group memberships.
ForEach ($User
In $Results)
$DN
= [string]$User.properties.Item("distinguishedName")
$Groups
= @($User.properties.Item("memberOf"))
ForEach ($Group
In $Groups)
# Enumerate all group members of $Group.
ForEach ($Member
In $Script:GroupMembers[$Group])
# Check if user is also a member of $Member.
If ($Groups
-Contains $Member)
"User $DN is a member of:`n Parent: $Group`n Child: $Member"
Note, if you copy the script above you will need to correct the cases of word wrapping. I try to avoid using scroll bars, even for code.
Richard Mueller - MVP Directory Services -
User won't add to an AD security group
Hello,
I've been scouring around the last few days and I've come up empty handed with an issue I'm having on a personal domain and I'm hoping someone here can point me in the right direction.
I have a domain controller set up in a lab environment running Server 2012 RU with three computers and three users joined to the domain. I'm currently attempting to apply group policy via AD security groups but I've hit a dead
end. I've created the users and moved them to a nested OU, we'll call it SiteA>Users. I then created a global security group called Control Panel Restriction and placed it in a nested OU in SiteA>Groups, and joined one of the users to the
security group. I then created a group policy and configured it to restrict all access to the control panel and linked it to the SiteA OU. In security filtering I've removed the authenticated users group and added the Control Panel Restriction
group.
The first time the user is joined to a security group it seems to work fine. If I remove the user from the group and run gpupdate /force, the user can once again access the control panel. From that point going forward,
however, it's as if the user is never added to a security group again. I can add the user directly to the security filtering section of the GPO and it works, but it's like security group membership will not update anymore for that user.
Troubleshooting: I've verified the permissions of the security group for the GPO and made sure it has read and apply group policy access, I've created a test user and placed it in the Control Panel Restriction security group
and policy applied successfully (once), so I know the group works. I ran a gpresult /r for the user and found the group policy IS being applied, but it's being denied through security filtering. In the group membership section of the gpresult report
it indicates the user is only a member of the default security groups in AD, not the custom made security group, even though a quick inspection of AD proves otherwise.
Any advice?After you add, or remove, a user from a group, ensure that the changes have replicated/propagated across the DC's (waiting for your replication cycle time is usually enough), then, ensure that the user logs off, and then log the user on again.
The logoff/logon cycle is typically important, since the user's security token is constructed at logon, and the token is constructed based on group memberships at the time of logon.
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Best way to add new objects to a Group?
I have been trying to figure out how to keep things organized in the timeline. Which is very important when you get very complicated. If I pick a group and then an obj and hit the group tool, it makes a new group instead of just having it added to the original. The only work around I have found is to ungroup the first group and then everything is nested in the new group. That is a pain.......I would love to just select an object with my middle mouse, just drag it into a group in the timeline. Or is there an easier way?
DonI have been trying to figure out how to keep things organized in the timeline. Which is very important when you get very complicated. If I pick a group and then an obj and hit the group tool, it makes a new group instead of just having it added to the original. The only work around I have found is to ungroup the first group and then everything is nested in the new group. That is a pain.......I would love to just select an object with my middle mouse, just drag it into a group in the timeline. Or is there an easier way?
Don -
Group by questions and hopefully solution
I know you have to include all the columns that does not contain an aggregate function in a group by...however, I am currently in a situation where i am using several nested queries and the group by columns from the very first query is affecting my display output. I can't remove the column to fix it because i need that column to perform other checks. hence, Is there another way where it would be possible for me to still use a group by without including a specific column that does not contain an aggregate function in oracle
You might want to use "Analytical Functions" like
1* select ename,deptno,sum(sal) over(partition by deptno) from emp
SQL> /
ENAME DEPTNO SUM(SAL)OVER(PARTITIONBYDEPTNO)
CLARK 10 8750
MILLER 10 8750
KING 10 8750
JONES 20 10875
SMITH 20 10875
SCOTT 20 10875
FORD 20 10875
ADAMS 20 10875
WARD 30 9500
TURNER 30 9500
ALLEN 30 9500
ENAME DEPTNO SUM(SAL)OVER(PARTITIONBYDEPTNO)
JAMES 30 9500
999999 30 9500
MARTIN 30 9500
BLAKE 30 9500
15 rows selected.In this way you can include the columns that are not part of grouping. For more information please see
http://download.oracle.com/docs/cd/E11882_01/server.112/e10810/analysis.htm#DWHSG021 -
Is there a way to add an expression to a shape layer's individual groups?
See the screenshot below to see what I'm working with. I want to add a slight wiggle expression to each leaf to give it some life, as if there's a calm breeze. Is there a way to do this?
Tim Kurkoski wrote:
An expression that links the rotation property of the groups to a master group, or a null, is a good idea.
You can also nest all of the groups inside another group, and apply the transformation to this parent group.
Also remember that in addition to expressions, there is a Wiggle Transform property for shape layers. This would best be utilized for all of your groups if they are nested into a parent group, to which you would add the Wiggle Transform.
I want each group—aka leaf—to move independently, so applying the expression to the group didn't work right for me, as they all kind of move in unison -
Trouble on launch a select statement twice
Hello everyone,
this is my problem: when i launch this query the first time, it returns 2 records, if i launch it the second time it returns no records.
I tried to remove SUM(NVL) and the group by and the query functions normally.
select SUM (NVL (a.burdened_cost, 0)) AS amount ,c.track_as_labor_flag,a.start_date, a.end_date
FROM nome_vista a, nome_tabella b,nome_tabella c
WHERE a.project_id = ...
AND a.task_id = ...
AND a.budget_version_id = b.budget_version_id
AND NVL (b.current_flag, 'N') = 'Y'
AND b.budget_status_code = ...
AND b.budget_type_code = ...
AND c.track_as_labor_flag = ... --filtro costi interni
AND c.resource_id = a.resource_id
Group By c.track_as_labor_flag,a.start_date, a.end_dateThank You
Edited by: BluShadow on 27-Jul-2011 13:52
added {noformat}{noformat} tags for readability. Please see {message:id=9360002} to learn to do this yourself.SQL> set autotrace on;
SQL> SQL> select SUM (NVL (a.burdened_cost, 0)) AS amount
,c.track_as_labor_flag
,a.start_date
,a.end_date
2 FROM pa_budget_lines_v a,
3 pa_budget_versions b,
4 pa_resource_list_members c
5 WHERE a.project_id = 1879
6 AND a.task_id = 211004
7 AND a.budget_version_id = b.budget_version_id
8 AND NVL (b.current_flag, 'N') = 'Y'
9 AND b.budget_status_code = 'B'
10 AND b.budget_type_code = 'AC'
11 AND c.track_as_labor_flag = 'Y' --filtro costi interni
12 AND c.resource_id = a.resource_id
13 Group By c.track_as_labor_flag,a.start_date, a.end_date;
AMOUNT T START_DA END_DATE
2919,2 Y 10-07-01 10-12-31
945,36 Y 10-01-01 11-01-31
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 1 | 161 | 19 (11)|
| 1 | HASH GROUP BY | | 1 | 161 | 19 (11)|
|* 2 | HASH JOIN | | 1 | 161 | 18 (6)|
| 3 | NESTED LOOPS OUTER | | 1 | 154 | 11 (0)|
| 4 | NESTED LOOPS | | 1 | 118 | 10 (0)|
| 5 | NESTED LOOPS | | 1 | 91 | 8 (0)|
| 6 | NESTED LOOPS | | 1 | 79 | 7 (0)|
| 7 | NESTED LOOPS OUTER | | 1 | 67 | 6 (0)|
|* 8 | TABLE ACCESS BY INDEX ROWID| PA_RESOURCE_ASSIGNMENTS | 1 | 31 | 5 (0)|
|* 9 | INDEX RANGE SCAN | PA_RESOURCE_ASSIGNMENTS_N2 | 6 | | 1 (0)|
|* 10 | INDEX UNIQUE SCAN | FND_LOOKUP_VALUES_U1 | 1 | 36 | 1 (0)|
|* 11 | TABLE ACCESS BY INDEX ROWID | PA_BUDGET_VERSIONS | 1 | 12 | 1 (0)|
|* 12 | INDEX UNIQUE SCAN | PA_BUDGET_VERSIONS_U1 | 1 | | 0 (0)|
|* 13 | TABLE ACCESS BY INDEX ROWID | PA_RESOURCE_LIST_MEMBERS | 1 | 12 | 1 (0)|
|* 14 | INDEX UNIQUE SCAN | PA_RESOURCE_LIST_MEMBERS_U1 | 1 | | 0 (0)|
| 15 | TABLE ACCESS BY INDEX ROWID | PA_BUDGET_LINES | 1 | 27 | 2 (0)|
|* 16 | INDEX RANGE SCAN | PA_BUDGET_LINES_N2 | 1 | | 1 (0)|
|* 17 | INDEX UNIQUE SCAN | FND_LOOKUP_VALUES_U1 | 1 | 36 | 1 (0)|
|* 18 | TABLE ACCESS FULL | PA_RESOURCE_LIST_MEMBERS | 121 | 847 | 6 (0)|
Predicate Information (identified by operation id):
2 - access("C"."RESOURCE_ID"="M"."RESOURCE_ID")
8 - filter("A"."PROJECT_ID"=1879)
9 - access("A"."TASK_ID"=211004)
10 - access("LOOKUP_TYPE"(+)='UNIT' AND "VIEW_APPLICATION_ID"(+)=275 AND
"A"."UNIT_OF_MEASURE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(+)=
0 AND
"LANGUAGE"(+)=USERENV('LANG'))
11 - filter("B"."BUDGET_STATUS_CODE"='B' AND "B"."CURRENT_FLAG"='Y' AND
"B"."BUDGET_TYPE_CODE"='AC')
12 - access("A"."BUDGET_VERSION_ID"="B"."BUDGET_VERSION_ID")
13 - filter(NVL("M"."MIGRATION_CODE",'-99')<>'N')
14 - access("A"."RESOURCE_LIST_MEMBER_ID"="M"."RESOURCE_LIST_MEMBER_ID")
16 - access("I"."RESOURCE_ASSIGNMENT_ID"="A"."RESOURCE_ASSIGNMENT_ID")
17 - access("LOOKUP_TYPE"(+)='BUDGET CHANGE REASON' AND "VIEW_APPLICATION_ID"(
+)=275 AND
"I"."CHANGE_REASON_CODE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(
+)=0 AND
"LANGUAGE"(+)=USERENV('LANG'))
18 - filter("C"."TRACK_AS_LABOR_FLAG"='Y')
Note
--- 'PLAN_TABLE' is old version
Statistics
22 recursive calls
0 db block gets
145 consistent gets
21 physical reads
0 redo size
574 bytes sent via SQL*Net to client
337 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
2 rows processed
SQL> select SUM (NVL (a.burdened_cost, 0)) AS amount
,c.track_as_labor_flag
,a.start_date
,a.end_date
2 FROM pa_budget_lines_v a,
3 pa_budget_versions b,
4 pa_resource_list_members c
5 WHERE a.project_id = 1879
6 AND a.task_id = 211004
7 AND a.budget_version_id = b.budget_version_id
8 AND NVL (b.current_flag, 'N') = 'Y'
9 AND b.budget_status_code = 'B'
10 AND b.budget_type_code = 'AC'
11 AND c.track_as_labor_flag = 'Y' --filtro costi interni
12 AND c.resource_id = a.resource_id
13 Group By c.track_as_labor_flag,a.start_date, a.end_date;
no rows selected
Execution Plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 1 | 161 | 19 (11)|
| 1 | HASH GROUP BY | | 1 | 161 | 19 (11)|
|* 2 | HASH JOIN | | 1 | 161 | 18 (6)|
| 3 | NESTED LOOPS OUTER | | 1 | 154 | 11 (0)|
| 4 | NESTED LOOPS | | 1 | 118 | 10 (0)|
| 5 | NESTED LOOPS | | 1 | 91 | 8 (0)|
| 6 | NESTED LOOPS | | 1 | 79 | 7 (0)|
| 7 | NESTED LOOPS OUTER | | 1 | 67 | 6 (0)|
|* 8 | TABLE ACCESS BY INDEX ROWID| PA_RESOURCE_ASSIGNMENTS | 1 | 31 | 5 (0)|
|* 9 | INDEX RANGE SCAN | PA_RESOURCE_ASSIGNMENTS_N2 | 6 | | 1 (0)|
|* 10 | INDEX UNIQUE SCAN | FND_LOOKUP_VALUES_U1 | 1 | 36 | 1 (0)|
|* 11 | TABLE ACCESS BY INDEX ROWID | PA_BUDGET_VERSIONS | 1 | 12 | 1 (0)|
|* 12 | INDEX UNIQUE SCAN | PA_BUDGET_VERSIONS_U1 | 1 | | 0 (0)|
|* 13 | TABLE ACCESS BY INDEX ROWID | PA_RESOURCE_LIST_MEMBERS | 1 | 12 | 1 (0)|
|* 14 | INDEX UNIQUE SCAN | PA_RESOURCE_LIST_MEMBERS_U1 | 1 | | 0 (0)|
| 15 | TABLE ACCESS BY INDEX ROWID | PA_BUDGET_LINES | 1 | 27 | 2 (0)|
|* 16 | INDEX RANGE SCAN | PA_BUDGET_LINES_N2 | 1 | | 1 (0)|
|* 17 | INDEX UNIQUE SCAN | FND_LOOKUP_VALUES_U1 | 1 | 36 | 1 (0)|
|* 18 | TABLE ACCESS FULL | PA_RESOURCE_LIST_MEMBERS | 121 | 847 | 6 (0)|
Predicate Information (identified by operation id):
2 - access("C"."RESOURCE_ID"="M"."RESOURCE_ID")
8 - filter("A"."PROJECT_ID"=1879)
9 - access("A"."TASK_ID"=211004)
10 - access("LOOKUP_TYPE"(+)='UNIT' AND "VIEW_APPLICATION_ID"(+)=275 AND
"A"."UNIT_OF_MEASURE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(+)=
0 AND
"LANGUAGE"(+)=USERENV('LANG'))
11 - filter("B"."BUDGET_STATUS_CODE"='B' AND "B"."CURRENT_FLAG"='Y' AND
"B"."BUDGET_TYPE_CODE"='AC')
12 - access("A"."BUDGET_VERSION_ID"="B"."BUDGET_VERSION_ID")
13 - filter(NVL("M"."MIGRATION_CODE",'-99')<>'N')
14 - access("A"."RESOURCE_LIST_MEMBER_ID"="M"."RESOURCE_LIST_MEMBER_ID")
16 - access("I"."RESOURCE_ASSIGNMENT_ID"="A"."RESOURCE_ASSIGNMENT_ID")
17 - access("LOOKUP_TYPE"(+)='BUDGET CHANGE REASON' AND "VIEW_APPLICATION_ID"(
+)=275 AND
"I"."CHANGE_REASON_CODE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(
+)=0 AND
"LANGUAGE"(+)=USERENV('LANG'))
18 - filter("C"."TRACK_AS_LABOR_FLAG"='Y')
Note
- 'PLAN_TABLE' is old version
Statistics
22 recursive calls
2 db block gets
9 consistent gets
0 physical reads
0 redo size
416 bytes sent via SQL*Net to client
326 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
0 rows processedEdited by: -deb- on 28-lug-2011 2.44
Edited by: BluShadow on 28-Jul-2011 10:57
added {noformat}{noformat} tags again! This is the last time I'll do it for you. -
Can't figure out how to make my OSX Server / AD (magic triangle) work- Please help
Hi there,
I have set up a machine with Mac OS X 10.9.1 and Server.app 3.0.2. I think installation and configuration was made ok (I do have experience with Macs and I am part-time admin for the Active Directory in my organisation). I set up a magic triangle by binding my Mac server to an Active Directory domain. Now, I am not a specialist for this so I bought and used "OS X Mountain Lion Server For Dummies" by John Rizzo, which helped me. I did set up everything, even including AD users to OD groups on the Mac server.
Now, I'm biding a Mac client to my OD server, and trying to log in. Can't do that. Any username I type that is not a local client name does not work. I have tried to use 'username' as a login and also 'DOMAINNAME\username', none of which work. I also tried to create a local network user on my OD server, and even with that username I can't log in on the client.
I did check System preferences / Users and groups :
- There is a green light next to my OD server name
- I checked the "allow network users to log in" and checked that "All users" are ok for login.
Two things that don't seem normal but I can't understand :
- Kerberos seems off on the server (klist in terminal returns nothing and Ticket Viewer.app shows no ticket)
- If I try to specify network users that CAN log in (i.e. not "everyone") I see users in the editor window but can't add them to the list
I'm kinda lost here. Anyone wishing to help?No reason to be angry as it's in his book on page 112. You possibly did not understand its significance until you'd done it yourself?
In an AD-OD integrated environment (I prefer this to 'Magic Triangle' as there is no triangle as such) there are no users in OD. They're all in AD. You nest AD Users or Groups (best to use groups) into an OD Group and apply managed preferences that way. You could bypass group nesting if you wish and simply create OD Computer Groups instead. Manage the workstations directly. All users admin or not, local or otherwise would have have those preferences applied.
"Are preferences correctly inherited between AD and OD groups and users?"
In my experience they are.
"What if I want users in some AD Groups to be controlled users on the client and users in other AD groups to be admins on the client?"
You can do the first part of the question using the provided Server Tools, PM or WGM. To make users local admins you use a terminal command. You don't want to be doing this for student accounts. To make AD groups administrators access Directory Utility's Advanced Options section in the AD plug-in. Clicking on the Administrative tab should give you the option you may be looking for? Alternatively you could use the command line (man dsconfigad) as there are more settings available using it than there are in the GUI. -
How do I add the ruler tool to my tools bar?
I don't see the ruler tool (for tilt correction, etc.) on the left bar display. How do I add/display it in CS5?
And for all that expand to show the nested Tools, there will be a tiny black triangle in the upper-right corner of the Button in the Toolbar.
I think that most Tools now have nested Tools in the group, so about all will have the little triangle.
Good luck,
Hunt -
I've been having trouble setting up a replica so I figured I'd trying just connecting to the OD server as a client. I set up things in "Open Directory Access" and then
If I do a finger of myself I get the corrct response
Directory: /Network/Servers/Systemname.local/Users/pat
(said no such user before this)
But I still can't log into this system (or su to myself). If I try I get this in secure.log
com.apple.SecureServer: authinternal failed to authenticate user pat.
com.apple.SecureServer: Failed to authorize right system.login.tty by process /usr/sbin/ssh for authorization created by /usr/sbin/sshd
Anyone have any idea what my problem is?
Thanks.
Pat.No reason to be angry as it's in his book on page 112. You possibly did not understand its significance until you'd done it yourself?
In an AD-OD integrated environment (I prefer this to 'Magic Triangle' as there is no triangle as such) there are no users in OD. They're all in AD. You nest AD Users or Groups (best to use groups) into an OD Group and apply managed preferences that way. You could bypass group nesting if you wish and simply create OD Computer Groups instead. Manage the workstations directly. All users admin or not, local or otherwise would have have those preferences applied.
"Are preferences correctly inherited between AD and OD groups and users?"
In my experience they are.
"What if I want users in some AD Groups to be controlled users on the client and users in other AD groups to be admins on the client?"
You can do the first part of the question using the provided Server Tools, PM or WGM. To make users local admins you use a terminal command. You don't want to be doing this for student accounts. To make AD groups administrators access Directory Utility's Advanced Options section in the AD plug-in. Clicking on the Administrative tab should give you the option you may be looking for? Alternatively you could use the command line (man dsconfigad) as there are more settings available using it than there are in the GUI. -
Hi ,
Please let me know how to setup check printing in oracle appsR12 ..it is urgent please help us its very greatful to ...
Thanks,
User13100220.
Edited by: user13100220 on Oct 19, 2012 11:04 AMAs this question has nothing to do with XML, the best place to ask it is over in the {forum:id=75} forum.
Tips:
This is a forum of volunteers only. Oracle does not actively answer questions here. That is the role of My Oracle Support.
Urgent here gets you no where. Urgent is for My Oracle Support.
Learn about [url http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions030.htm#SQLRF00617]COALESCE instead of using nested NVL statements.
On the {forum:id=75} forum, read the "SQL and PL/SQL Frequenty Asked Questions (FAQ) ", specially [url https://forums.oracle.com/forums/thread.jspa?threadID=2174552#9360002]2. How do I ask a question on the forums?
Simplify your example. Get it down to the smallest set of tables/SQL that shows your problem.
Maybe you are looking for
-
Here's the issue-I have two iTunes accounts, yet account #1 always comes up when I want to update my apps. This occurs even when account #2 is logged in and has been synced from desktop to iPad. Additionally,Account #2 is logged in on the iPad and ye
-
Flash, Javascript and Internet Explorer
This is driving me nuts...!!!!!! It works in Firefox but not Internet Explorer. I've got a load of gifs on a page that I want to swap from a Flash movie using a loop. This is the Javascript I'm using: function blankAll(x){ document[x].src="images/spl
-
Error while deployment of CMP 2.0 bean on weblogic 11g
Hi, I am not able to deploy my CMP 2.0 bean on Weblogic 11g. There are two JVM available in weblogic 11g. 1) Java(TM) SE Runtime Environment (build 1.6.0_22-b04) 2) Oracle JRockit(R) (build R28.1.1-14-139783-1.6.0_22-20101206-0241-windows-ia32, compi
-
How To validate Excise Invoice Posting date(J1iin) equals to Billing Date
Hi Experts I have required to validate Excise invoice Posting Date(J1iin) should be equal to Biiling date . Can anyone suggest me which user exit i will use for it. Waiting 4 reply. Regards Prateek
-
How do i set a homepage in safari on ipad
I clicked on the left arrow at the top as suggested but all I got was instructions for firefox. I am using explorer