= %DateIn(:ml_gul_40a_wrk.date_from)";End-If;If All(DATE_TO) Then . I want to tune the sql query written on two field change peoplecode please help me to tune the query as it is very urgent i am pasting the query isAMT1 = 0;AMT2 = 0;AMT3 = 0;AMT4 = 0;If All(DATE_FROM) Then &FROM = " and asof_dt >= %DateIn(:ml_gul_40a_wrk.date_from)";End-If;If All(DATE_TO) Then . 0 members have posted answers.">
GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Oracle
Go To First  |  Previous Question  |  Next Question 
 Oracle  |  Question 70 of 244    Print  
I want to tune the sql query written on two field change peoplecode please help me to tune the query as it is very urgent i am pasting the query is
AMT1 = 0;
AMT2 = 0;
AMT3 = 0;
AMT4 = 0;
If All(DATE_FROM) Then
&FROM = " and asof_dt >= %DateIn(:ml_gul_40a_wrk.date_from)";
End-If;
If All(DATE_TO) Then
&TO = " and asof_dt <= %DateIn(:ml_gul_40a_wrk.date_to)";
End-If;
&WHERECLAUSE = " where cust_id =:ml_gul_40a_wrk.cust_id" | &FROM | &TO;
ScrollFlush(RECORD.ML_GUL_40A_VW);
ScrollSelect(1, RECORD.ML_GUL_40A_VW, RECORD.ML_GUL_40A_VW, &WHERECLAUSE);
SortScroll(1, RECORD.ML_GUL_40A_VW, ML_GUL_40A_VW.ASOF_DT, "D");

and the second query is :-

ScrollFlush(SCROLL.ML_GUL_40A_VW, CurrentRowNumber(), SCROLL.ML_GUL_DRILL_VW);
RowScrollSelect(2, RECORD.ML_GUL_40A_VW, CurrentRowNumber(), RECORD.ML_GUL_DRILL_VW, RECORD.ML_GUL_DRILL_VW);
&RETURN = DoModal(PANEL.ML_GUL_SEC_PANEL, "Details", - 1, - 1, 1, RECORD.ML_GUL_40A_VW, CurrentRowNumber());

  
Total Answers and Comments: 0 Last Update: September 27, 2006     Asked by: snehal 
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

No. Only the DDL(Data Definition Language )statements like create,alter,drop,truncate are auto commit.But the DML statements are should be saved by giving the commit statement after execute the query 
Latest Answer : DDL is Data Definition Language. DDL commands work on the table directly or on the table structure. By default it has auto commit.DML is Data Manipulation language that affects the data present in the table. Any addition or modification of data has to ...
Read Answers (4) | Asked by : srinivasan

Latest Answer : Never seen in oracle ...
Read Answers (5) | Asked by : srinivas

I am having WHEN-NEW-ITEM-INSTANCE trigger at Form, Block, Item level what is the sequence of execution? And if I want to change there sequence how I have to change?

I used oracle8i and report 6i. I want to print character mode report pagewise. e.g. in report there is 20 pages and I want to print out only 5 to 12 pages. How does it possible..? our application is web based so that we used apache as server and orarrp.exe for printing utility. Please give me answer about it as soon as possible. it's urgent.
View Question | Asked by : mehulmb

Hi,I have scenario where I need to upload data from XML file into a table. XML file is a predifined format. How can I achieve this, Is there any built in package similar to SQL loader to extract required field values and upload them into table.Pls suggestThanks
Read Answers (2) | Asked by : vishnu

Hi, suppose i have 2 managers M1 & M2. S1 & S2 are Sales reps under M1. S3 & S4 are Sales reps under M2. Suppose S1 (whose manager is M1) creates 2 records. S2 will be able to see them ?.Now, if i change the parent position of S1 (i.e., if now, S1 is placed under M2 instead of M1), and responsibility remaining the same as earlier (Sales rep resp), will the Manager M1 be still able to see the records created by S1 ? Please clarify this. Thanks
View Question | Asked by : s

View Question | Asked by : Vikram

Write down a query for inserting 'n' rows into a table, prompting for the values each time a record is inserted

Latest Answer : Co-related sub-query:- The main differencre between subquery and co-related subquery is that in subquery child query is executed first n then parent,but in co-related subquery main query is executed first(even though parenthesis are present) and then ...
Read Answers (1) | Asked by : prince23

Hi,anyone please send me the details about the interfaces using in between Oracle Project accounting and various Finance modules like AP,AR,FA,GL,CM,PO.Thanks in advance.Omprakash.
View Question | Asked by : Omprakash


 Sponsored Links

 
Related Articles

What is Change Data Capture

Change Data Capture refers to the process of capturing changes which are made to a production data source. Change Data Capture is typically performed by reading the source of database management software logs. Some of the features of Change Data Capture are It consolidates units of works En
 

What is an Ad Hoc Query

An Ad-Hoc Query is a query that cannot be determined prior to the moment the query is issued. It is created in order to get information when need arises and it consists of dynamically constructed SQL which is usually constructed by desktop-resident query tools. This is in contrast to any query which
 

Top 5 Reasons Why You Need a Career Change

For many people, a change in career takes place more than three times in their life. Reasons for this vary. There are those who make the change because the reality is that people make mistakes in choosing their career paths and would therefore like to correct that by aiming for what they really want
 

Career Change: Tips on How to Look for a New Job

Looking for a new job is a task to do. But if you are changing your career after you have been in the same job for quite some time, then your job search becomes even more difficult. Always remember though that your ultimate goal in working is a good career and not just a good job. So don&rsquo
 

The Right Time To Make A Career Change

Changing careers is one of the most crucial stages in one&rsquo;s career life. There are employees who get into the career change phase earlier than other employees. But no matter how an employee enjoys his or her current career, there would come a time that an employee would think of shifting c
 

Career Change: Expect the Unexpected

A career change is a major decision on the part of any working individual. It means getting out of your comfort zone and in most cases, starting from scratch. However, a number of people undergo career change successfully. This is because they had the confidence and the passion to go for their goa
 

Step-By-Step Plan For A Career Change

Changing a career at the midpoint of anyone&rsquo;s life is a vital and critical point in everyone&rsquo;s working life. Everyone undergoes a career shift phase no matter how successful one is at his current job. Because this decision might affect the rest of one&rsquo;s life, it is nece
 

Is Career Change The Answer To Your Success?

Personal careers are always a critical aspect for anyone. A career path is not easy to abide by, considering that there will always be external factors such as that of new occupations and job openings of another field that people would want to consider.&nbsp; There are varying factors that can
 

Career Change: The Importance Of Career Counseling

Individual careers will always be a delicate matter where people must carefully plan where they envision themselves or how they see themselves now and after some years from now. Being exposed to other potential lines of work, people who are still at the prime of their time can afford to make a shift
 

Things To Consider When Making A Career Change

Making a career change is not easy. For one, necessary adjustments in terms of work knowledge and familiarization will surely have to start from scratch. This is one of the notable risks that anyone will surely have to go through considering that careers are usually delicate for people who may reach
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape