Combining results with a Query of Queries - NOT QUITE THERE!!!
I have included a small sample of my database, specifically the four tables I am trying to work with in the hopes that someone can steer me down the right path. Here are the four tables and the bottom is a visual desciption of what I am trying to achieve;
ORDERS
SALES CALLS
ID
SaleDate
TerritoryManager
UserID
SaleDate
TerritoryManager
ID
UserID
426
01-Oct-09
Mike B
10112
10/1/2009
Mike B
253
10112
427
01-Oct-09
Russ C
10115
10/1/2009
Mike B
254
10112
430
01-Oct-09
Jerry W
10145
10/1/2009
Mike B
255
10112
432
01-Oct-09
Ron H
10118
10/1/2009
Mike B
256
10112
433
01-Oct-09
Ron H
10118
10/1/2009
Ron H
257
10118
10/1/2009
Ron H
258
10118
PRODUCTS ORDERED
10/1/2009
Ron H
260
10118
OrderID
Quantity
NewExisting
UserID
10/1/2009
Russ C
261
10115
426
12
0
10112
10/1/2009
Mike B
267
10112
427
2
0
10115
10/1/2009
Mike B
268
10112
427
3
1
10115
430
1
0
10145
USERS
430
1
0
10145
TerritoryManager
Zone
UserID
432
1
0
10118
Mike B
Central
10112
432
1
0
10118
Russ C
Central
10115
432
1
1
10118
Jerry W
Central
10145
432
1
1
10118
Ron H
Central
10118
433
2
1
10120
Don M
Central
10120
Central Zone
Ttl Calls
Ttl Orders
Ttl Items
Ttl New Items
Mike B
5
1
12
1
Russ C
1
1
5
Jerry W
1
2
Ron H
3
2
6
3
I have tried to achieve this result in many ways to no avail. If I try to combine PRODUCTS ORDERED with ORDERS I get an erroneous count. I finally resigned myself to getting all the info I needed with separate queries and then trying to combine them with a query of queries. This worked fine until the last query of queries which timed out with no results. I am a newbie and would appreciate any constructive help with this. I am including my queries below as well;
<cfquery name="qGetOrders" datasource="manna_premier">
SELECT Count(Orders.ID) AS CountOfID,
Orders.UserID AS Orders_UserID,
Users.UserID AS Users_UserID,
Users.TMName
FROM Users INNER JOIN Orders ON Users.[UserID] = Orders.[UserID]
GROUP BY Orders.UserID, Users.UserID, Users.TMName;
</cfquery>
<cfquery name="qGetSalesCalls" datasource="manna_premier">
SELECT Count(Sales_Calls.ID) AS CountOfID,
Users.UserID AS Users_UserID,
Users.TMName,
Sales_Calls.UserID AS Sales_Calls_UserID
FROM Users INNER JOIN Sales_Calls ON Users.[UserID] = Sales_Calls.[UserID]
GROUP BY Sales_Calls.UserID, Users.UserID, Users.TMName;
</cfquery>
<cfquery name="qGetProducts" datasource="manna_premier">
SELECT Count(ProductOrders.OrderID) AS CountOfOrderID,
Sum(ProductOrders.Quantity) AS SumOfQuantity,
Sum(ProductOrders.NewExisting) AS SumOfNewExisting,
ProductOrders.UserID
FROM Orders INNER JOIN ProductOrders ON Orders.[ID] = ProductOrders.[OrderID]
GROUP BY ProductOrders.UserID;
</cfquery>
<cfquery name="qqCombOrd_Prod" dbtype="query">
SELECT *
FROM qGetOrders, qGetProducts
</cfquery>
<cfquery name="qqCombOrd_ProdtoSales" dbtype="query">
SELECT *
FROM qqCombOrd_Prod, qGetSalesCalls
</cfquery>
PLEASE HELP!!! I'm about to go scouting for bridges to leap from!
You might be able to simplify that query by getting rid of the subqueries. Something like this
SELECT TerritoryManager
, count(sc.userid) totalcalls
, sum(po.quantity) total
, sum(newexisting) totalnew
, count(o.userid) totalorders
from users u join salescalls sc on u.userid = sc.userid
join orders o on u.userid = o.userid
join productorders po on u.userid = po.userid
where userzone = 'CENTRAL'
Similar Messages
-
Hi
DECLARE @XMLA nvarchar(3000)
, @DateSerial nvarchar(35);
-- Change date to format YYYYMMDDHHMMSS
SET @DateSerial = CAST(GETDATE() AS DATE);
--SELECT @DateSerial
Set @XMLA =
N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
<ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
<KeyErrorLimit>-1</KeyErrorLimit>
<KeyNotFound>IgnoreError</KeyNotFound>
<NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
</ErrorConfiguration>
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<Object>
<DatabaseID>MultidimensionalProject5</DatabaseID>
<CubeID>giri</CubeID>
<MeasureGroupID>Fact Internet Sales</MeasureGroupID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>';
EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
iam executive the query when iam getting below error.
[Execute SQL Task] Error: Executing the query "DECLARE
@XMLA nvarchar(3000)
, @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
how to solve this error;
please help meWhat are you trying to do? What sort of data source is SHALL-PCAdventureWorksDw?
When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
If you explain why you think this would work in the first place, maybe we can help you.
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi .
I was creating the pass the values t in temp tables though s sis package vs2012 .
First I was taken on executive SQL TASK.
IN EXCUTIVE SQL TASK . I was write the stored proce:
Sp;
reate procedure USP_GETEMP2333
AS
begin
Select eid,ename,dept,salary from emp
end;
create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
insert into #temp
exec USP_GETMP02333
go.
It was executive correctly.
I was taken another sequence container. In the sequence container iam creating one executive sql
In 2<sup>nd</sup> excutive sql task: sql statements is
if object_id('emp_fact_sal') is not null
drop table emp_fact_sal
select eid,ename as emp_name,sal_bar=
case when salary<=5000 then 'l'
when salary >5000 and salary<=7000 then 'm'
else
'h'
end
into emp_fact_sal from #temp.
and one falt flies it was taken to designation .
iam changing all connection properties:
in oldeb connection:
in excutive sal task properties .
delay validation is true,
and retain connection maner is also true,
and package mode is 64 bit is false.
But iwas excutive in 2<sup>nd</sup> excutive ql task .
Iam getting this type of errors,
[Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
correctly.
Please help meArthur suggestion works but you shouldnt even be doing this on a SQL Task.
Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
is an undocumented behavior and should not be relied upon. -
Problem using DECODE() function with a Query of Queries
I
posted
on my blog about an issue I was having trying to use the PL/SQL
DECODE() function with a Coldfusion Query of Queries. This function
works fine when you query a database for information. However, when
you query another query, it seems that CF doesn't recognize it. I
got errors stating that it found a left parenthesis where it
expected a FROM key word. Here is a simplified version of what I am
trying to do:
quote:
<!--- Simulated query; similar to what I was calling from
my database --->
<cfscript>
qOriginal = queryNew("Name,Email,CountryCode",
"VarChar,VarChar,VarChar");
newRow = queryAddRow(qOriginal, 5);
querySetCell(qOriginal, "Name", "Joe", 1);
querySetCell(qOriginal, "Email", "[email protected]", 1);
querySetCell(qOriginal, "CountryCode", "AMER", 1);
querySetCell(qOriginal, "Name", "Sally", 2);
querySetCell(qOriginal, "Email", "[email protected]", 2);
querySetCell(qOriginal, "CountryCode", "AMER", 2);
querySetCell(qOriginal, "Name", "Bob", 3);
querySetCell(qOriginal, "Email", "[email protected]", 3);
querySetCell(qOriginal, "CountryCode", "ASIA", 3);
querySetCell(qOriginal, "Name", "Mary", 4);
querySetCell(qOriginal, "Email", "[email protected]", 4);
querySetCell(qOriginal, "CountryCode", "EURO", 4);
querySetCell(qOriginal, "Name", "John", 5);
querySetCell(qOriginal, "Email", "[email protected]", 5);
querySetCell(qOriginal, "CountryCode", "EURO", 5);
</cfscript>
<cfquery name="qCountries" dbtype="query">
SELECT DISTINCT(CountryCode) AS CountryCode,
DECODE(states, "AMER", "North America & Canada",
"EURO", "Europe & Africa", "ASIA", "Japan &
Asia","") CountryName
FROM qOriginal
ORDER BY CountryCode
</cfquery>
<cfdump var="#qCountries#">
<!--- ========== END OF CODE ========== --->
So running this returned the following error:
Query Of Queries syntax error.
Encountered "(. Incorrect Select Statement, Expecting a
'FROM', but encountered '(' instead, A select statement should have
a 'FROM' construct.
Does anybody know why this doesn't work? Is it just not
supported? Please note that I have also tried to use the CASE()
function instead of DECODE() and that resulted in basically the
same error. For now I an looping over my distinct query with a
switch statement and manually loading a new query with the data how
I want it. But it would be a lot cleaner and less code to have the
DECODE() to work. Thx!DECODE() is an Oracle function, not generic SQL. Q-of-Q is a
very limited subset of SQL and lacks many functions and clauses
available in standard SQL, especially what you may be used to using
in your particular RDBMS.
See
Query
of Queries user guide
Phil -
Getting result with single query
Hi,
I'm using db 10.2.0.1.0
I have a table emp_shift , with data like below
EmpCode Shift Effdate Default
1 SHFT1 02-jan-2012 N
1 SHFT2 04-jan-2012 Y
1 SHFT3 04-jan-2012 NSo if user inputs EmpCode and Effdate, based on that i've to take the latest record, with default = 'Y' (if any) else default 'N'
Suppose
Case 1 : Input Empcode:1 Date:10-jan-2012
Then i should get the below record
1 SHFT2 04-jan-2012 YCase 2 : Input Empcode:1 Date:03-jan-2012
Then i should get the below record
1 SHFT1 02-jan-2012 NI want this result with a single query, is this possible?
Thanks
DivyaHi Thank you both,
I'm trying this process through forms. and my forms version is 6i.
There where i'm trying the query with the cursor, i'm getting error
Encountered the symbol Order when expecting one of the following
.()...and my cursor is
Cursor cur_shft(vemp Varchar2,vdate Varchar2) is Select ESM_SHIFT_TYPE
from (Select ESM_SHIFT_TYPE from EMPLOYEE_SHIFT_MASTER
Where ESM_EMP_CODE = vemp
and ESM_EFF_DATE <= vdate
Order by ESM_EFF_DATE desc,Esm_Default desc)
Where rownum=1 ;Whats wrong? -
Combining tables with multi-column keys using NOT EQUALS
Hi, I am trying to perform a query in SQL to find a particular person who has a value for an attribute that nobody else has, so far my query looks like this:
SELECT CS1.*
FROM COMPANYSTAFF CS1
WHERE NOT EXISTS
(SELECT * FROM COMPANYSTAFF CS2 WHERE CS1.COMPSTAFFID != CS2.COMPSTAFFID AND CS1.MAININTEREST = CS2.MAININTEREST)
GO
The problem is that the table represents a weak entity, so the primary key is the name of the company the person works for combined with his ID. I want to change the not equals part of the above query so that I can say CS1-CompanyName and ID is not Equal to CS2-Company Name and ID rather than just both seperately.
In order to clarify what probably sounds really stupid I would really like the ability to say something like:
(CS1.COMPNAME, CS1.COMPSTAFFID) != (CS2.COMPNAME, CS2.COMPSTAFFID)
Does anyone know if this is possible or if there is another way around it?
Thanks
DaveSo ?
SELECT CS1.*
FROM COMPANYSTAFF CS1
WHERE NOT EXISTS
(SELECT * FROM COMPANYSTAFF CS2 WHERE (CS1.COMPSTAFFID != CS2.COMPSTAFFID OR CS1.COMPNAME != CS2.COMPNAME)
AND CS1.MAININTEREST = CS2.MAININTEREST)GO ?
Is is MS SQL ? :-)
Regards
Dmytro -
How can I achieve following results with a query
Hello everyone,
I have some data like the following sample and I need to convert it or kind of pivot it
No. P_1 P_2 P_3
1 1 1 5
1 2 3 1 I want above data to look like the following result set:
P_type No. P_values
P_1 1 1,2
P_2 1 1,3
P_3 1 5,1The No. column could go as much as upto 10. Thanks in advance.Something like:
with t1 as (
select 1 no,1 p_1,1 p_2,5 p_3 from dual union all
select 1,2,3,1 from dual
t2 as (
select no,
ltrim(sys_connect_by_path(p_1,','),',') p1_values,
ltrim(sys_connect_by_path(p_2,','),',') p2_values,
ltrim(sys_connect_by_path(p_3,','),',') p3_values
from (
select t1.*,
row_number() over(partition by no order by 1) rn
from t1
where connect_by_isleaf = 1
start with rn = 1
connect by no = prior no
and rn = prior rn + 1
select 'P_1' p_type,
no,
p1_values p_values
from t2
union all
select 'P_2' p_type,
no,
p2_values
from t2
union all
select 'P_3' p_type,
no,
p3_values
from t2
order by no,
p_type
P_T NO P_VALUES
P_1 1 2,1
P_2 1 3,1
P_3 1 1,5
SQL> SY. -
Hi,
We configured the Out of Band component, but are using Intel SCS RCS to provision AMT devices remotely. The remote configuration process with Intel SCS works fine; we are able to connect to the AMT web UI and we can use a free KVM tool to manage the computer
remotely.
The AMT devices are configured with AD integration, so an object is created for each of them in a specific OU. Also, an AD group is added to the AMT devices so remote PT Administration permission is granted to it. This group includes the ConfigMgr Site
Server account, the account of the server running the Out of Band Service Point and my own user account.
This configuration seems OK since when connecting to the AMT web UI, I use Windows Integrated authentication with my user account and can manage the device successfully.
So the only step remaining is running the OOB discovery to enable Out of Band features for the computers in the SCCM console. We want to use the ConfigMgr OOB console. I right-click a computer or a collection and launch the AMT discovery. I check the OOB
server log, I don't see errors; the OOB service point connects to the AMT device and discover a status of 4, which is Externally provisioned, as expected. The problem is the AMT Status, AMT Version and Provisioned AMT fields for the computer in the ConfigMgr
console doesn't get updated, even after doing display refresh.
Here's the amtopmgr.log (I changed computer name and IP address information to protect client privacy) :
General Worker Thread Pool: Work thread 364 started SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 364 (0x016C)
Discover COMPUTERA using IP address 192.168.12.7 SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 364 (0x016C)
AMT Discovery Worker: There are 1 tasks in pending list SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 2792 (0x0AE8)
AMT Discovery Worker: Wait 20 seconds... SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 2792 (0x0AE8)
AMT Discovery Worker: Wakes up to process instruction files SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 2792 (0x0AE8)
AMT Discovery Worker: There are 1 tasks in pending list SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 2792 (0x0AE8)
AMT Discovery Worker: Wait 20 seconds... SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 2792 (0x0AE8)
DoPingDiscoveryForAMTDevice succeeded. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 364 (0x016C)
Flag iWSManFlagSkipRevocationCheck is not set. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 364 (0x016C)
session params : https://COMPUTERA.contoso.com:16993 , 11001 SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:25 364 (0x016C)
DoWSManDiscovery succeeded with user name: admin. AMTStatus = 1. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
Start Kerberos Discovery SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
Flag iWSManFlagSkipRevocationCheck is not set. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
session params : https://COMPUTERA.contoso.com:16993 , 484001 SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
DoKerberosWSManDiscovery succeeded. AMTStatus = 4. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
Discovery to IP address 192.168.12.7 16 15:16:32 364 (0x016C)
CSMSAMTDiscoveryTask::Execute, discovery to STI17259CPCO succeed. AMT status is 4. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
CSMSAMTDiscoveryTask::Execute - DDR written to E:\SMS\MP\OUTBOXES\ddr.box SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
CStateMsgReporter::DeliverMessages - Queued message: TT=1201 TIDT=0 TID='Fill Machine Property' SID=1 MUF=0 PCNT=5, P1='COMPUTERA' P2='' P3='COMPUTERA.contoso.com' P4='' P5='' SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
CStateMsgReporter::DeliverMessages - Created state message file: E:\SMS\MP\OUTBOXES\StateMsg.box\6heghx71.SMX SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
CStateMsgReporter::DeliverMessages - Queued message: TT=1201 TIDT=0 TID='Unspecified' SID=10 MUF=0 PCNT=1, P1='COMPUTERA.contoso.com' 16 15:16:32 364 (0x016C)
CStateMsgReporter::DeliverMessages - Created state message file: E:\SMS\MP\OUTBOXES\StateMsg.box\rmit91js.SMX SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
General Worker Thread Pool: Succeed to run the task COMPUTERA.contoso.com 16 15:16:32 364 (0x016C)
General Worker Thread Pool: Work thread 364 has been requested to shut down. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
General Worker Thread Pool: Work thread 364 exiting. SMS_AMT_OPERATION_MANAGER 2014-06-16 15:16:32 364 (0x016C)
The Management Point is up and running.
Any suggestion or advice is welcomed!
Thank you
PatrickI found something interesting on this problem, it seems the OOB discovery process is working fine, but for an unknown reason, the site server is not receiving the information from the OOB Service Point to update the AMT Status of the client in the SCCM
database.
The log tells me that a DDR file is created to be sent to the site server. When looking into the SMS\MP\Outboxes\ddr.box folder, I see about 50 DDR files, the oldest one is dated when I started testing OOB discovery.
So the server is unable to send the files to the site server.
Also, since I started this thread, I noticed another issue that could be related to this problem. The same server is also holding the State Migration Point role, it is working fine, but when doing USMT operations, the status of the computer association is
not updated in the console (In Progress, Completed, missing USMT store path, etc.). When looking into the SMS folder on the server, I see a big backlog of SVF files containing information related to the SMP.
I looked into the log files, but didn't find the errors yet to explain this.
The computer account of the server is a member of the SMS_SiteSystemToSiteServerConnection_Stat_XXX group on the site server.
Note that status messages are being sent successfully, I see them in the Monitoring node of the console under Component State, and there is no backlog in the SMS\MP\Outboxes\statemsg.box folder.
Tnx for your help
Patrick -
FileSystemObjectType: 0
Id: 2
ContentTypeId: "0x010100517BCCBD1C63034A8C1141184DAB12C5"
Title: null
OData__dlc_DocId: null
OData__dlc_DocIdUrl: null
zopv: "Paint Specification"
s2ue: "J"
We'd prefer to make a single call. It's too bad the REST Api doesn't return the data in the same format as the WCF service, which uses the Display Name and not Internal Name. It also includes the hyperlink to the document.Hi,
You can get the display name of fields with typedisplayname property.For more information,you can refer to the article:
http://msdn.microsoft.com/en-us/library/office/dn600182(v=office.15).aspx#bk_Field
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Problem with Itunes or Lion. Not quite sure.
Hello, during this summer I upgraded my mac first to snow leopard via disk, then to Lion via disk from a Mac Store in Eugene OR (which I received after purchasing through itunes in the store on my father's account). I upgraded my computer and it was working fine up until I updated my itunes. Now it has stopped working completely. Once I updated the Itunes to the current version it began to crash before it even began, also if I put in my Ipod or Iphone, the same error appears. I need Itunes to function so I can update my Iphone, ipod ect. I've looked up similar errors, and it seems that the problem arises because of a devolper's kit? I have paid for a legal copy of Lion and not the developers kit, yet the store in Oregon seemed to have given me a developers kit without my knowledge and I have installed that. Without the ability to open Itunes I cannot download it to even try to reinstall the (idk what the terminology is) "normal release build". Please any advice would do. I am a college student and not being able to use my iphone, ipad, or ipods is extremely inconveinent expecially when I need to put my books for next semester on my Ipad.
Process: iTunes [8740]
Path: /Applications/iTunes.app/Contents/MacOS/iTunes
Identifier: com.apple.iTunes
Version: 10.5.1 (10.5.1)
Build Info: iTunes-10514201~1
Code Type: X86-64 (Native)
Parent Process: launchd [159]
Date/Time: 2011-12-01 04:06:33.320 -0500
OS Version: Mac OS X 10.7 (11A390)
Report Version: 8
Sleep/Wake UUID: 3BA140E9-E6BF-423C-BB86-250083A7EC68
Interval Since Last Report: 33250 sec
Crashes Since Last Report: 3
Per-App Crashes Since Last Report: 2
Anonymous UUID: 19EF0E40-0D7B-40ED-B5F9-1F86828761B2
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
@executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
Dyld Error Message:
Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater
Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
Reason: unsafe use of @executable_path in /Applications/iTunes.app/Contents/MacOS/iTunes with restricted binary
Binary Images:
0x1060a4000 - 0x107126fef com.apple.iTunes (10.5.1 - 10.5.1) <2F8C33B1-45B3-FF42-89B9-D59DF0B950EC> /Applications/iTunes.app/Contents/MacOS/iTunes
0x7fff65ca4000 - 0x7fff65cd91ff dyld (195 - ???) <71093406-21CF-3DBE-A001-802259ED5300> /usr/lib/dyld
Model: MacBookPro2,2, BootROM MBP22.00A5.B07, 2 processors, Intel Core 2 Duo, 2.16 GHz, 3 GB, SMC 1.12f5
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz, 0x2C00000000000000, 0x384854463132383634485A2D363637483120
Memory Module: BANK 1/DIMM1, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7F9B0000, 0x4354323536363441433636372E4D31364648
AirPort: spairport_wireless_card_type_airport_extreme, Atheros 5416: 2.1.14.7
Bluetooth: Version 2.5.0b13, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHW2120BH, 120.03 GB
Parallel ATA Device: MATSHITADVD-R UJ-857D
USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8205, 0x7d100000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x021a, 0x1d200000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8240, 0x5d200000 / 2I think the problem is the fact you got a developer kit version. Time to bring it in to an Apple Store yourself, and report the Oregon store you got it from for distributing data that was likely under non-disclosure and in beta form.
http://www.apple.com/retail is what you need to go to. If you can't get near one, you might want to contact the store yourself. Usually the phone number plus 5 as an extension will work. But try several if it doesn't until you can get a real person. -
My ipod was stolen. Can i find with the GPS? If not is there any other way?
My ipod touch was stolen out of my locker. I have all things to prove its my ipod touch. (original box & serial number) I was hoping that it could be tracked by the GPS or some other method. I hope so because I do not have money to buy another one. Plus it was a gift from someone special so i would like to get this back. If you have any other methods please let me know. Thank you so much!
Mike Barreras
< Edited by Host >You could find it, if you did install "Find my phone" before it was stolen. But you would have to own a ipod touch 4G, an iphone4 or an ipad to install it. See this article: http://support.apple.com/kb/HT4436
-
BWF Import, not quite there yet...
Hi there,
I just downloaded the 5.1.2 update and was quite excited by the new (at last) BWF import feature. So the first thing I tried was to import some BWF files to see how it works. The files I have at hand are BWF, Polyphonic files, with 24fps Timecode. They were originated with an Aaton Cantar and polyphoniced' using Majax.
I have to say that I'm not impressed:
- The resulting Clip in the browser has a 25fps TimeCode. It cant' be changed.
- The sc/take info, as well as the info typed in by the sound recordist don't appear in any of the columns.
Am I doing anything wrong?
PierreHi Pierre,
I think unfortunately the BWF support announcement makes it sound a little better than it actually is. Its a good step, but there is by no means full BWF support in 5.1.2. For a really detailed intro to what's going on here is a post from Andreas Kiel (who develops BWF2XML):
Hi all,
One of the new features in Final Cut Pro 5.1.2 will be enhanced QT metadata support and
support for the Broadcast Wave Format. (More informations about BWF can be found at the
EBU Website.)
As I did one of the (living) applications to integrate BWF into a FCP workflow I got a lot of
questions from users and potential user about the "BWF compatibility" feature in FCP 5.1.2
and how BWF2XML compares to the options in FCP.
Some additional information about uncompressed/HD/film workflow and audio can be
found at:
http://www.apple.com/finalcutstudio/resources/white_papers/L328398A-
USL328398A_HD_Workflow_FilmTV_FCPwp.pdf#search=%22L328398A-
USL328398A_HD_Workflow_FilmTV_FCPwp.pdf%22
Introduction:
Beside all the other improvements with this new version of Final Cut Pro, one of the big
improvements is that this new version makes extensive use of all the new QuickTime
structures, allowing QuickTime metadata access and tc64 timecode (which is audio
timecode). This last feature has been tested with a lot of different files, and nearly all files
with tc64 information showed up correctly.
The QuickTime metadata access will allow third parties to create QuickTime components
with metadata - like the DPX/Cineon component from Bob Monaghan at GlueTools, the
first of it's kind. This will also allow other companies to create a QuickTime components
for MXF, IMX etc., and you'll be able to drag a MXF (or something like that) to the timeline
with all the metadata included. So stay tuned for future announcements from third parties.
tc64 audio timecode is something new in QuickTime:
QuickTime is interpreting the BWAV header entry for the samples after midnight - most of
you (at least those who are interested) can already check that: just open a BWF file in
QuickTime Player Pro (7.1.3), press cmd-J and enable the TC track. You'll see the samples
after midnight (don't save when closing the file).
Final Cut Pro now makes use of this this QuickTime feature, and creates a timecode based
on the tc64 samples after midnight and the sampling rate. This will result in seconds after
midnight. The seconds can be converted to timecode by extracting hours, minutes,
seconds and partial seconds, where partial seconds will be converted to frames based on
the timecode base.
The timecode base is complicated to figure out, since mostly it's not written to the header
of the BWF file. And even if it is, QuickTime won't interpret it, since it is nearly impossible
to automatically interpret all the ways the header is set up. There maybe other information
in the header like reel, scene, take, note etc. However, this currently won't be interpreted
by QuickTime as well. As opposed to a QuickTime timecode track, reel information is not
kept in a tc64 track. So if QuickTime doesn't interpret it, Final Cut Pro can't either, and for
the timecode, it will probably take the current timecode base of the project, which might
differ from the original sound recording.
With audio, there are also things like 29.97 NDF (which is not available in Final Cut Pro
right now), and the samples after midnight also may be based on either real world seconds
or NTSC seconds. Plus, there may be playback instructions in coding history. All of this is
quite a complicated thing, and it will be left to the user to think about the setup in
advance.
File formating and appearance:
BWF can show up in either polyphonic or multi-mono format. Both of these formats do
have advantages and disadvantages.
Polyphonic files are easy to handle. As all tracks are included in one file, they are faster on
transfer from the audio harddisk recorder than mono files. Polyphonic files are also easy
to import with the new Final Cut Pro feature. They have the disadvantage that removing
unused tracks is difficult when it comes to exchange with other audio workstations or
when using XML and reconnect, since they are interleaved.
Mono files take longer when transfer from the audio harddisk recorder since the de-
interleave has to be done prior to transfer. They also have the disadvantage that they can
only be imported as discrete files, and need to be connected "channel by channel" within
Final Cut Pro, which makes the process much more tedious. The big advantage of using
mono files though is, that you can remove (or even add) channels and will have no
problems when doing an interchange with DAWs, via XML, or with content management
systems. The channel files can be handled by Media Manager up to a certain extent when
left untouched, or fully when converted to a .mov format.
More detail about the two kinds of timecode tracks:
The QuickTime timecode tracks we are used to working with behave, let's say, just like
another "movie" track, so you can step thru frames.
tc64 reads the timestamp of an BWF audio file - this happens only once, so it behaves like
a long frame, which can't be stepped thru by samples, frames, seconds etc. It's just one
frame when activated - even though it shows the samples during playback.
The QuickTime timecode track forces a file into a specified playback behavior, which is
user-defined, and even can be changed within Final Cut Pro (within certain limits). It can
also be used as AUX TC in synched clips.
tc64, when used in QuickTime/Final Cut Pro, just gives a reference which relies on the
sample rate to get the time. To change the playback behavior, you need to change the
sample rate "virtually". This means that the file's samples are not changed but the "this file
is sampled at" description will be changed. This can be done with a third party application
outside of FCP (this is our current info about changing playback, and it might be wrong).
As said above, with QuickTime timecode there is timecode timebase and reel info, with
tc64 there can't be timecode timebase and reel info.
What about bringing BWF2XML and the new QuickTime/Final Cut Pro features together?
This should work cool, since Final Cut Pro 5.1.2 will accept the tc64 for first time ever, and
BWF2XML can supply you or Final Cut Pro with the additional metadata without converting
to QuickTime timecode (though there are still a lot of advantages doing that).
But it needs some additional steps done with BWF2XML, like changing playback settings to
apply pull-up or pull-down. If that's done, BWF support in Final Cut Pro will be exceptional
compared to other NLEs, and conversion will be lightning fast - even if there is no direct
import plug-in for this "combined" import. With the new XML version 3, things may
become easier and BWF2XML may work as a pseudo importer plug-in.
Conclusion:
So why do I write all these mostly "negative" things (about FCP)?
Pretty simple, since working with these relatively new formats and devices isn't that simple
for most video and postpro people.
Apple made another big step into the tapeless future, as well as some of you who made
this step using "new" devices and formats. With new devices there is always the problem to
establish something like a "common sense" for set up and workflow, which doesn't exist
right now.
So if a BWF import into Final Cut Pro would give you an erroneous result, don't blame
Apple and don't start threads about blaming Apple, they made the above step, and they
too will probably run into similar problems as any of the other companies - like me - who
are dealing with BWF, machine setup, file setup and naming as well as user setups.
Other companies just restrict, maybe by the amount of channels, maybe by the titles/
names of metadata entries, maybe by kicking out metadata entries - and still the other
companies look to be a little bit ahead.
Regards
Andreas
http://www.spherico.com/filmtools
Hope that helps,
Mark -
Grouping not quite there . . .
Greetings,
First off, I have searched and reviewed previous posts for an answer but have not found anything that seemed to address the issue I am experiencing.
DB: MySQL
CF: 8
Below is query/code which displays only one FirefighterName. There could be anywhere from 4 to 6 Firefighters per station, per date. My desire is to display the FirefighterName horizontally under each station.
What am I missing here?
Thanks in advance for assistance
Leonard B
<=== My Query ===>
<cfquery name="rsShiftInfo" datasource="*****">
SELECT
recordID
, ShiftDate
, ShiftQuarter
, ShiftMonth
, FirefighterName
, Station
, PositionOne
, PositionTwo
, ShiftComment
FROM
firefightershiftassignments
WHERE
ShiftMonth = <cfqueryparam value="7" cfsqltype="cf_sql_integer">
GROUP BY
ShiftDate, Station
</cfquery>
<=== My Code ===>
<cfoutput query="rsShiftInfo" group="ShiftDate">
<div style="clear: both; height: 250px;">
<span>#DateFormat(ShiftDate,"mm/dd/yyyy - dddd")#</span><br />
<cfoutput group="Station">
<div style="padding-top: 15px;">
Station: #Station#<br />
#FirefighterName#
</div>
</cfoutput>
</div>
</cfoutput>
<=== Current Output ===>
07/02/2012 - Monday
Station: 90
FirefighterName
Station: 96
FirefighterName
Station: 97
FirefighterName
Station: 99
FirefighterName
<=== Desired Output ===>
07/02/2012 - Monday
Station: 90
FirefighterName - FirefighterName - FirefighterName - FirefighterName - etc
Station: 96
FirefighterName- FirefighterName - FirefighterName - FirefighterName - etc
Station: 97
FirefighterName - FirefighterName - FirefighterName - FirefighterName - etc
Station: 99
FirefighterName - FirefighterName - FirefighterName - FirefighterName - etcLeonard,
Miguel is right, your query as written would not return the data you seek. Even if it did, your nested <cfoutput> would not display each individual firefighter like you want, either.
In both cases you are misunderstanding the use of the grouping. When you use "group by" in SQL, or "group" in cfoutput, you are asking for detail rows to be discarded from the results. I suggest studying your SQL documentation and your CF documentation.
Meanwhile, this should work better:
<=== My Query ===>
<cfquery name="rsShiftInfo" datasource="*****">
SELECT
recordID
, ShiftDate
, ShiftQuarter
, ShiftMonth
, FirefighterName
, Station
, PositionOne
, PositionTwo
, ShiftComment
FROM
firefightershiftassignments
WHERE
ShiftMonth = <cfqueryparam value="7" cfsqltype="cf_sql_integer">
ORDER BY
ShiftDate, Station
</cfquery>
<=== My Code ===>
<cfoutput query="rsShiftInfo" group="ShiftDate">
<div style="clear: both; height: 250px;">
<span>#DateFormat(ShiftDate,"mm/dd/yyyy - dddd")#</span><br />
<cfoutput group="Station">
<div style="padding-top: 15px;">
Station: #Station#<br />
<cfoutput>#FirefighterName#</cfoutput>
</div>
</cfoutput>
</div>
</cfoutput> -
Macbook not quite there...
Hi,
My macbook pro has been running brilliantly until yesterday... Hopefully someone here can help!
I think the problem may be that I left my mobile charger at the inlaws house so used my usb cable to charge my phone whilst I was using my mac. That is the only thing that I can think of as to why my mac is not not starting up.
All that happens now is I get the grey apple logo screen with the spinning icon for about 5 seconds then the whole computer shuts down again and just powers off to be back at square one.
I am not the best mac user but I do need it for my business which I run from home so any fast help would be very much appreciated.
Regards,
JarrettHi jarrett;
Charging a phone on usb should not cause the problems you are having. My suggestion is to put the install media for your MBP in the optical drive and hold down the "D" key while booting. That should start Apple Hardware Test which will check your hardware for you. Let us know the results.
Allan -
Solaris 10 6/06 ZFS and Zones, not quite there yet...
I was all excited to get ZFS working in our environment, but alas, a warning appeared in the docs, which drained my excitement! :
http://docs.sun.com/app/docs/doc/817-1592/6mhahuous?a=view
essentially it says that ZFS should not be used for non-global zone root file systems.. I was hoping to do this, and make it easy, global zone root UFS, and another disk all ZFS where all non-global whole root zones would live.
One can only do so much with only 4 drives that require mirroring! (x4200's, not utilizing an array)
Sigh.. Maybe in the next release (I'll assume ZFS will be supported to be 'bootable' by then...
DaveI was all excited to get ZFS working in our
environment, but alas, a warning appeared in the
docs, which drained my excitement! :
http://docs.sun.com/app/docs/doc/817-1592/6mhahuous?a=
view
essentially it says that ZFS should not be used for
non-global zone root file systems..Yes. If you can live with the warning it gives (you may not be able to upgrade the system), then you can do it. The problem is that the the installer packages (which get run during an upgrade) don't currently handle ZFS.
Sigh.. Maybe in the next release (I'll assume ZFS
will be supported to be 'bootable' by then...Certainly one of the items needed for bootable ZFS is awareness in the installer. So yes it should be fixed by the time full support for ZFS root filesystems is released. However last I heard, full root ZFS support was being targeted for update 4, not update 3.
Darren
Maybe you are looking for
-
HI, I am doing BPM process PO creation . I created all the WD and BPM process and i assigned all WD applications. Coming to Mappings when i am trying to map "Approve PO" to" Purchase Order Creation" Iam facing the below error Incompatiable expressio
-
Mousewheel -- How to get Event in a mouseListener.
Hi, i'm trying to scroll a table in a JScrollpane (with JViewport) by using the Mousewheel like you are used to in the windows enviroment. My problem is that the Button_Mask2 is only triggered when you press the mouseWheel like a Button. So which mod
-
Exporting to Windows Media Player
Whenever I try to export a movie from Quicktime Pro to Windows Media Player it will only create a 30 second clip. Why won't it export the whole file? Thanks for any info/tips! iMac G5 Mac OS X (10.4.10)
-
Cannot install adobe premiere elements 9 disc 2
after installing disc 1 sucessfully, it says 'Adobe Elements 9 not installed.' or is corrupted How can I install disc 2? yzponyhead.
-
Manage PDF on relation designer-customer
Is there any solution (Adobe) to manage PDF#1, PDF#2, PDF#3, ........ documents on relation designer-customer. Meaning... step1: creating layout in indesign(.indd) CS6 step2: export to PDF#1 and send to review layout step3: make modifications in indd