Two installations, two drives, two different results.
I have a cheap and cheerful IOMEGA external drive, firewire connection, which had a full up to date Leopard OS from which I run Disk Warrior and TechTool. I like to keep them at a distance.
As a precaution I ran the Snow Leopard upgrade on this and it did its business without a hitch.
I proceeded to upgrade my main HD, full housekeeping done, again all went smoothly, but I found that *Address Book* came over empty and the Mail application was extremely buggy , requiring Force Quit to exit each time. Time Machine/Time Capsule to the rescue, all 9 hours of it.
A rainy day prompted me to try again, same result, same recovery method.
I checked out my external drive to find Mail and Address Book working quite nicely, thank you, but its not where I want to be, and Mail is my most used application.
I would hope that this would give a clue to where the problem lies, obviously, the Snow Leopard upgrade disk is not the culprit.
Any advice would be most welcome, pitched to the level of an ex-Windows, relative newbie Mac owner. I thought I had left this sort of thing behind!
Thank you
I've been to your web-site, idyllic , don't know why you bother sticking your head in front of a computer screen.
Thanks! I'm basically lazy, and photography requires some actual effort, while computers require just sitting on your butt... Seriously, though, I do tend to spend my time on many different pursuits.
I have the original disks that came with the computer (10.5).
What say you if I did an "Archive and Install" , preserving users and network settings, hopefully, then updating the resultant OS up to the present and then using the Snow Leopard Upgrade disk.
That would be worth a try, assuming you're doing an Archive & Install over a restored copy of your old Leopard system. You wouldn't be able to install Leopard over Snow Leopard without an Erase & Install (I think). This would replace some components of your system, and might fix whatever problems are causing your issues.
About 20 months have gone by since then, perhaps the Combo updater would cover it?
If you're going to install 10.5, then immediately install Snow Leopard on top of that, I don't know that I would bother with updating 10.5 to 10.5.8 first. You should get the same result either way, but the update would take a lot of time.
As I write this I'm beginning to feel that there may be hundreds of reasons of not doing this, but feel free to throw cold water on it.
Well, it might not work and you might still have to do a clean install... but it's worth a try if you've got the time to try it.
Similar Messages
-
How to Create a new column from two different result sets
How to Create a new column from two different result sets, both the result set uses the different date dimensions.
i got solutions for this is apply filters in column formula it self, based on the requirement.
-
Execute the same query twice, get two different results
I have a query that returns two different results:
Oracle Version : 10.2.0.1.0
I am running the following query on the Oracle server in SQL*Plus Worksheet.
SELECT COUNT(*)
FROM AEJOURNAL_S1
WHERE CHAR_TIME BETWEEN TO_DATE('12-AUG-10 01:17:39 PM','DD-MON-YY HH:MI:SS AM') AND
TO_DATE('13-AUG-10 14:17:34','DD-MON-YY HH24:MI:SS')
AND DESC2 LIKE '%'
AND DESC1 LIKE '%'
AND DESC2 LIKE '%'
AND ETYPE LIKE '%'
AND MODULE LIKE '%'
AND LEVELL = '11-WARNING'
ORDER BY ORDD DESC;
The very first time the query is run, it will return a count of 259. The next time the query is run, lets say, 10 seconds later, it will return a count of 260. The above query is exemplary of the kind of thing I'm trying to do. It seems like the more fields filtered against '%', the more random the count return becomes. Sometime you have to execute the query three or four times before it levels out to a consistent number.
I'm using '%' as the default for various fields, because this was the easiest thing to do to support a data-driven Web interface. Maybe I have to 'dynamically' build the entire where clause, instead of just parameterizing the elements and having default '%'. Anyway, to eliminate the web interface for the purpose of troubleshooting the above query was run directly on the Oracle server.
This query runs against a view. The view does a transpose of data from a table.
Below is the view AEJOURNAL_S1
SELECT
CHAR_TIME,
CHAR_INST,
BATCH_ID,
MIN(DECODE(CHAR_ID,6543,CHAR_VALUE)) AS ORDD,
MIN(DECODE(CHAR_ID,6528,CHAR_VALUE)) AS AREAA,
MIN(DECODE(CHAR_ID,6529,CHAR_VALUE)) AS ATT,
COALESCE(MIN(DECODE(CHAR_ID,6534,CHAR_VALUE)),'N/A') AS CATAGORY,
MIN(DECODE(CHAR_ID,6535,CHAR_VALUE)) AS DESC1,
MIN(DECODE(CHAR_ID,6536,CHAR_VALUE)) AS DESC2,
MIN(DECODE(CHAR_ID,6537,CHAR_VALUE)) AS ETYPE,
MIN(DECODE(CHAR_ID,6538,CHAR_VALUE)) AS LEVELL,
MIN(DECODE(CHAR_ID,6539,CHAR_VALUE)) AS MODULE,
MIN(DECODE(CHAR_ID,6540,CHAR_VALUE)) AS MODULE_DESCRIPTION,
MIN(DECODE(CHAR_ID,6541,CHAR_VALUE)) AS NODE,
MIN(DECODE(CHAR_ID,6542,CHAR_VALUE)) AS STATE,
MIN(DECODE(CHAR_ID,6533,CHAR_VALUE)) AS UNIT
FROM CHAR_BATCH_DATA
WHERE subbatch_id = 1774
GROUP BY CHAR_TIME, CHAR_INST, BATCH_ID
So... why does the query omit rows on the first execution? Is this some sort of optimizer issue. Do I need to rebuild indexes? I looked at the indexes, they are all valid.
Thanks for looking,
Danuser2188367 wrote:
I have a query that returns two different results:
Oracle Version : 10.2.0.1.0
I am running the following query on the Oracle server in SQL*Plus Worksheet.
SELECT COUNT(*)
FROM AEJOURNAL_S1
WHERE CHAR_TIME BETWEEN TO_DATE('12-AUG-10 01:17:39 PM','DD-MON-YY HH:MI:SS AM') AND
TO_DATE('13-AUG-10 14:17:34','DD-MON-YY HH24:MI:SS')
AND DESC2 LIKE '%'
AND DESC1 LIKE '%'
AND DESC2 LIKE '%'
AND ETYPE LIKE '%'
AND MODULE LIKE '%'
AND LEVELL = '11-WARNING'
ORDER BY ORDD DESC;
The very first time the query is run, it will return a count of 259. The next time the query is run, lets say, 10 seconds later, it will return a count of 260. The above query is exemplary of the kind of thing I'm trying to do. It seems like the more fields filtered against '%', the more random the count return becomes. Sometime you have to execute the query three or four times before it levels out to a consistent number.
I'm using '%' as the default for various fields, because this was the easiest thing to do to support a data-driven Web interface. Maybe I have to 'dynamically' build the entire where clause, instead of just parameterizing the elements and having default '%'. Anyway, to eliminate the web interface for the purpose of troubleshooting the above query was run directly on the Oracle server.
This query runs against a view. The view does a transpose of data from a table.
Below is the view AEJOURNAL_S1
SELECT
CHAR_TIME,
CHAR_INST,
BATCH_ID,
MIN(DECODE(CHAR_ID,6543,CHAR_VALUE)) AS ORDD,
MIN(DECODE(CHAR_ID,6528,CHAR_VALUE)) AS AREAA,
MIN(DECODE(CHAR_ID,6529,CHAR_VALUE)) AS ATT,
COALESCE(MIN(DECODE(CHAR_ID,6534,CHAR_VALUE)),'N/A') AS CATAGORY,
MIN(DECODE(CHAR_ID,6535,CHAR_VALUE)) AS DESC1,
MIN(DECODE(CHAR_ID,6536,CHAR_VALUE)) AS DESC2,
MIN(DECODE(CHAR_ID,6537,CHAR_VALUE)) AS ETYPE,
MIN(DECODE(CHAR_ID,6538,CHAR_VALUE)) AS LEVELL,
MIN(DECODE(CHAR_ID,6539,CHAR_VALUE)) AS MODULE,
MIN(DECODE(CHAR_ID,6540,CHAR_VALUE)) AS MODULE_DESCRIPTION,
MIN(DECODE(CHAR_ID,6541,CHAR_VALUE)) AS NODE,
MIN(DECODE(CHAR_ID,6542,CHAR_VALUE)) AS STATE,
MIN(DECODE(CHAR_ID,6533,CHAR_VALUE)) AS UNIT
FROM CHAR_BATCH_DATA
WHERE subbatch_id = 1774
GROUP BY CHAR_TIME, CHAR_INST, BATCH_ID
So... why does the query omit rows on the first execution? Is this some sort of optimizer issue. Do I need to rebuild indexes? I looked at the indexes, they are all valid.
Thanks for looking,
DanIn fact you the first time you ran the query the data has been retrived from disk to memory , in the second time the data is already in memory so the respnse time should be faster ,but if you chagne any condition or column or letter case the optimizer will do the first step (data will be retrived from disk to memory ) -
Why do I get two different results from the same coefficients?
I am getting two different results from the Polynomial Evaluation function.
For the first one, I am getting the coefficients from a Polynomial Fit function. I feed the coefficients from the Fit function into the Poly Eval function and get the correct result of 12.8582 when I evaluate 49940.
For the second one, I create constant array of the SAME values that were returned from the Polynomial Fit function (i typed them in). However, I am getting an incorrect result of -120.7913 when I feed the constant array into the Poly Eval function when I evauate 49940.
How can this happen when I am using the same array values?
Attached is an image of what I am explaining.
Solved!
Go to Solution.
Attachments:
polynomial_evaluation.jpg 213 KBHi Altran,
are you sure about using the "same" coefficients?
Did you compare them? Did you (atleast) set the display properties to 17 significant digits?
Please attach a VI instead of a picture...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Same calculation producing two differing results
Hi All
I have some code in a user exit on save of a delivery (VL02N) that calculates the number of bags/pallets required to furnish that delivery.
I am now adding the same code to a user exit on save a sales order (VA02) to calculate the number of bags/pallets again but when run it is producing differing results.
the code is as follows:
DATA: bag_weight(12) TYPE p DECIMALS 4.
DATA: pallet_weight TYPE marm-umrez.
DATA: bag_denominator TYPE i.
bag_weight = pallet_weight / bag_denominator.
Assuming pallet_weight = 1000 and bag_denominator = 40.
On save of a delivery it is calculating bag_weight as 25.0000 (correct):
On save of a sales order it is calculating bag_weight as 0.0025 (incoorect).
All data declaration, code etc is the same. Does anybody have any clue as to why it would give two differing answers, I would not like to have to add a additional multiplication step to correct the result otherwise.
Thanks in advance
DavidHi,
Whenever you are using the Packed numbers, you need to check or set the program attribute fixed point arithmetic only as only this ensure that the decimal point is calculated correctly.
Have a look at the help.sap.com documentation link:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm
Hope this helps.
Thanks,
Samantak. -
Same sql statement two different results?
Hi,
I was wondering if anyone knows why I am getting different
results on the same query.
Basically... when I run this query in "view" in sql server, I
get the results I need, however when I run in Coldfusion, I am
getting totally different results.... It is a totally different
result...
the query:
SELECT DISTINCT
tbl_employees.indexid, tbl_employees.[Employee ID] as
employeeid, tbl_employees.[First Name] as firstname,
tbl_employees.[Last Name] as lastname,
tbl_employees.[Supervisor ID] as supervisorid,
tbl_workaddress_userdata.firstname,
tbl_workaddress_userdata.lastname,
tbl_workaddress_userdata.supervisorid,
tbl_workaddress_userdata.location,
tbl_workaddress_userdata.employeeid,
tbl_workaddress_userdata.locationdescription
FROM tbl_employees FULL OUTER JOIN
tbl_workaddress_userdata ON tbl_employees.[Employee ID] =
tbl_workaddress_userdata.employeeid
WHERE (tbl_employees.[Supervisor ID] = 7) AND
(tbl_workaddress_userdata.location IS NULL)I suspect you and your CF DSN are looking at two different
DBs...
Adam -
CR 4 Ent, Xcelsius and WebI - one query and two different results
Dear Sirs,
I'm using BO 4.0 platform and 3 tools: Crystal Reports for Enterprise, WebI and Dashboard Design (Xcelsius).
I have one question, because in my opinion in this solution is one inconsistency.
I have one table in SQL Server (like below):
IDRec (autoinc) | Col1 (varchar) | Col2 (int)
1 A 1
2 A 1
3 B 2
4 B 2
I have one universe with ONLY 3 dimensions (IDRec, Col1, Col2). I haven't any measures.
And:
1. Using CR 4 Ent and I create report using 3 dimensions (IDRec, Col1, Col2).
I make sure, that I selected option: "Retrieve duplicate rows"
If I have 3 columns in details I have 4 records (4 rows) in my report, when I have 2 columns (Col1 Col2) I have only 2 records (2 rows) in report (Page view).
So universe (or something like this) use option DISTICT (I think).
2. When I use WebI (14.0.2) I have the same situation.
3. When I use Dashboard Desigm (Xcelsius 2011) I have 4 rows !!! ALWAYS - it doesn't matter I selected "Retrieve duplicate rows" or not !!!
When I look to "View script" window, I not see DISTINCT clause.
Am I doing something wrong?
I can change the settings so as to be able to see duplicate records?
It's very important for some calculation, especially in Crystal Reports (for Enterprise).Hi,
Thanks for the response...But the result is deviating from the expected..
expected is
if we have first query returns second query returns
1 4
2 5
3 6
these two queries result should be in one table , with first query result in first column and second query result in second column.
The two queries fetching data from same table(category table as in my post) with different search criteria( in where clause).......Regards,
Rakesh. -
Two different results using one query
Hi Friends
Oracle version that I am using is : Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
I have a scenario where one account can be related to two customers. Hence, in table have many rows for one account. Here’s the sample data:
Account_ID | product_code | cust_id | relationship_code | entity_code
1111 | ABC | 1234 | SOL | CUST
1111 | ABC | 2222 | ZZZ | LINK
1111 | ABC | 4455 | ABC | LINK
2222 | ABC | 7890 | SOL | CUST
2222 | ABC | 5678 | ZZZ | LINK
3333 | JFK | 5878 | TST | CUST
3333 | JFK | 3254 | PRI | CUST
3333 | JFK | 3299 | PRI | CUST
4444 | JFK | 2535 | SOL | CUST
4444 | JFK | 4565 | SOL | CUST
5555 | DEF | 6666 | PRI | CUST
5555 | DEF | 6667 | TST | CUST
5555 | DEF | 9667 | TST | CUSTIn this scenario, I need two outputs differently:
Output 1: When an account has relationship_code = ‘SOL’ then take the least cust_id
1111 | ABC | 1234 | SOL | CUST
2222 | ABC | 5678 | ZZZ | LINK
4444 | JFK | 2535 | SOL | CUST Output 2: else take the highest cust_id
3333 | JFK | 5878 | TST | CUST
5555 | DEF | 9667 | TST | CUSTHow can I get this result using one query?Not sure what you mean. Works OK:
SQL> with t as (
2 select 1111 account_ID,'ABC' product_code,1234 cust_id,'SOL' relationship_code,'CUST' entity_code from dual union all
3 select 1111,'ABC',2222,'ZZZ','LINK' from dual union all
4 select 1111,'ABC',4455,'ABC','LINK' from dual union all
5 select 2222,'ABC',7890,'SOL','CUST' from dual union all
6 select 2222,'ABC',5678,'ZZZ','LINK' from dual union all
7 select 3333,'JFK',5878,'TST','CUST' from dual union all
8 select 3333,'JFK',3254,'PRI','CUST' from dual union all
9 select 3333,'JFK',3299,'PRI','CUST' from dual union all
10 select 4444,'JFK',2535,'SOL','CUST' from dual union all
11 select 4444,'JFK',4565,'SOL','CUST' from dual union all
12 select 5555,'DEF',6666,'PRI','CUST' from dual union all
13 select 5555,'DEF',6667,'TST','CUST' from dual union all
14 select 5555,'DEF',9667,'TST','CUST' from dual union all
15 select 6666,'XYZ',8877,'SOL','CUST' from dual
16 )
17 select account_ID,
18 product_code,
19 cust_id,
20 relationship_code,
21 entity_code
22 from (
23 select account_ID,
24 product_code,
25 cust_id,
26 relationship_code,
27 entity_code,
28 case max(case relationship_code when 'SOL' then 1 else 0 end) over(partition by account_ID)
29 when 1 then dense_rank() over(partition by account_ID order by cust_id)
30 else dense_rank() over(partition by account_ID order by cust_id desc)
31 end rnk
32 from t
33 )
34 where rnk = 1
35 /
ACCOUNT_ID PRO CUST_ID REL ENTI
1111 ABC 1234 SOL CUST
2222 ABC 5678 ZZZ LINK
3333 JFK 5878 TST CUST
4444 JFK 2535 SOL CUST
5555 DEF 9667 TST CUST
6666 XYZ 8877 SOL CUST
6 rows selected.
SQL> SY. -
I'm simulating a simple RLC band pass filter and looking at the output in grapher.
In the AC analysis setup screen, if I define the output as Vout/Vin and set up the vertical scale as decibel - the resulting graph is correct.
On the other hand, if I define the output as dB(Vout) - dB(Vin), or dB(Vout/Vin), or dB(mag(Vin))- dB(mag(Vout) using the add expression command and set up the vertical scale as linear -- the output is inverted (instead of a band pass filter -- the output looks like a notch filter and the magnitudes are wrong).
The second technique "used to" work - but truthfully I can't remember if this was in Multisim or in PSpice.
So, what am I doing wrong?Hello,
When you set the vertical scale to linear in the AC Analysis window, only the magnitude of the output variable is evaluated to be drawn on the top graph whilewhether it is positive or negative is evaluated in the bottom graph, the phase graph (-1 = 180 phase shift).
When you choose a logarithmic scale, the 20*log of this magnitude is evaluated and it can be positive or negative according to whether this magnitude is greater or less than 1. By setting the vertical scale to linear and your output to an expression your basically drawing the magnitude of your expression (any of the three you mentioned below) on your top graph which will always be a poisitve value.
Also, in your graph when you enter any of these expressions notice that the phase information has been ommitted (bottom graph) and has been replaced by a constant 180 which represents the negative sign of the magnitude.
Hope this explains the results you were getting.
Mahmoud W
National Instruments -
Merging two Queires result into one.
I have to get two different result on the same table.First Result will be get first then added by Second result
SELECT distinct cust.custid,cust.firstnm,cust.nextactiondt,cust.priorityscr,cust.lastacssts FROM Customer cust, Custqueue custqueue
WHERE cust.custid=custqueue.custid AND custqueue.qcd = 'A'
AND trunc(cust.nextactiondt)>=trunc(current_date) AND trunc(cust.lastacssts)<trunc(current_date)
ORDER BY cust.nextactiondt,cust.priorityscr desc
Custid Name Nextactiondt priorityscr lastacssts
*65 A 16-JUN-11 11.52 14-MAR-11*
*84 B 16-JUN-11 1.38 14-MAR-11*
*93 C 17-JUN-11 0 18-APR-11*
SELECT distinct cust.custid,cust.firstnm,cust.nextactiondt,cust.priorityscr,cust.lastacssts FROM Customer cust, Custqueue custqueue
WHERE cust.custid=custqueue.custid AND custqueue.qcd = 'A'
AND trunc(cust.nextactiondt)>=trunc(current_date) AND trunc(cust.lastacssts)=trunc(current_date)
ORDER BY cust.lastacssts,cust.nextactiondt,cust.priorityscr desc
Custid Name Nextactiondt priorityscr lastacssts
*59 S 16-JUN-11 1212 16-JUN-11*
I want to club the result of the two query into 1 as follows.
Custid Name Nextactiondt priorityscr lastacssts
*65 A 16-JUN-11 11.52 14-MAR-11*
*84 B 16-JUN-11 1.38 14-MAR-11*
*93 C 17-JUN-11 0 18-APR-11*
*59 S 16-JUN-11 1212 16-JUN-11*
but when i am using UNION
SELECT distinct cust.custid,cust.firstnm,cust.nextactiondt,cust.priorityscr,cust.lastacssts FROM Customer cust, Custqueue custqueue
WHERE cust.custid=custqueue.custid AND custqueue.qcd = 'A'
AND trunc(cust.nextactiondt)>=trunc(current_date) AND trunc(cust.lastacssts)<trunc(current_date)
UNION
SELECT distinct cust.custid,cust.firstnm,cust.nextactiondt,cust.priorityscr,cust.lastacssts FROM Customer cust, Custqueue custqueue
WHERE cust.custid=custqueue.custid AND custqueue.qcd = 'A'
AND trunc(cust.nextactiondt)>=trunc(current_date) AND trunc(cust.lastacssts)=trunc(current_date)
ORDER by 3,4 desc,5
I am getting
Custid Name Nextactiondt priorityscr lastacssts
*59 S 16-JUN-11 1212 16-JUN-11*
*65 A 16-JUN-11 11.52 14-MAR-11*
*84 B 16-JUN-11 1.38 14-MAR-11*
*93 C 17-JUN-11 0 18-APR-11*
but that is different from what i expect
Custid Name Nextactiondt priorityscr lastacssts
*65 A 16-JUN-11 11.52 14-MAR-11*
*84 B 16-JUN-11 1.38 14-MAR-11*
*93 C 17-JUN-11 0 18-APR-11*
*59 S 16-JUN-11 1212 16-JUN-11*
so any one know how can i append the results of two queries into one since i have order by clause in both queries and i can club them together.
Any help regarding this would be appreciatedLook at the following example:
SQL> select * from emp
2 where deptno=10
3 order by job;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7934 MILLER CLERK 7782 23-JAN-82 1300 10
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT 17-NOV-81 5000 10
SQL> select * from emp
2 where deptno=20
3 order by ename;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7566 JONES MANAGER 7839 02-APR-81 2975 20
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7369 SMITH CLERK 7902 17-DEC-80 800 20
SQL> with q1 as (
2 select * from emp
3 where deptno=10
4 order by job),
5 q2 as (
6 select * from emp
7 where deptno=20
8 order by ename
9 )
10 select * from q1
11 union all
12 select * from q2;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7934 MILLER CLERK 7782 23-JAN-82 1300 10
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT 17-NOV-81 5000 10
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7566 JONES MANAGER 7839 02-APR-81 2975 20
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7369 SMITH CLERK 7902 17-DEC-80 800 20
8 rows selected.Max -
Filter expression producing different results after upgrade to 11.1.1.7
Hello,
We recently did an upgrade and noticed that on a number of reports where we're using the FILTER expression that the numbers are very inflated. Where we are not using the FILTER expression the numbers are as expected. In the example below we ran the 'Bookings' report in 10g and came up with one number and ran the same report in 11g (11.1.1.7.0) after the upgrade and got two different results. The data source is the same database for each envrionment. Also, in running the physical SQL generated by the 10g and 11g version of the report we get different the inflated numbers from the 11g SQL. Any ideas on what might be happening or causing the issue?
10g report: 2016-Q3......Bookings..........72,017
11g report: 2016-Q3......Bookings..........239,659
This is the simple FILTER expression that is being used in the column formula on the report itself for this particular scenario which produces different results in 10g and 11g.
FILTER("Fact - Opportunities"."Won Opportunity Amount" USING ("Opportunity Attributes"."Business Type" = 'New Business'))
-------------- Physical SQL created by 10g report -------- results as expected --------------------------------------------
WITH
SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33231.USD_LINE_AMOUNT else 0 end ) as c1,
T28761.QUARTER_YEAR_NAME as c2,
T28761.QUARTER_RANK as c3
from
XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK)
select distinct SAWITH0.c2 as c1,
'Bookings10g' as c2,
SAWITH0.c1 as c3,
SAWITH0.c3 as c5,
SAWITH0.c1 as c7
from
SAWITH0
order by c1, c5
-------------- Physical SQL created by the same report as above but in 11g (11.1.1.7.0) -------- results much higher --------------------------------------------
WITH
SAWITH0 AS (select sum(case when T33142.OPPORTUNITY_STATUS = 'Won-closed' then T33142.TOTAL_OPPORTUNITY_AMOUNT_USD else 0 end ) as c1,
T28761.QUARTER_YEAR_NAME as c2,
T28761.QUARTER_RANK as c3
from
XXFI.XXFI_GL_FISCAL_MONTHS_V T28761 /* Dim_Periods */ ,
XXFI.XXFI_OSM_OPPTY_HEADER_ACCUM T33142 /* Fact_Opportunity_Headers(CloseDate) */ ,
XXFI.XXFI_OSM_OPPTY_LINE_ACCUM T33231 /* Fact_Opportunity_Lines(CloseDate) */
where ( T28761.PERIOD_NAME = T33142.CLOSE_PERIOD_NAME and T28761.QUARTER_YEAR_NAME = '2012-Q3' and T33142.LEAD_ID = T33231.LEAD_ID and T33231.LINES_BUSINESS_TYPE = 'New Business' and T33142.OPPORTUNITY_STATUS <> 'Duplicate' )
group by T28761.QUARTER_YEAR_NAME, T28761.QUARTER_RANK),
SAWITH1 AS (select distinct 0 as c1,
D1.c2 as c2,
'Bookings2' as c3,
D1.c3 as c4,
D1.c1 as c5
from
SAWITH0 D1),
SAWITH2 AS (select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3,
D1.c4 as c4,
D1.c5 as c5,
sum(D1.c5) as c6
from
SAWITH1 D1
group by D1.c1, D1.c2, D1.c3, D1.c4, D1.c5)
select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3, D1.c4 as c4, D1.c5 as c5, D1.c6 as c6 from ( select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3,
D1.c4 as c4,
D1.c5 as c5,
sum(D1.c6) over () as c6
from
SAWITH2 D1
order by c1, c4, c3 ) D1 where rownum <= 2000001
Thank you,
Mike
Edited by: Mike Jelen on Jun 7, 2013 2:05 PMThank you for the info. They are definitely different values since ones on the header and the other is on the lines. As the "Won Opportunity" logical column is mapped to multiple LTS it appears the OBI 11 uses a different alogorthim to determine the most efficient table to use in the query generation vs 10g. I'll need to spend some time researching the impact to adding a 'sort' to the LTS. I'm hoping that there's a way to get OBI to use similar logic relative to 10g in how it generated the table priority.
Thx again,
Mike -
RH_STRUC_GET get different result
All experts,
As i use this FM to get OM structure, the evalation path it 'MSSDIREC'. it can ge resutl, but , i use two logon ID to check this, it gets different result, how to do this?My parameters is like this:
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
ACT_OTYPE = 'O'
ACT_OBJID = it_org-sobid "50006642
ACT_WEGID = 'MSSDIREC' "evalation path
ACT_PLVAR = '01'
ACT_BEGDA = lv_date1 "wa_begda M1 "21.10.2009
ACT_ENDDA = lv_date1 "wa_endda "21.10.2009
TABLES
RESULT_TAB = lt_d_result_tab
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2.
I use two Logon ID to test this FM, but it get two different result.
i want to know why there is different result in different ID,
Edited by: Kevin Leung on Oct 21, 2009 9:40 AM -
Same circuit twice with different results
I've been having some trouble having Multisim match a circuit I have modeled in MATLAB. During the troubleshooting process I put voltage probes on each wire used. The circuit portion in question involves an AC Voltage source connected to a resistor which is then connected to an inductor. I made a copy of the circuit and started from scratch. One of the circuits gives a voltage drop across the resistor, while the other one doesn't drop any voltage at all. I've checked all of the connections and they are all good. The only difference I can see is that one has the pins labeled 1 - 2 while the other is 2 - 1. Does anyone know what the problem is here? I shouldn't not be getting two different results for the same circuit.
Hi Jmerc,
Maybe you can post the circuits so that we can compare.
Tien P.
National Instruments -
HT4207 Archiving gmail e-mails on MacBook Pro vs iPhone: Same action, different results
The core issue:
The same action yields different results.
The details:
First, I'm on my laptop looking at an e-mail sent to my gmail account and want to archive it so I hit archive and it goes to the archive folder; Second, I'm on my iPhone looking at an e-mail sent to my gmail account and want to archive it so I hit archive and it goes to the "All Mail" folder in my gmail account. The second part doesn't make me happy because it doesn't make any sense. In other words the same action results in two different results.
Ideal solution:
Please tell me how to make the archive icon on my iPhone act like its righteous twin does on my MacBook Pro.
Thanks!Same question, but the reverse. I want Apple Mail on Mountain Lion to work like iOS with regard to archiving Gmail messages.
-
Hello, I'm new to this forum.
My goal here is to have two different Photoshop 11.0.2 installations on two different boot volumes of one and the same Power Mac (PPC) G5 Quad, one being a Tiger 10.4.11 system and the other one a Leopard 10.5.8 system, for the purpose of installing two different modalities of the same Epson Photo Stylus 2200 printer, one with the printer set to use the photo black ink cartridge for luster and glossy papers, and the other one using the matte blank ink.
This is because I prefer to simply change the startup disk when switching inks rather than having to delete and re-add the necessary printers. (This particular printer does not support ink cartridge switching under any version of Mac OS X.)
Photoshop is currently only used on this one machine. Obviously this intended scheme fits well within the EULA conditions.
My three questions are:
(a) whether there is any technical issue I have failed to consider,
(b) whether each copy of Photoshop on the same machine will have to be activated separately (in other words, is the activation tied to the CPU or to the boot volume drive?), and
(c) if the answer to the latter question is yes, whether this will count as one or two activations for purposes of later installing a single instance of the Photoshop 13.x ("CS6") upgrade on an Intel- MacBook, since obviously C6 will not run on my PPC Mac. Again in sum, will I be able to continue to run Photoshop 11.0.2 on two different volumes of the same PPC machine and the Photoshop 13.x upgrade on the laptop?
As further explanation, I would use Photoshop 13.x on the Mac-Intel laptop only in order to run ACR 7.x, but would keep my PPC G5 Quad as my photo editing and printing machine running Photoshop 11.0.2, since an upgrade of my desktop machine to a comparably powerful Mac Pro is simply not an option for both financial and technical reasons (the Classic environment is essential).
Any and all input and guidance will be appreciated.
Message was edited by: station_oneThank you for the lightning-fast response—and on a Sunday morning too!
MichaelKazlow wrote:
…Is it technically a violation, that is something I'd leave Adobe to answer.
From my previous visits to other forums as a lurker, I was under the firm impression you were in fact an Adobe employee, Mr. Kazlow. I hope that is still the case and you are only referencing your participation in these user-to-user forums as a volunteer, not as an official representative of the corporation.
Much obliged.
Maybe you are looking for
-
Item '(item name)' could not be moved message
I get the message "The item '(item name)' could not be moved because '(folder)' cannot be modified." when trying to copy files from my iBook to my iMac over the network. This includes Home, Desktop, and other folders. The odd thing is this has worked
-
I turned my iphone4 off and now it won't restart, how do i fix this?
I turned my iphone4 off because it had no service and it wouldn't get service, so i turned it off and tried to restart it and it will not quit blinking the apple logo homescreen and it won't go away, how do i fix this?
-
I can't seem to move or delete files or folders on my MacBook Air mountain lion system. It doesn't appear that changing permissions works either? Any ideas?
-
Can u please tell me events trigaring and first event in report
hi experts, can u please tell me events trigaring and first event in report
-
SQLLDR: "second enclosure string not present" error in a complex datafile
Hello, We are in 11g. I have a strange issue when I load data. I cannot figure out why sqlldr reacts in this way : Here is the table definition: create table IMPORT_SFEE_TRACKER_GENERIC PROJET_CODE VARCHAR2(50), TRACKER_ID VARCHAR2(50), TRACKER_TYPE