SQL Tuning Advisor Error
I wanted to use the SQL Tuning Advisor feature of the SQL Worksheet. The DBA granted me ADVISOR system privilege. But when I tried to use the feature, I get the following errors:
An error was encountered performing the requested operation:
ORA-06550: line 20, column 101:
PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
.(),*%&=-+</> at in is mod remainder not rem
<an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
LIKE4_LIKEC_between|| multiset member SUBMULTISET_
The symbol "." was substituted for "ANYDATA" to continue.
ORA-6550: line 20, column 140:
PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
.(),*%&=-+</> at in is mod remainder not rem
<an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
LIKE4_LIKEC_between|| mul
ORA-6550:line 20, column 179:
PLS-00103: Encountered the symbol "ANYDATA" when expecting one of the folllowing:
.(),*%&=-+</> at in is mod remainder not rem
<an exponenet (**) <> or != or ~= >= <> and or like LIKE2_
LIKE4_LIKEC_between|| multiset
06550,00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Vendor code 6550Then I get this right after the previous one:
An error was encountered performing the requested operation:
ORA-13605: The specified task or boject staName12325 does not exist for the current user.
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.PRVT_ADVISOR", line 4841
ORA-06512: at "SYS.DBMS_SQLTUNE", line 1093
ORA-06512: at line 2
13605.0000 - "The specified task or object %s does not exist for the current user."
*Cause: The user attempted to reference an advisor task or object
using a anme that does not exist in the Advisor repository.
*Action: Adjust the name and retry the operation.
Vendor code 13605Can someone please help me? I am not a DBA so I stumped by these error codes.
Oracle SQL Developer 3.0.04 Build MAIn-04.34
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0
Robert
The query is
select "V_CDR_OUTGOING_CALLS"."FIRST_NAME" as "FIRST_NAME",
"V_CDR_OUTGOING_CALLS"."MIDDLE_INITIAL" as "MIDDLE_INITIAL",
"V_CDR_OUTGOING_CALLS"."LAST_NAME" as "LAST_NAME",
"V_CDR_OUTGOING_CALLS"."ORG_UNIT" as "ORG_UNIT",
"V_CDR_OUTGOING_CALLS"."DEPT_DESC" as "DEPT_DESC",
"V_CDR_OUTGOING_CALLS"."FROM_NUMBER" as "FROM_NUMBER",
"V_CDR_OUTGOING_CALLS"."TO_NUMBER" as "TO_NUMBER",
"V_CDR_OUTGOING_CALLS"."TO_CITY" as "TO_CITY",
"V_CDR_OUTGOING_CALLS"."TO_STATE" as "TO_STATE",
"V_CDR_OUTGOING_CALLS"."DATETIME_CONNECT" as "DATETIME_CONNECT",
"V_CDR_OUTGOING_CALLS"."DURATION_MIN" as "DURATION_MIN"
from "V_CDR_OUTGOING_CALLS" "V_CDR_OUTGOING_CALLS"
where :P12_PHONE_NUMBER = FROM_NUMBER or :P12_PHONE_NUMBER = TO_NUMBER
AND "V_CDR_OUTGOING_CALLS"."DATETIME_CONNECT" BETWEEN to_date(:P12_START_DATE,'MM/DD/YYYY') AND to_date(:P12_END_DATE,'MM/DD/YYYY')The view is
CREATE OR REPLACE FORCE VIEW "VOIP"."V_CDR_OUTGOING_CALLS" ("ID", "EMPID", "FIRST_NAME", "MIDDLE_INITIAL", "LAST_NAME", "ORG_UNIT", "DEPT_DESC", "PHONE", "FROM_NUMBER", "TO_NUMBER", "TO_CITY", "TO_STATE", "DATETIME_CONNECT", "DATETIME_DISCONNECT", "DURATION_SEC", "DURATION_MIN")
AS
SELECT c.ID,
e.empid empid,
e.first_name,
e.middle_initial,
e.last_name,
e.org_descr,
e.dept_desc,
e.full_telephone,
c.from_number,
c.to_number,
x.city to_city,
x.state to_state,
c.datetime_connect,
c.datetime_disconnect,
c.duration_sec,
c.duration_min
FROM v_cdr c ,
v_cdr_emp e,
telephone_exchanges x
WHERE c.from_number = e.phone
AND SUBSTR(c.to_number,1,7) = x.EXCHANGE
AND LENGTH(c.to_number) > 7;The table and views are defined as:
CREATE TABLE "VOIP"."TELEPHONE_EXCHANGES"
"EXCHANGE" VARCHAR2(7 BYTE) NOT NULL ENABLE,
"CITY" VARCHAR2(200 BYTE),
"STATE" VARCHAR2(2 BYTE),
CONSTRAINT "TELEPHONE_EXCHANGES_PK" PRIMARY KEY ("EXCHANGE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "VOIPDATA" ENABLE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
CREATE OR REPLACE FORCE VIEW "VOIP"."V_CDR" ("ID", "FROM_NUMBER", "TO_NUMBER", "DATETIME_CONNECT", "DATETIME_DISCONNECT", "DURATION_SEC", "DURATION_MIN", "PKID", "DATE_OF_CALL")
AS
SELECT ID,
DECODE( LENGTH(CALLINGPARTYNUMBER),6, SUBSTR(CALLINGPARTYNUMBER,1,2)
|| '-'
||SUBSTR(CALLINGPARTYNUMBER,3) ,10, SUBSTR(CALLINGPARTYNUMBER,1,3)
|| '-'
||SUBSTR(CALLINGPARTYNUMBER,4,3)
|| '-'
||SUBSTR(CALLINGPARTYNUMBER,7) ,CALLINGPARTYNUMBER)FROM_NUMBER,
DECODE( LENGTH(ORIGINALCALLEDPARTYNUMBER), 6, SUBSTR( ORIGINALCALLEDPARTYNUMBER,1,2)
|| '-'
||SUBSTR(ORIGINALCALLEDPARTYNUMBER,3) , 10, SUBSTR( ORIGINALCALLEDPARTYNUMBER,1,3)
|| '-'
||SUBSTR(ORIGINALCALLEDPARTYNUMBER,4,3)
|| '-'
||SUBSTR(ORIGINALCALLEDPARTYNUMBER,7) , 12, SUBSTR( ORIGINALCALLEDPARTYNUMBER,3,3)
|| '-'
||SUBSTR(ORIGINALCALLEDPARTYNUMBER,6,3)
|| '-'
||SUBSTR(ORIGINALCALLEDPARTYNUMBER,9) , ORIGINALCALLEDPARTYNUMBER) TO_NUMBER,
new_time(to_date(TO_CHAR(to_date('01.01.70','dd.mm.rr')+ (DATETIMECONNECT/( 60 *60*24)), 'mm-dd-yyyy hh24:mi:ss'),'mm-dd-yyyy hh24:mi:ss'),'GMT','EDT') DATETIME_CONNECT,
new_time(to_date(TO_CHAR(to_date('01.01.70','dd.mm.rr')+ ( DATETIMEDISCONNECT /(60*60*24)), 'mm-dd-yyyy hh24:mi:ss'),'mm-dd-yyyy hh24:mi:ss'),'GMT','EDT') DATETIME_DISCONNECT,
duration Duration_sec,
ROUND(duration/60,2) Duration_MIN,
pkid,
to_date(TO_CHAR(new_time(to_date(TO_CHAR(to_date('01.01.70','dd.mm.rr')+ (DATETIMECONNECT/( 60 *60*24)), 'mm-dd-yyyy hh24:mi:ss'),'mm-dd-yyyy hh24:mi:ss'),'GMT','EDT'),'DD-MON-YYYY')) date_of_call
FROM CALL_DETAILS_CDR C
WHERE datetimeconnect <> 0;
The above view is based on table CALL_DETAILS_CDR defined as:
CREATE TABLE "VOIP"."CALL_DETAILS_CDR"
"ID" NUMBER NOT NULL ENABLE,
"CDRRECORDTYPE" NUMBER,
"G_CALLMANAGERID" NUMBER,
"G_CALLID" NUMBER,
"O_LEGCALLIDENTIFIER" NUMBER,
"DATETIMEORIGINATION" NUMBER,
"O_NODEID" NUMBER,
"O_SPAN" NUMBER,
"O_IPADDR" NUMBER,
"CALLINGPARTYNUMBER" VARCHAR2(50 BYTE),
"CALLINGPARTY_USERID" VARCHAR2(128 BYTE),
"O_CAUSE_LOCATION" NUMBER,
"O_CAUSE_VALUE" NUMBER,
"O_PRECEDENCELEVEL" NUMBER,
"O_MEDIATRANSPORTADDR_IP" NUMBER,
"O_MEDIATRANSPORTADDR_PORT" NUMBER,
"O_MCAP_PAYLOADCAPABILITY" NUMBER,
"O_MCAP_MAXFRAMESPERPACKET" NUMBER,
"O_MCAP_G723BITRATE" NUMBER,
"O_VCAP_CODEC" NUMBER,
"O_VCAP_BANDWIDTH" NUMBER,
"O_VCAP_RESOLUTION" NUMBER,
"O_VIDEOTRANSPORTADDR_IP" NUMBER,
"O_VIDEOTRANSPORTADDR_PORT" NUMBER,
"O_RSVPAUDIOSTAT" VARCHAR2(64 BYTE),
"O_RSVPVIDEOSTAT" VARCHAR2(64 BYTE),
"DESTLEGIDENTIFIER" NUMBER,
"DESTNODEID" NUMBER,
"DESTSPAN" NUMBER,
"DESTIPADDR" NUMBER,
"ORIGINALCALLEDPARTYNUMBER" VARCHAR2(50 BYTE),
"FINALC_PARTYNUMBER" VARCHAR2(50 BYTE),
"FINALC_PARTY_USERID" VARCHAR2(128 BYTE),
"DESTCAUSE_LOCATION" NUMBER,
"DESTCAUSE_VALUE" NUMBER,
"DESTPRECEDENCELEVEL" NUMBER,
"DESTMEDIATRANSPORTADDR_IP" NUMBER,
"DESTMEDIATRANSPORTADDR_PORT" NUMBER,
"DESTMCAP_PAYLOADCAPABILITY" NUMBER,
"DESTMCAP_MAXFRAMESPERPACKET" NUMBER,
"DESTMCAP_G723BITRATE" NUMBER,
"DV_CAP_CODEC" NUMBER,
"DV_CAP_BANDWIDTH" NUMBER,
"DV_CAP_RESOLUTION" NUMBER,
"DV_TRANSPORTADDR_IP" NUMBER,
"DV_TRANSPORTADDR_PORT" NUMBER,
"DESTRSVPAUDIOSTAT" VARCHAR2(64 BYTE),
"DESTRSVPVIDEOSTAT" VARCHAR2(64 BYTE),
"DATETIMECONNECT" NUMBER,
"DATETIMEDISCONNECT" NUMBER,
"LASTREDIRECTDN" VARCHAR2(50 BYTE),
"PKID" VARCHAR2(4000 BYTE),
"O_INALCALLEDPARTYNUM_PARTITION" VARCHAR2(50 BYTE),
"CALLINGPARTYNUM_PARTITION" VARCHAR2(50 BYTE),
"FINALC_PARTYNUM_PARTITION" VARCHAR2(50 BYTE),
"LASTREDIRECTDNPARTITION" VARCHAR2(50 BYTE),
"DURATION" NUMBER,
"O_DEVICENAME" VARCHAR2(129 BYTE),
"DESTDEVICENAME" VARCHAR2(129 BYTE),
"O_CALLTERMINATION_BEHALF" NUMBER,
"DESTCALLTERMINATION_BEHALF" NUMBER,
"O_CALLEDPARTYREDIRECT_BEHALF" NUMBER,
"LASTREDIRECTREDIRECT_BEHALF" NUMBER,
"O_CALLEDPARTYREDIRECTREASON" NUMBER,
"LASTREDIRECTREDIRECTREASON" NUMBER,
"DESTCONVERSATIONID" NUMBER,
"G_CALLID_CLUSTERID" VARCHAR2(50 BYTE),
"JOIN_BEHALF" NUMBER,
"COMMENTS" VARCHAR2(2048 BYTE),
"AUTHCODEDESCRIPTION" VARCHAR2(50 BYTE),
"AUTHORIZATIONLEVEL" NUMBER,
"CLIENTMATTERCODE" VARCHAR2(32 BYTE),
"O_DTMFMETHOD" NUMBER,
"DESTDTMFMETHOD" NUMBER,
"CALLSECUREDSTATUS" NUMBER,
"O_CONVERSATIONID" NUMBER,
"O_MCAP_BANDWIDTH" NUMBER,
"DESTMCAP_BANDWIDTH" NUMBER,
"AUTHORIZATIONCODEVALUE" VARCHAR2(32 BYTE),
"OUTPULSEDCALLINGPARTYNUMBER" VARCHAR2(50 BYTE),
"OUTPULSEDCALLEDPARTYNUMBER" VARCHAR2(50 BYTE),
"O_IPV4V6ADDR" VARCHAR2(64 BYTE),
"DESTIPV4V6ADDR" VARCHAR2(64 BYTE),
"O_VCAP_CODEC_CHAN2" NUMBER,
"O_VCAP_BANDWIDTH_CHAN2" NUMBER,
"O_VCAP_RESOLUTION_CHAN2" NUMBER,
"O_V_TRANSPORTADDR_IP_CHAN2" NUMBER,
"O_V_TRANSPORTADDR_PORT_CHAN2" NUMBER,
"O_V_OCHANNEL_ROLE_CHAN2" NUMBER,
"DV_CAP_CODEC_CHAN2" NUMBER,
"DV_CAP_BANDWIDTH_CHAN2" NUMBER,
"DV_CAP_RESOLUTION_CHAN2" NUMBER,
"DV_TRANSPORTADDR_IP_CHAN2" NUMBER,
"DV_TRANSPORTADDR_PORT_CHAN2" NUMBER,
"DV_CHANNEL_ROLE_CHAN2" NUMBER,
"DATE_CREATED" DATE,
CONSTRAINT "CALL_DETAILS_CDR_PK" PRIMARY KEY ("ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "VOIPDATA" ENABLE,
CONSTRAINT "PKID_UNIQUE" UNIQUE ("PKID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 167 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "VOIPDATA" ENABLE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
CREATE INDEX "VOIP"."CALL_DETAILS_CDR_INDEX3" ON "VOIP"."CALL_DETAILS_CDR"
"ORIGINALCALLEDPARTYNUMBER",
"DATETIMECONNECT"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
CREATE INDEX "VOIP"."CALL_DETAILS_CDR_INDEX2" ON "VOIP"."CALL_DETAILS_CDR"
"CALLINGPARTYNUMBER",
"DATETIMECONNECT"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
CREATE UNIQUE INDEX "VOIP"."CALL_DETAILS_CDR_PK" ON "VOIP"."CALL_DETAILS_CDR"
"ID"
PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
CREATE UNIQUE INDEX "VOIP"."PKID_UNIQUE" ON "VOIP"."CALL_DETAILS_CDR"
"PKID"
PCTFREE 10 INITRANS 2 MAXTRANS 167 COMPUTE STATISTICS STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
TABLESPACE "VOIPDATA" ;
The view, V_CDR_EMP, is defined as:
CREATE OR REPLACE FORCE VIEW "VOIP"."V_CDR_EMP" ("EMPID", "FIRST_NAME", "MIDDLE_INITIAL", "LAST_NAME", "ORG", "ORG_DESCR", "DEPT", "DEPT_DESC", "ADDRESS", "PHONE", "FULL_TELEPHONE")
AS
SELECT e.empid,
e.First_name,
e.Middle_Initial,
e.Last_name,
e.Org,
o.org_descr,
e.Dept,
d.Dept_desc,
e.Address,
DECODE (SUBSTR(e.address,1,6),'ONEMAD','10-'
|| SUBSTR (e.telephone,9), '225PAS','10-'
|| SUBSTR (e.telephone,9), '233PAS','10-'
|| SUBSTR (e.telephone,9), '115BWA','10-'
|| SUBSTR (e.telephone,9), DECODE(SUBSTR(e.address,1,4),'PATC','11-'
|| SUBSTR (e.telephone,9), 'JAMS','12-'
|| SUBSTR (e.telephone,9), 'JSTC','12-'
|| SUBSTR (e.telephone,9), 'PABT','19-'
|| SUBSTR (e.telephone,9), 'TLPT','08-'
|| SUBSTR (e.telephone,9), 'HCMF','12-'
|| SUBSTR (e.telephone,9), DECODE(SUBSTR(e.address,1,3),'GWB','17-'
|| SUBSTR (e.telephone,9), 'LGA','13-'
|| SUBSTR (e.telephone,9), 'EWR','14-'
|| SUBSTR (e.telephone,9), 'JFK','15-'
|| SUBSTR (e.telephone,9), 'SIB','18-'
|| SUBSTR (e.telephone,9), 'MVP','14-'
|| SUBSTR (e.telephone,9), 'WTC','10-'
|| SUBSTR (e.telephone,9), 'CON','12-'
|| SUBSTR (e.telephone,9), DECODE(SUBSTR(e.address,1,2),'HT','11-'
|| SUBSTR (e.telephone,9), 'BP','06-'
|| SUBSTR (e.telephone,9), 'LT','16-'
|| SUBSTR (e.telephone,9), 'PN','07-'
|| SUBSTR (e.telephone,9), DECODE(SUBSTR(e.address,1,5),'2GWAY','04-'
|| SUBSTR (e.telephone,9), '3GWAY','04-'
|| SUBSTR (e.telephone,9), DECODE(SUBSTR(e.address,1,10),'PORT IVORY','07-'
|| SUBSTR (e.telephone,9),e.telephone) ) ) ) ) ) phone,
e.telephone full_telephone
FROM [email protected] e ,
[email protected] d ,
[email protected] o
WHERE e.active = 'Y'
AND e.dept = d.dept
AND e.org = o.org;Robert
Similar Messages
-
Need help to debug SQL Tuning Advisor Error Message
Hi,
I am getting an error message while try to get recommendations from the SQL Tuning Advisor.
Environment:
Oracle Version: 11.2.0.3.0
O/S: AIX
Following is my code:
declare
my_task_name varchar2 (30);
my_sqltext clob;
begin
my_sqltext := 'SELECT DISTINCT MRKT_AREA AS DIVISION, PROMO_ID,
PROMO_CODE,
RBR_DTL_TYPE.PERF_DETL_TYP,
RBR_DTL_TYPE.PERF_DETL_DESC,
RBR_DTL_TYPE.PERF_DETL_SUB_TYP,
RBR_DTL_TYPE.PERF_DETL_SUB_DESC,
BU_SYS_ITM_NUM,
RBR_CPN_LOC_ITEM_ARCHIVE.CLI_SYS_ITM_DESC,
PROMO_START_DATE,
PROMO_END_DATE,
PROMO_VALUE2,
PROMO_VALUE1,
EXEC_COMMENTS,
PAGE_NUM,
BLOCK_NUM,
AD_PLACEMENT,
BUYER_CODE,
RBR_CPN_LOC_ITEM_ARCHIVE.CLI_STAT_TYP,
RBR_MASTER_CAL_ARCHIVE.STATUS_FLAG
FROM (PROMO_REPT_OWNER.RBR_CPN_LOC_ITEM_ARCHIVE
INNER JOIN PROMO_REPT_OWNER.RBR_MASTER_CAL_ARCHIVE
ON (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_PROMO_ID = PROMO_ID)
AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_PERF_DTL_ID = PERF_DETAIL_ID)
AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_STR_NBR = STORE_ZONE)
AND (RBR_CPN_LOC_ITEM_ARCHIVE.CLI_ITM_ID = ITM_ID))
INNER JOIN PROMO_REPT_OWNER.RBR_DTL_TYPE
ON (RBR_MASTER_CAL_ARCHIVE.PERF_DETL_TYP = RBR_DTL_TYPE.PERF_DETL_TYP)
AND (RBR_MASTER_CAL_ARCHIVE.PERF_DETL_SUB_TYP = RBR_DTL_TYPE.PERF_DETL_SUB_TYP)
WHERE ( ((MRKT_AREA)=40)
AND ((RBR_DTL_TYPE.PERF_DETL_TYP)=1)
AND ((RBR_DTL_TYPE.PERF_DETL_SUB_TYP)=1) )
AND ((CLI_STAT_TYP)=1 Or (CLI_STAT_TYP)=6)
AND ((RBR_MASTER_CAL_ARCHIVE.STATUS_FLAG)=''A'')
AND ( ((PROMO_START_DATE) >= to_date(''2011-10-20'', ''YYYY-MM-DD'')
And (PROMO_END_DATE) <= to_date(''2011-10-26'', ''YYYY-MM-DD'')) )
ORDER BY MRKT_AREA';
my_task_name := dbms_sqltune.create_tuning_task
(sql_text => my_sqltext,
user_name => 'PROMO_REPT_OWNER',
scope => 'COMPREHENSIVE',
time_limit => 3600,
task_name => 'Test_Query',
description => 'Test Query');
end;
begin
dbms_sqltune.execute_tuning_task(task_name => 'Test_Query');
end;
set serveroutput on size unlimited;
set pagesize 5000
set linesize 130
set long 50000
set longchunksize 500000
SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK('Test_Query') FROM DUAL;
Output:
snippet .....
FINDINGS SECTION (1 finding)
1- Index Finding (see explain plans section below)
The execution plan of this statement can be improved by creating one or more
indices.
Recommendation (estimated benefit: 71.48%)
- Consider running the Access Advisor to improve the physical schema design
or creating the recommended index.
Error: Cannot fetch actions for recommendation: INDEX
Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Rationale
Creating the recommended indices significantly improves the execution plan
of this statement. However, it might be preferable to run "Access Advisor"
using a representative SQL workload as opposed to a single statement. This
will allow to get comprehensive index recommendations which takes into
account index maintenance overhead and additional space consumption.
snippet
Any ideas why I am getting ORA-06502 error?
Thanks in advance
RogersBug 14407401 - ORA-6502 from index recommendation section of DBMS_SQLTUNE output (Doc ID 14407401.8)
Fixed:
The fix for 14407401 is first included in
12.1.0.1 (Base Release) -
I am working as a junior DBA. I tried to tune a query using SQL Tuning Advisor that is with DBMS_SQLTUNE.I have created the tuning task successfully with DBMS_SQLTUNE.create_tuning_task.But when i execute the tuning task with EXEC DBMS_SQLTUNE.execute_tuning_task() i got an error like
SQL> EXEC DBMS_SQLTUNE.execute_tuning_task(task_name => 'rep_three');
BEGIN DBMS_SQLTUNE.execute_tuning_task(task_name => 'rep_three'); END;
ERROR at line 1:
ORA-00081: address range [0x60000000000A7D70, 0x60000000000A7D74) is not
readable
ORA-00600: internal error code, arguments: [kesatmGetSqlStats:optCost], [], [],
ORA-06512: at "SYS.PRVT_ADVISOR", line 1624
ORA-06512: at "SYS.DBMS_ADVISOR", line 186
ORA-06512: at "SYS.DBMS_SQLTUNE", line 1008
ORA-06512: at line 1The oracle version is Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi. The OS is HP-UX. The version is HP-UX B.11.23 U ia64.
I tried to execute DBMS_SQLTUNE as DWH user.I have granted the advisor,DROP ANY SQL PROFILE,ALTER ANY SQL PROFILE,CREATE ANY SQL PROFILE privileges and DBA roles to the DWH user. The way i ran DBMS_SQLTUNE is, first i logged in as DWH user and i tried to execute the query for getting the SQL_ID for the query. For getting the SQL_ID i selected the SQL_ID column value for the DWH user session from v$session.I kept that query executing and meanwhile i opened another session as DWH user and created the tuning task as follows
DECLARE
l_sql_tune_task_id VARCHAR2(100);
BEGIN
l_sql_tune_task_id := DBMS_SQLTUNE.create_tuning_task (
sql_id => 'b65fj39dkkb9v',
scope => DBMS_SQLTUNE.scope_limited,
time_limit => 3600,
task_name => 'rep_three',
description => 'Report Tuning');
DBMS_OUTPUT.put_line('l_sql_tune_task_id: ' || l_sql_tune_task_id);
END;
/The creation of tuning task was successful.And i executed the tuning task as follows
EXEC DBMS_SQLTUNE.execute_tuning_task(task_name => 'rep_three');The above mentioned errors came when i executed the tuning task.
I am also adding the query which i have tried to tune
select * from dwh.beneficiary_dim BEN_DIM,
(Select adr_dp_id,
adr_account_no,
ADR_ADDRESS_LINE_1 || ' ' ||
ADR_ADDRESS_LINE_2 || ' ' ||
ADR_ADDRESS_LINE_3 || ' ' ||
ADR_ADDRESS_LINE_4 as ADDRESS,
adr_pin_code,adr_phone_no,adr_fax_no
from dwh.beneficiary_address_dim where adr_type_id = 1) PERMANENT_ADD_DIM,
(Select adr_dp_id,
adr_account_no,
ADR_ADDRESS_LINE_1 || ' ' ||
ADR_ADDRESS_LINE_2 || ' ' ||
ADR_ADDRESS_LINE_3 || ' ' ||
ADR_ADDRESS_LINE_4 as ADDRESS,
adr_pin_code,adr_phone_no,adr_fax_no
from dwh.beneficiary_address_dim where adr_type_id = 2) BANK_ADD_DIM,
(Select adr_dp_id,
adr_account_no,
ADR_ADDRESS_LINE_1 || ' ' ||
ADR_ADDRESS_LINE_2 || ' ' ||
ADR_ADDRESS_LINE_3 || ' ' ||
ADR_ADDRESS_LINE_4 as ADDRESS,
adr_pin_code,adr_phone_no,adr_fax_no
from dwh.beneficiary_address_dim where adr_type_id = 3) NOM_GUARDIAN_ADD_DIM,
(Select adr_dp_id,
adr_account_no,
ADR_ADDRESS_LINE_1 || ' ' ||
ADR_ADDRESS_LINE_2 || ' ' ||
ADR_ADDRESS_LINE_3 || ' ' ||
ADR_ADDRESS_LINE_4 as ADDRESS,
adr_pin_code,adr_phone_no,adr_fax_no
from dwh.beneficiary_address_dim where adr_type_id = 4) CORR_ADD_DIM,
(Select adr_dp_id,
adr_account_no,
ADR_ADDRESS_LINE_1 || ' ' ||
ADR_ADDRESS_LINE_2 || ' ' ||
ADR_ADDRESS_LINE_3 || ' ' ||
ADR_ADDRESS_LINE_4 as ADDRESS,
adr_pin_code,adr_phone_no,adr_fax_no
from dwh.beneficiary_address_dim where adr_type_id = 6) MINOR_ADDRESS,
(Select rp.requestid as requestid,
decode(rp.value,'ALL','ALL','','ALL',decode(substr(rp.value,1,instr(rp.value,'|',1,1)-1),'','ALL',substr(rp.value,1,instr(rp.value,'|',1,1)-1))) as Name,
decode(rp.value,'ALL','ALL','','ALL',decode(substr(rp.value,(instr(rp.value,'|',1,1)+1),((instr(rp.value,'|',1,2))-(instr(rp.value,'|',1,1)+1))),'','ALL',substr(rp.value,(instr(rp.value,'|',1,1)+1),((instr(rp.value,'|',1,2))-(instr(rp.value,'|',1,1)+1))))) as Address,
decode(rp.value,'ALL','ALL','','ALL',decode(substr(rp.value,(instr(rp.value,'|',1,2)+1)),'','ALL',substr(rp.value,(instr(rp.value,'|',1,2)+1)))) as PAN
from disadmin.requestparameters rp, disadmin.requestparameters rps, disadmin.reportrequests rr
where rp.parameterid = 'CNAS_PARAM_VALUE'
and rr.status = 'A'
and rp.requestid = rr.id
and rp.id = rps.id) P_PARAM_VALUE,
(Select rp.requestid as requestid, rp.value as Type
from disadmin.requestparameters rp, disadmin.reportrequests rr
where rp.parameterid = 'CNAS_NAME_TYPE'
and rr.status = 'A'
and rp.requestid = rr.id) P_NAME_TYPE,
(Select rp.requestid as requestid, rp.value as Addtype
from disadmin.requestparameters rp, disadmin.reportrequests rr
where rp.parameterid = 'CNAS_ADDRESS_TYPE'
and rr.status = 'A'
and rp.requestid = rr.id) P_ADDRESS_TYPE
where ( 1= case when P_NAME_TYPE.Type = 'F' then
case when BEN_DIM.BDM_FIRST_HOLDER_NAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_FIRST_HOLDER_NAME||'%','%'||P_PARAM_VALUE.Name||'%')
or BEN_DIM.BDM_FIRST_HOLDER_SURNAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_FIRST_HOLDER_SURNAME||'%','%'||P_PARAM_VALUE.Name||'%')
then 1
else null end
else
case when P_NAME_TYPE.Type = 'ALL' then
case when (BEN_DIM.BDM_FIRST_HOLDER_NAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_FIRST_HOLDER_NAME||'%','%'||P_PARAM_VALUE.Name||'%')
or BEN_DIM.BDM_FIRST_HOLDER_SURNAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_FIRST_HOLDER_SURNAME||'%','%'||P_PARAM_VALUE.Name||'%'))
and BEN_DIM.BDM_SECOND_HOLDER_NAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_SECOND_HOLDER_NAME||'%','%'||P_PARAM_VALUE.Name||'%')
and BEN_DIM.BDM_THIRD_HOLDER_NAME like DECODE(P_PARAM_VALUE.Name,'ALL','%'||BEN_DIM.BDM_THIRD_HOLDER_NAME||'%','%'||P_PARAM_VALUE.Name||'%')
then 1
else null end
else null end
end )
and BEN_DIM.BDM_IT_PAN like DECODE(P_PARAM_VALUE.PAN,'ALL','%'||BEN_DIM.BDM_IT_PAN||'%','%'||P_PARAM_VALUE.PAN||'%')
and (1 = case when P_ADDRESS_TYPE.ADDTYPE = 1 then
case when instr(PERMANENT_ADD_DIM.ADDRESS, DECODE(P_PARAM_VALUE.ADDRESS,'ALL',PERMANENT_ADD_DIM.ADDRESS, P_PARAM_VALUE.ADDRESS)) <> 0
then 1
else null end
when P_ADDRESS_TYPE.ADDTYPE = 3 then
case when instr(NOM_GUARDIAN_ADD_DIM.ADDRESS, DECODE(P_PARAM_VALUE.ADDRESS,'ALL',NOM_GUARDIAN_ADD_DIM.ADDRESS, P_PARAM_VALUE.ADDRESS)) <> 0
then 1
else null end
when P_ADDRESS_TYPE.ADDTYPE = 4 then
case when instr(CORR_ADD_DIM.ADDRESS, DECODE(P_PARAM_VALUE.ADDRESS,'ALL',CORR_ADD_DIM.ADDRESS, P_PARAM_VALUE.ADDRESS)) <> 0
then 1
else null end
when P_ADDRESS_TYPE.ADDTYPE = 6 then
case when instr(MINOR_ADDRESS.ADDRESS, DECODE(P_PARAM_VALUE.ADDRESS,'ALL',MINOR_ADDRESS.ADDRESS, P_PARAM_VALUE.ADDRESS)) <> 0
then 1
else null end
else null end );The above query also tries to access some tables from another user DISADMIN. Could you please help me in solving this problem while using SQL Tuning Advisor ? I am the only DBA here.will the rows really be updated just by using the package?Considering DMLs
SQL> select * from test
2 /
NO
1
2
SQL> ed
Wrote file afiedt.buf
1 DECLARE
2 my_task_name VARCHAR2(30);
3 my_sqltext CLOB;
4 BEGIN
5 my_sqltext := 'insert into test values (3)';
6 my_task_name := DBMS_SQLTUNE.CREATE_TUNING_TASK(
7 sql_text => my_sqltext,
8 task_name => 'my_sql_tuning_task');
9* end;
SQL> /
PL/SQL procedure successfully completed.
SQL> BEGIN
2 DBMS_SQLTUNE.EXECUTE_TUNING_TASK( task_name => 'my_sql_tuning_task' );
3 END;
4 /
PL/SQL procedure successfully completed.
SQL> select * from test
2 /
NO
1
2
SQL> SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK( 'my_sql_tuning_task')
2 FROM DUAL;
DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK')
GENERAL INFORMATION SECTION
Tuning Task Name : my_sql_tuning_task
Tuning Task Owner : TEST
Scope : COMPREHENSIVE
Time Limit(seconds): 1800
Completion Status : COMPLETED
Started at : 03/27/2008 05:16:14
Completed at : 03/27/2008 05:16:16
DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK')
Schema Name: TEST
SQL ID : gwkmgmyj9824t
SQL Text : insert into test values (3)
There are no recommendations to improve the statement.
-------------------------------------------------------------------------------Adith -
Hi All,
we tried to run SQL Tuning Advisor on one of our database version 11.2.0.2 on server AIX. However on running the advisor we faced some issues with undo tablespace error due to this application was down for sometime. Can anyone please share his experience how to go about this. I have never encounter this issue before
Thanks
ShaanHi;
>
we tried to run SQL Tuning Advisor on one of our database version 11.2.0.2 on server AIX. However on running the advisor we faced some issues with undo tablespace error due to this application was down for sometime. Can anyone please share his experience how to go about this. I have never encounter this issue beforeSome issues like? What is error message? What alert log mention? What have you been changed? Give more details please
Regard
Helios -
SQL tuning advisor in 11G.
Hi,
our dev guys given poor performance query to me to tune.
Can any one able to provide me steps to get recommendation from SQL tuning advisor by creating tuning task for a manually specified statement.
Version : 11.1.0.6.0
OS : SunOS 5.10
Thanks in advance!
GovinHi,
Thanks for your reply,
Creation of SQL Tuning Task failed due to below one,
"to_char(max(r.ts), 'mm/dd/yyyy') viewrequest_lastdate"
saying like
ERROR at line 8:
ORA-06550: line 8, column 22:
PLS-00103: Encountered the symbol "MM" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || member submultiset
The symbol "*" was substituted for "MM" to continue.
Then i have replaced with
"to_char(max(r.ts), :bnd) viewrequest_lastdate". After this task is created & executed. Right now, im getting below error.. plz advice.
GENERAL INFORMATION SECTION
Tuning Task Name : my_sql_tuning_task
Tuning Task Owner : SYS
Workload Type : Single SQL Statement
Scope : COMPREHENSIVE
Time Limit(seconds) : 60
Completion Status : COMPLETED
Started at : 10/26/2010 13:36:09
Completed at : 10/26/2010 13:36:13
Schema Name: METRICS
SQL ID : 71kzxnt9vb91q
SQL Text : select p.prfl_id profile_id, p.prfl_src profile_source,
p.prfl_nme profile_name,getDistinctUserIDTypes
(wm_concat(distinct u.usr_ty_cd)) user_id_type,count(distinct
u.usr_id || u.usr_id_src) userid_count, count(e.nttl_id)
entitlement_count,to_char(max(r.ts), :bnd) viewrequest_lastdate
from TABLE1 d, TABLE2 a,TABLE 3 u, TABLE4
e, TABLE 5 r,TABLE6 p, TABLE7 z where
d.dept_id = a.dept_id and d.dept_id = z.dept_id (+) and
a.glbl_id = u.glbl_id and u.usr_id = e.usr_id and u.usr_id_src =
e.usr_id_src and e.prfl_id = p.prfl_id and e.prfl_src =
p.prfl_src and e.lst_rvw_rqst_id = r.rqst_id(+) and (d.mgr_glbid
= :bnd OR z.TO_GLBL_ID = :bnd) and p.prfl_id is not null group
by p.prfl_id, p.prfl_src, p.prfl_nme order by p.prfl_id
ERRORS SECTION
- ORA-01008: not all variables bound
Thanks
Govin -
SQL tuning Advisor for old statements
Hi all,
i've identified SQL ID (through snapshots AWR) that make me performance problem. This is a old select statement (Mar 10, 2008) and when i try to run sql tuning advisor, it shows me this error:
"There was a problem creating a SQL tuning task. ORA-13780: SQL statement does not exist. ORA-06512"
I've set AWR for retain 60 days of Snapshot Retention, why i can't run tuning advisor for this statement??
thanks very much for answers.
AndreaHi
The problem is that the information of AWR is based on Historical information that Oracle retrieve of historical tables . AWR means Automatic Workload Repository.
But when you execute the SQL tuning advisor task, Oracle needs retrieve the information of sql statement from SHARED POOL.
The Library Cache is a part of Shared pool and contains an area named SQLAREA that stored information of execution plan for sql statements. This memory area is managed by LRU alghoritm.(last recently used) and the error is produced because this sql statement not is stored in this memory area.
When the sql stament not reside in memory Oracle can't build the execution plan and then the error appear
Regards -
Dear all,
We have installed oracle 11g on solaris. We have configured EM with this DB.. Is there anyway I can check a query using sql tuning advisor in oracle 11g. ? .. I tried, but I couldn't find the exact navigation ?. I need to submit th query and get the advise from sql tuninig advisor ?
Please guide
KaiOEM db console ?
Am doing this for educational purpose and not in production
kai -
Oracle11g standarad Edititon-Sql tuning Advisor
Hi,
Do we have provision to tune the query using sql tuning advisor in oracle 11g r1 Standard Edition SE
Thanks
mafaizMafaiz,
Tuning & Diagnostic Packs are available in Enterprise Edition only
Oracle Database - Standard Edition & Diagnosis Pack???
Thanks,
Ajay More
http://www.moreajays.com -
Stucked between SQL Tuning Advisor and and SQL statement
Hi,
There is an important query running on my system which consists
MEMBER OF function.
At first place let me explain why i used MEMBER OF,
I am sending a string( eg : #123#124#125) to query and a function converts this string into a number array.
After then I use this number array inside my sql.
The reason I am using this structure, in order to generate a dynamic IN statement inside my sql. (IF you have any other solution that would be great)
The most important point is; when I put this statement to SQL Tuning Advisor the response is only ORA-00932: inconsistent datatypes: expected UDT got CHAR
Any answer will be greatly appreciated.
ThanksSolomon Yakobson wrote:
Object oriented stuff almost never provides better performance over relational. You should stay away from MEMBER OF if performance is a factor. Instead of:
WHERE expr MEMBER OF nested-tableI'd test:
WHERE expr IN (SELECT column_value FROM TABLE(nested-table))SY.
expr IN (SELECT COLUMN_VALUE FROM TABLE (CAST (v_type_number_table AS type_number_table)))worked like a charm. i hope tuning advisor will like it as i do.
thanks. -
Change automatic SQL Tuning Advisor time
Hi All,
can anyone help me in changing "automatic SQL Tuning Advisor" job timingsm because currently it is scheduled during peak hours , i want to change it to evening 6 pm daily.Because during peak hours it is taking more cpu and taking one hour.
Wed May 08 08:00:10 2013
Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
Wed May 08 08:05:47 2013
thanks
MappsHello,
Here's what you can do,
Create a new window to the time you want it to run:
EXEC dbms_scheduler.create_window(window_name => 'YOUR_WINDOW_NAME',
duration => numtodsinterval(1, 'hour'),
resource_plan => 'DEFAULT_MAINTENANCE_PLAN',
repeat_interval => 'FREQ=DAILY;BYHOUR=18;BYMINUTE=0;BYSECOND=0');>
The above window would be in effect from 6 pm to 7 pm.
Then, disable automatic sql_tuning and then re-enable it to run on the window you just created:
EXEC DBMS_AUTO_TASK_ADMIN.DISABLE(client_name => 'sql tuning advisor',
operation => NULL,
window_name => NULL);>
and now set it to run to your window:
EXEC DBMS_AUTO_TASK_ADMIN.ENABLE(client_name => 'sql tuning advisor',
operation => NULL,
window_name => 'YOUR_WINDOW_NAME'); -
SQL Tuning Advisor against the session (is it poosible)
My Company customer has observed that there is job that are running longer than expected running(5 days).
They did not gave any information.they want me to run
SQL Tuning Advisor against the session running this job.
can you run sql tunning advisor against running session?
if so how
Please suggest me your valuable tips so that I approach this work properly.
DB = 11g
OS= Solaris 10>
...SQL Tuning Advisor against the session running this job.
can you run sql tunning advisor against running session?
>
SQL Tuning Advisor is run on statements and not sessions. I don't do much with SQL Tuning Advisor, but I'd consider that current running sessions a lost cause until it completes or you kill it. You can see the "estimate" of how long that current running SQL is going to take in v$session_longops. You can use a script like Tanel's sw.sql
http://blog.tanelpoder.com/2008/01/08/updated-session-wait-script/
to see what the wait interface has to say.
>
Please suggest me your valuable tips so that I approach this work properly.
>
My approach for this would be to determine what the current explain plan is and compare it to one that ran (correctly) in the past and then try to determine why it changed. (bad stats, dropped index, parameter changes, etc).
Cheers. -
SQL Tuning Advisor Recommends New Explain Plan
Hi:
I have to believe this has been asked before but didn't see it in a forum search so I'll ask here. I had SQL Tuning Advisor look at a query and it is recommending a new plan for a 50+% improvement (hazah!). The trouble is, I don't want Oracle to re-write the plan to execute the query better, I want to know how I can re-write the query to generate that more optimal plan in the first place because I have similar systems in the field that I would like to also be optimized. What are my options?
Thanks.Sorry Gaff I know where you are talking about but I don't have your answer, but it may be a good start going over the 19g reference guide for these dictionary views -
SQL> select view_name from dba_views where view_name like 'DBA%ADVISOR%' ;
VIEW_NAME
DBA_ADVISOR_DEFINITIONS
DBA_ADVISOR_COMMANDS
DBA_ADVISOR_OBJECT_TYPES
DBA_ADVISOR_USAGE
DBA_ADVISOR_TASKS
DBA_ADVISOR_TEMPLATES
DBA_ADVISOR_LOG
...Best regards. -
Enterprise Manager - sql tuning advisor , Access advisor for SQL Tuning
Hi,
NO I mean in oracle 10g you have the enterprise manager which can be used to tune sql statements using the SQL ADvisor and SQL access advisor.
I believe in oracle 10g the process of SQL Tuning is slightly easier using the Enterprise Manager ...so if some one could explain me that process...
Again thanking you in advance
regds
Manoj GokhaleHi Manoj,
tune sql statements using the SQL ADvisor and SQL access advisor.Do you have the OEM extra cost "performance pack"?
The OEM screens are fairly self-explainatory, but here are some references on the 10 SQL tuning advisors:
http://www.oracle-base.com/articles/10g/AutomaticSQLTuning10g.php
http://www.remote-dba.net/oracle_10g_tuning/t_oracle_sql_tuning_advisor_session_example.htm -
Differernce between SQL Tuning Pack and SQL Tuning Advisor, Access Advisor
Hi. all.
I have been using "TKPROF" in order to tune SQL till now.
I am learning 10g, and would like to know the difference
between "1. SQL Tuning Pack" and "2. SQL Tuning Advisor, Access Advisor".
Are they same thing? If not, what are the differences in their "functionality"?
All I know is that SQL Tuning Pack is not free, and SQL Tuning Advisor
is packed with default installation. Right???
Could you give me some html links or your "any advice and experience"?
Thanks in advance. Have a good day.
Best Regards.Hi,
There are alternatives to the Oracle tuning packs, and remember the SQL advisors are relatuively simple, finding missing indexes and recommending MV's.
A human can do a better job if you use the right techniques.
BTW, you can get a SQLTuning advisor license online for only $3k:
http://www.dba-oracle.com/oracle_news/2005_3_17_dql_tuning_access_advisor_licenses_available_online.htm
SHAMELESS PITCH! - I wrote a book that describes techniques for tuning with scripts, instead of the advisors, if you are interested:
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm
Hope this helps. . . .
Donald K. Burleson
Oracle Press author -
Feature option request - SQL Tuning Advisor
Hi,
Love the ability we can run SQL Tuning Advisor so easily in SQL Developer, this is how it should be simple. However we can not specify a few parameter like: time_limit, task_name and description. Would be helpful to have these options, especially increasing the time_limit option!At least the limit will be increased: 3.0 Tuning Advisor Times Out
Regards,
K.
Maybe you are looking for
-
'IF' statement in a select statment?
I have the following cursor in a package specification; cursor c_sales_code is select sales_condition||' MC '||sales_option from sales;This will return something like: 'T300 MC 9' MC means 'multiple choice' for when there are multiple options. Althou
-
Can I move "keepsakes" from one iPhoto library to another?
For one reason or another a specific "keepsake" photobook was created in an iPhoto library that only contained a subset of all my photos. Now I would like to integrate this specific photobook into the iPhoto library that contains ALL my photos, such
-
Hi, My problem with my cellphone nokia c3 cant open, before that happen i receive a text message but it is blank so i think the cellphone have malfunction so i try to restart my cellphone then it shut down and then i cannot open anymore, i try to cha
-
DLO Homedock Deluxe + Album Art on TV w/Classic...
Has anyone here with the latest model of the DLO Homedock Deluxe been able to get album art displayed on their TV with it while using an iPod Classic? I understand that between firmware updates from Apple and DLO, the video-out issue has been resolve
-
ITunes 10.6 crashes repeatedly
New version just downloaded and has crashed approx 8 to 10 times. So I reloaded the iTunes 10.6 , rebooted and experienced the same behavior. Trashed the new version, so now I have no iTunes. Don't see any opportunity to reload older version except b