How to amend this PL/SQL COMMANDS?
if :TRANSACTION.SHOW_DATE> TRANSACTION.TRANSACTION_DATE
THEN
MESSAGE ('MOVIE SHOW_DATE SHOULD BE at most 3 DAYS after TRANSACTION');
RAISE FORM_TRIGGER_FAILURE;
else
message('OK');
end if;
(TABLE, VIEW OR SEQUENCE REFERENCES 'TRANSACTION.TRANSACTION_DATE' NOT ALLOWED IN THIS CONTEXT.
In fact, I want to do the thing quoted in the MESSAGE of the command.
Prefix transaction.transaction_date with colon.
if :transaction.show_date > :transaction.transaction_date
(I am assuming that transaction is a block in Oracle Forms).
Similar Messages
-
I am having trouble when people ring me I have to use the speaker for people to hear and understand what I'm saying.any suggestions on how to amend this problem as it is now starting to get annoying.
if your have tried powering it off then i would back up your information import picture and then restore your phone to new in itunes. if that doesnt work then it is hardware. at that point if your with in your limited hardware warranty it is free if your not its a out of warranty repair for 149$
-
How to Achieve this in SQL Query?
How to Achieve this ?
I have a table with numeric value populated like this
create table random_numeral (numerals Number(10));
insert into random_numeral values (1);
insert into random_numeral values (2);
insert into random_numeral values (3);
insert into random_numeral values (4);
insert into random_numeral values (5);
insert into random_numeral values (6);
insert into random_numeral values (56);
insert into random_numeral values (85);
insert into random_numeral values (24);
insert into random_numeral values (11);
insert into random_numeral values (120);
insert into random_numeral values (114);
Numerals
1
2
3
4
5
6
56
85
24
11
120
114
I want to display the data as follows
col1 / col2 / col3
1 / 2 / 3
4 / 5 / 6
11 / 24 / 56
85 / 114 / 120
Can anyone Help me?I hope there might be some simple way to do this and waiting for experts to reply.
Try the below query.
SQL> select * from random_numeral;
NUMERALS
1
2
3
4
5
6
56
85
24
11
120
NUMERALS
114
100
140
14 rows selected.
SQL> select a.numerals ||' / '||b.numerals||' / '||c.numerals from
2 (select numerals,rownum rn1 from
3 (
4 select numerals,mod(row_number() over(partition by 1 order by numerals),3)
5 from random_numeral
6 )
7 where rn=1) a,
8 (select numerals,rownum rn1 from
9 (
10 select numerals,mod(row_number() over(partition by 1 order by numerals),3)
11 from random_numeral
12 )
13 where rn=2) b,
14 (select numerals,rownum rn1 from
15 (
16 select numerals,mod(row_number() over(partition by 1 order by numerals),3)
17 from random_numeral
18 )
19 where rn=0) c
20 where a.rn1=b.rn1(+)
21 and b.rn1=c.rn1(+)
22 /
A.NUMERALS||'/'||B.NUMERALS||'/'||C.NUMERALS
1 / 2 / 3
4 / 5 / 6
11 / 24 / 56
85 / 100 / 114
120 / 140 /
SQL>Cheers,
Mohana -
How to Improve this PL/SQL script
Hi All,
I have a package/procedure that insert data into table but it takes time more than 2 days. Have any known how to modify this script to improve the performance and reduce loading time, The following code is procedure I used to insert data.....
Procedure INSERT_DATA (p_month IN DATE, p_product_id IN NUMBER ) IS
cursor c1 is select * from tab#1; --reference data
cursor c2 is select * from tab#2;
cursor c3 is select * from tab#3;
cursor c4 is select * from tab#4;
cursor c5 is select * from tab#5;
v_rec claim_table%rowtype;
Begin
for c1rec in c1 loop
exit when c1%notfound;
call procedure in package....;
open c2(c1rec.claim_no);
fetch c2 into v_location_cd ,v_claim_type_cd ;
close c2;
v_rec.location_cd := v_location_cd;
v_rec.claim_type_cd := v_claim_type_cd ;
open c3(c1rec.claim_no);
fetch c3 into v_col#3,v_col#4;
close c3;
v_rec.col#3 := v_col#3 ;
v_rec.col#4 := v_col#4 ;
open c4(c1rec.claim_no);
fetch c4 into v_col#5,v_col#6;
close c4;
v_rec.col#5 := v_col#5 ;
v_rec.col#6 := v_col#6 ;
insert into claim_table values ( v_rec.location_cd, v_rec.claim_type_cd , v_rec.col#3 , .......) ;
if (c1%rowcount/1000) = trunc(c1%rowcount /1000) then
commit;
end if;
end loop;
commit;
Exception
exception statement....
commit;
End;
Thanks All,
MckaA copy and paste of a reply I posted just a hour or so ago to the exact same approach used by a poster in [url http://forums.oracle.com/forums/thread.jspa?threadID=636929]this thread.
Yucky code IMO. You are using PL/SQL to drive a nested loop join. Why? SQL is by far more capable of joining tables and is not limited to a using a nested loop approach only.
Also, as you are using PL/SQL to drive it, it means that each cursor fetch in each (nested) FOR loop is a slow context switch from PL/SQL to SQL, in order to ship the row's data from the SQL engine to the PL/SQL engine. Only then to have that very same data shipped back (via yet another context switch) to the SQL engine to be inserted into table4.
This code violates one of the most rudimentary performance principles in Oracle - it is not maximizing SQL and it it not minimizing PL/SQL. It is doing the exact opposite.
As for the ad-hoc commits inside the loop - this does not make much sense. This will generate more redo and more overheads. Also, when something goes pear shape in that process, some rows would have been processed and inserted and committed. Some not.
In this case, how do you expect to restart the failed process at the very first row that failed to be committed and continue processing from there? -
Here is one for the tekkies. How to do this in SQL?
Input : String 541862356
Table has 2 columns:
SNO SLENGTH
5418 4
54186 5
54321 5
Output should be 54186.
We don't have any other input. i.e. we have to get the closest match for the input string.
How to do this??
Edited by: user12240205 on May 3, 2012 10:51 PMuser12240205 wrote:
We don't have any other input. i.e. we have to get the closest match for the input string.You haven't explained what "closest match" actually means.
Something as simple as this could do what you want with the sample data you've provided...
SQL> ed
Wrote file afiedt.buf
1 WITH t AS (SELECT 5418 sno, 4 cnt FROM DUAL UNION
2 SELECT 54186, 5 FROM DUAL UNION
3 SELECT 54321, 5 FROM DUAL)
4 ,r as (select 541862356 as r from dual)
5 --
6 -- end of test data
7 --
8 select max(sno)
9 from t,r
10* where instr(r, sno) > 0
SQL> /
MAX(SNO)
54186... without the need for any Henry Winkler matching stuff (as we affectionately call it round here). -
How to replace data in sql command
Hi all
if i had one column data like
http://localhost:123
http://localhost:123 a
http://localhost:123 bg
http://localhost:123 fdasf
does any sql command line or method i can use to relace this column data?
the relace it should be like
http://127.0.0.1:123
http://127.0.0.1:123 a
http://127.0.0.1:123 bg
http://127.0.0.1:123 fdasf
regardHi all
if i had one column data like
COL1 COL2
http://localhost:123
http://localhost:123 a
http://localhost:123 bg
http://localhost:123 fdasf
does any sql command line or method i can use to
relace this column data?
the relace it should be like
COL1 COL2
http://127.0.0.1:123
http://127.0.0.1:123 a
http://127.0.0.1:123 bg
http://127.0.0.1:123 fdasf
regardselect replace(col1,'localhost','127.0.0.1') column1, col2 from table;
Good Luck -
How to transform this PL/SQL request into a PL/SQL function ?
Hi nice people !
I have a beautiful flash chart which SQL code is below. I want to display this chart only if this query returns results. I tried to put it as condition. How to transformt this SQL ciode as "SLQ Function returning a boolean" ?
DECLARE
X VARCHAR2 (4000);
BEGIN
x :=
'SELECT NULL LINK, trunc(a.DATE1, '''||:P13_TRUNC||'''), avg(b.pourcentage_remplissage)
FROM EVV_'||:P13_SITE||' a, bassin_remplissage b
WHERE a.CLEF_VAR = (SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE='''||:P13_SITE||''')
AND round(a.valeur, 1) = b.cote_ngf
AND DATE1 BETWEEN
TO_DATE ('''||:P13_DATE_DEBUT||'000000'', ''DD/MM/YYYYHH24MISS'') AND
TO_DATE ('''||:P13_DATE_FIN||'235959'', ''DD/MM/YYYYHH24MISS'')
group by trunc(a.DATE1, '''||:P13_TRUNC||''')
ORDER BY trunc(a.DATE1, '''||:P13_TRUNC||''')';
RETURN (X);
END;Thank you for your kind answers.
ChristianHello Christian,
>> I don't understand your input
Your error is most likely because the dynamic select statement you are trying to build is not correct. As local variables, like the ‘x’ you are using, are not persistence, it’s probably hard for you to see the final value of x.
You should define an application item, like TEMP1, and use it to hold the generated select statement:
BEGIN
:TEMP1 := 'SELECT COUNT(*) INTO WWV_FLOW.g_id
FROM EVV_'
|| :p13_site
|| ' a, bassin_remplissage b
WHERE a.CLEF_VAR = (SELECT CLEF_VAR FROM SITE_ECHELLE WHERE SITE='''
|| :p13_site
|| ''')
AND round(a.valeur, 1) = b.cote_ngf
AND DATE1 BETWEEN
TO_DATE ('''
|| :p13_date_debut
|| '000000'', ''DD/MM/YYYYHH24MISS'') AND
TO_DATE ('''
|| :p13_date_fin
|| '235959'', ''DD/MM/YYYYHH24MISS'')
group by trunc(a.DATE1, '''
|| :p13_trunc
|| ''')
ORDER BY trunc(a.DATE1, '''
|| :p13_trunc
|| ''')';
return false;
END;Now the process should be evaluated without errors, and TEMP1 should hold the select statement that produces the error. Now, using the developer toolbar, you can inspect the actual select statement ant analyze its syntax and format.
Once you’ll find the error in the select statement, you can go back to Denes original code proposal.
Regards,
Arie.
Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all. -
How to view previously executed sql commands?
Hi experts,
I want to view the sql commands executed in Oracle 8i before 3 or 4 hrs.That is i am asking to view the command history.Can any one help me in this weird situation?Anytype of suggestion were welcme..
Thanx in Advance,
SenthilYou can use LOG MINER utility to check the commands that has been executed.
Use v$log_history view to check the exact log sequence number of the redo log file, and there by you can use that log file with log miner.
Using this method you can't see the DQL commands that has been executed against the database, apart from this all other commands can be seen..
cheers
kumareshan -
How to create db using sql commands?
Had logged in to default database with the default login nmae and password. Under this default database, am i able to create another database in it? If so, what is the sql command to create/delete the new db?
Chapter 2
http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96521.pdf
Joel P�rez -
How to create backup using sql commands
can i create a backup using sql/sqlplus commands
I would actually advice you to use RMAN, instead of backup using sql commands, but if you want or have a requirment to do so..
First off all you should ensire that your databasse is in archilog mode.. (ALL PRODUCTION DATABASES should be in archivelog mode)
you can do it using sql*plus
archive log list
Then if you would like to make a cold backup (the only one posible in noarchivelog mode)
ypu have to
shutdown immediate
copy all database files (you don't need to copy redo logs) to another device
startup - to startup database
Actually I will suggest that your read User manager Recovery guide from oracle documentation
tahiti.oracle.com
Best Regards
Krystian Zieja / mob -
How to Update this T-SQL Table?
Hello,
I am having trouble finding the correct syntax for updating this T-SQL table.
Here is my Query which is adding an additional ' at the beginning and end.
Query:
Update [denodo].[dbo].[wrappers]
SET wrapperWhereClause = '''AND County_Input=''Cheyenne & Arapaho Tribal Court'' AND WrapperID=729'''
WHERE wrapperID = '729'
The Outcome:
'AND County_Input='Cheyenne & Arapaho Tribal Court' AND WrapperID=729'
The Outcome I am hoping for:
AND County_Input='Cheyenne & Arapaho Tribal Court' AND WrapperID=729
Can anyone help me edit this so I can receive the outcome I am hoping for?>> Please learn
I am having trouble finding the correct syntax for updating this T-SQL table. Here is my Query [sic] which is adding an additional ' at the beginning and end. <<
Please learn basic terms so
we can communicate. UPDATE is a statement and not a query. You do not know ISO-11179 rules, etc.
Why are you building statements in SQL? You are doing bad SQL programming
and need to stop. Your silly meta-data “wrapper_where_clause” and “county_input” is so fundamentally wrong I would fire you. Look at what I have done
with SQL and see what a criticism that is!
UPDATE Wrappers
SET ??
WHERE county_something =
'Cheyenne & Arapaho Tribal Court'
AND wrapper_id = '729';
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
m doing a quarterly report and my database only collects the year and month fields.
i currently have this condition in my periodic/monthly report
WHERE
period= '@Request.Period~' and
year = '@Request.Year~'
how do you do this so that when the user inputs quarter 1, the condition becomes "from period 1 to 3". when the user inputs quarter 2, the condition becomes "from period 4 to 6" etc?>well, the users input would only be 1,2,3,4 which stands for the quarter.
I misunderstood your original post. Please try;
old: with t as (
select to_date('01-JAN-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('28-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('31-MAR-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-APR-2007','DD-MON-YYYY') dt from dual union all
select to_date('30-APR-2007','DD-MON-YYYY') dt from dual)
select dt
from t
where trunc(dt,'Q')= add_months(trunc(to_date('&year','YYYY'),'y'),(&quarter-1)*3)
new: with t as (
select to_date('01-JAN-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('28-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('31-MAR-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-APR-2007','DD-MON-YYYY') dt from dual union all
select to_date('30-APR-2007','DD-MON-YYYY') dt from dual)
select dt
from t
where trunc(dt,'Q')= add_months(trunc(to_date('2007','YYYY'),'y'),(1-1)*3)
SQL> with t as (
select to_date('01-JAN-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('28-FEB-2007','DD-MON-YYYY') dt from dual union all
select to_date('31-MAR-2007','DD-MON-YYYY') dt from dual union all
select to_date('01-APR-2007','DD-MON-YYYY') dt from dual union all
select to_date('30-APR-2007','DD-MON-YYYY') dt from dual)
select dt
from t
where trunc(dt,'Q')= add_months(trunc(to_date('2007','YYYY'),'y'),(1-1)*3)
DT
01-JAN-07
01-FEB-07
28-FEB-07
31-MAR-07
4 rows selected. -
How to get the correct sql command in oracle?
Hi sir,
i am using this query in sql that is :
SELECT C.*,ISNULL(P.Comp_Name,'') + ' (' + ISNULL(P.Comp_ID,'') + ')' Parent FROM Comp_Master C LEFT JOIN Comp_Master P ON C.Parent_ID = P.Comp_ID Where C.Comp_ID='004'
so i am getting in parent column value like this: "PARIS GROUP (001)"
but the same command i converted in sql developer that is:
SELECT C.* ,NVL(P.Comp_Name, ' ') || ' (' || NVL(P.Comp_ID, ' ') || ')' as Parent FROM Comp_Master C LEFT JOIN Comp_Master P ON C.Parent_ID = P.Comp_ID WHERE C.Comp_ID ='004'
but not getting in parent column value its coming only ( )
help me.
thanksWelcome to Oracle.
It has manuals.
http://tahiti.oracle.com/
Choose your version, which you continue to keep a mystery
E.g.
http://www.oracle.com/pls/db112/homepage
Including Oracle SQL syntax
http://docs.oracle.com/cd/E11882_01/server.112/e26088/toc.htm
Which you will find useful since Oracle does not run Microsoft SQL as you continue to find over and over again.
And there is a 2 day getting started as a developer guide, which you appear to desperately need,
http://docs.oracle.com/cd/E11882_01/appdev.112/e10766/toc.htm
If you have any specific questions about anything you read in there, come back in a couple of days after you have finished reading them. -
How to do this in SQL or User defined Function?
Hello All
I have a table STATUS_CODES which has values like this
HRKEY ITEMKEY
HRAS 1
HVAS 1
HXAS 1
SMST 2
SLRS 2
HWAS 2
PAYT 3
The HRKEY is unique
Same ITEMKEY may be applied to different HRKEY (Item keyhas fixed values 1, 2, 3)
Now I have a function which can return values like one of these(any combination of HRKEYseparated by a dash) which is captured in a variable called LAST_STATUS
HRAS-PAYT
HRAS-SMST-PAYT
PAYT
HRAS
HXAS
HRAS-HVAS-PAYT
HRAS-HVAS-SMST-SLRS-PAYT
HRAS-HVAS-SMST
Now I want my query or function to do this
If one of the values in the LAST_STATUS string matches STATUS_CODES.HRKEY, then it should return that HRKEY based on the priority below
If Itemkey = 1 then it should return HRKEY for ITEMKEY = 1
Then 2 and then 3
If there are more than one HRKEY for same ITEMKEY then it should return any one of them
SO for eg.
If LAST_STATUS = HRAS-HVAS-SMST-SLRS-PAYT, then Output = HRAS
If LAST_STATUS = SLRS-PAYT, then Output = SLRS
If LAST_STATUS = PAYT, then Output = PAYT
Thank you for your help
AchWith Scotts setup script
flip@FLOP> var str varchar2(1000);
flip@FLOP> exec :str := 'HRAS-HVAS-SMST-SLRS-PAYT';
PL/SQL procedure successfully completed.
flip@FLOP>
flip@FLOP> with a as
2 ( select :str last_status from dual )
3 ,b as
4 (select '-'||last_status str, rownum rn from a connect by level <= length(last_status) )
5 ,c as
6 (select str, rn
7 ,instr(str,'-',1,rn ) f
8 ,instr(str,'-',1,rn+1) t
9 from b
10 where instr(str,'-',1,rn) > 0
11 )
12 ,d as
13 ( select c.*, decode(t,0,substr(str,f+1),substr(str,f+1,t-f-1)) x
14 from c
15 )
16 ,e as
17 (
18 select d.*, s.itemkey, row_number() over (order by s.itemkey, d.x) rnk
19 from d, status_codes s
20 where d.x = s.hrkey
21 )
22 select x hrkey
23 from e
24 where rnk = 1
25 ;
HRKEY
HRAS
flip@FLOP> exec :str := 'SLRS-PAYT'
PL/SQL procedure successfully completed.
flip@FLOP> /
HRKEY
SLRS
flip@FLOP> exec :str := 'PAYT'
PL/SQL procedure successfully completed.
flip@FLOP> /
HRKEY
PAYT
flip@FLOP> exec :str := null;
PL/SQL procedure successfully completed.
flip@FLOP> /
no rows selected
flip@FLOP> exec :str := 'HRAS-HVAS----SMST-SLRS-PAYT-HRAS-HVAS-PAYT-HRAS-HVAS-SMST-SLRS-PAYT-HRAS-HVAS-SMST-SLRS-PAYT--';
PL/SQL procedure successfully completed.
flip@FLOP> /
HRKEY
HRAS -
How to tune this smiple SQL (takes long time to come up with results)
the following SQL is very slow as it takes one day to complete...
select A.* from (SELECT a.n_agent_no, a.v_agent_code, a.n_channel_no, v_iden_no, a.n_cust_ref_no, a.v_agent_type, a.v_company_code,
a.v_company_branch, a.v_it_no, bfn_get_agent_name(a.n_agent_no) agentname,
PKG_AGE__TAX.GET_TAX_AMT(:P_FROM_DATE,:P_TO_DATE,:P_LOB_CODE,A.N_AGENT_NO) comm,
c.v_ird_region
FROM agent_master a, agent_lob b, agency_region c
WHERE a.n_agent_no = b.n_agent_no
AND a.v_agency_region = c.v_agency_region
--AND :p_lob_code = DECODE(:p_lob_code,'ALL', 'ALL',b.v_line_of_business)
--AND :p_channel_no = DECODE(:p_channel_no,1000, 1000,a.n_channel_no)
--AND :p_agency_group = DECODE(:p_agency_group,'ALL', 'ALL',c.v_ird_region)
group by a.n_agent_no, a.v_agent_code, a.n_channel_no, v_iden_no, a.n_cust_ref_no, a.v_agent_type, a.v_company_code, a.v_company_branch, a.v_it_no, bfn_get_agent_name(a.n_agent_no) ,
BPG_AGENCY_GEN_ACL_TAX.BFN_GET_TAX_AMOUNT(:P_FROM_DATE,:P_TO_DATE,:P_LOB_CODE,A.N_AGENT_NO),
c.v_ird_region
ORDER BY c.v_ird_region, a.v_agent_code DESC)
A
WHERE (COMM < :P_VAL_IND OR COMM >=:P_VAL_IND1);
. .it should return all the agents with commission based on the date parameter... data is less then 50 K inside all
the tables...
the version is Oracle9i Enterprise Edition Release 9.2.0.5.0
SQL> explain plan for
2 select A.* from (SELECT a.n_agent_no, a.v_agent_code, a.n_channel_no, v_iden_no, a.n_cust_ref_
no, a.v_agent_type, a.v_company_code,
3 a.v_company_branch, a.v_it_no, bfn_get_agent_name(a.n_agent_no) agentname,
4 BPG_AGENCY_GEN_ACL_TAX.BFN_GET_TAX_AMOUNT(:P_FROM_DATE,:P_TO_DATE,:P_LOB_CODE,A.N_AGENT_NO) com
m,
5 c.v_ird_region
6 FROM ammm_agent_master a, ammt_agent_lob b, gnlu_agency_region c
7 WHERE a.n_agent_no = b.n_agent_no
8 AND a.v_agency_region = c.v_agency_region
9 --AND :p_lob_code = DECODE(:p_lob_code,'ALL', 'ALL',b.v_line_of_business)
10 --AND :p_channel_no = DECODE(:p_channel_no,1000, 1000,a.n_channel_no)
11 --AND :p_agency_group = DECODE(:p_agency_group,'ALL', 'ALL',c.v_ird_region)
12 group by a.n_agent_no, a.v_agent_code, a.n_channel_no, v_iden_no, a.n_cust_ref_no, a.v_agent_ty
pe, a.v_company_code, a.v_company_branch, a.v_it_no, bfn_get_agent_name(a.n_agent_no) ,
13 BPG_AGENCY_GEN_ACL_TAX.BFN_GET_TAX_AMOUNT(:P_FROM_DATE,:P_TO_DATE,:P_LOB_CODE,A.N_AGENT_NO),
14 c.v_ird_region
15 ORDER BY c.v_ird_region, a.v_agent_code DESC)
16 A
17 WHERE (COMM < :P_VAL_IND OR COMM >=:P_VAL_IND1);
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
| 0 | SELECT STATEMENT | | 13315 | 27M| | 859 (63)|
| 1 | VIEW | | 13315 | 27M| | |
| 2 | SORT GROUP BY | | 13315 | 936K| 2104K| 859 (63)|
| 3 | HASH JOIN | | 13315 | 936K| | 641 (81)|
| 4 | MERGE JOIN | | 3118 | 204K| | 512 (86)|
| 5 | TABLE ACCESS BY INDEX ROWID| AGENCY_REGION | 8 | 152 | | 3 (34)|
| 6 | INDEX FULL SCAN | SYS_C004994 | 8 | | | 2 (50)|
| 7 | SORT JOIN | | 3142 | 147K| | 510 (86)|
| 8 | TABLE ACCESS FULL | AGENT_MASTER | 3142 | 147K| | 506 (86)|
| 9 | TABLE ACCESS FULL | AGENT_LOB | 127K| 623K| | 102 (50)|
Note: PLAN_TABLE' is old version
17 rows selected.
..This is the only information i can get as i cannot access over database server (user security limitation)...
Thank YouTry to remove this:
ORDER BY c.v_ird_region, a.v_agent_code DESCOr move it to the end of entire query.
Edited by: Random on Jun 19, 2009 1:01 PM
Maybe you are looking for
-
How to reuse a rejected IAP product ID
Hi, my application has been rejected because of a wrong IAP type. (should be non-renewable iso consumable). I've been asked to create a new IAP using the correct type, this way I don't have to upload a new binary and don't habe to get in line for rev
-
Amber Update not working!!!
hi all.. i went for the update in my lumia 720, everything went fine till the phone restarted.. After that, i am seeing the processing since 3 hurs, the screen shows two settings icon, rotating.. i am uunabl to do anything, triedhardrestarting, but s
-
Approach for managing Store IDs
Hi, What is a good approach for managing the IDs used for accessing the different application stores (Windows Phone Store, Itunes store, Google Play Store ...) when rolling out a mobile device solution such as Windows Intune? Is it something that a u
-
Getting GarageBand tracks from one computer to another?
I have a MacBook Laptop that I take with me to recording sessions. How can I get the recorded sessions onto my iMac to work, edit and finish the tracks?
-
BW Job running longtime after ECC upgrade
Hi, Recently we have upgraded our DEV and QA systems to EHP6.We started testing the data loads in BW, but for one of the master dataload it is taking very long time than the expected.It is taking morethan13 hours where is in PRD environtment it is ta