GeekInterview.com
Series: Subject: Topic:

SQR Interview Questions

Showing Questions 1 - 20 of 30 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

SQR commit command

Asked By: praveen | Asked On: Oct 5th, 2011

Need to write the commit command after getting the values. After that we have to delete the values. So I need to write the commit command.

How to do inbound in PS query?

Asked By: kreshna4 | Asked On: Sep 8th, 2011

Difference between prepared statement and statement?

Asked By: Surya | Asked On: Oct 14th, 2005

Answered by: rkrajnishraj on: Jan 17th, 2011

PreparedStatement provides facility of parameterized queries while Statement does not.


P.S is pre-compiled while Statement is not hence Statement is compiled everytime for each query request.


Statement is fast then P.S 

Answered by: Rajasekar on: Nov 21st, 2006

Statement

Fixed parameter value

Execute every time

Prepared Statement

Can supply parameter value at execution time

Execute once for n parameter value

Callable Statement

To execute stored procedure like pl/sql

Performance tuning of SQR?

Asked By: Interview Candidate | Asked On: Jul 10th, 2005

Answered by: bandisdevi on: Nov 15th, 2010

Simplify complex select statements.
We can use load-lookup to simplify joins.
Use dynamic sql instead of a condition in a select statement.
One program can create multiple reports simultaneously.
We can save compiled programs and return them with sqr execute.

Answered by: sandeep on: Apr 4th, 2007

For performance tuning in SQR first we need to tune up the sql,use appropriate joins with nessasary conditions.Then use nessasary functions for low execution time and use temp tables for bulk data transactions.

Translate & prompt

Asked By: mriaz | Asked On: Jan 15th, 2008

Explain the difference between translate & prompt tables. What are the occasions when to use translate values instead of prompt table? What is the advantage of one over the other?

Answered by: bandisdevi on: Oct 12th, 2010

Translate table values are stored on a people tools table called XLATTABLE. The field type should be character, length should be < or = 4, field values should be static. We can give more than o...

Answered by: nagururisivanandareddy on: Mar 14th, 2008

Translate Table:            Translate table is a special kind of table that is limited to  validating data of four characters or less.The tr...

Business units

Asked By: venkidgreat | Asked On: Aug 30th, 2010

How will you create business units in peoplesoft finance and how will you use the same?

What is the main difference between SQR and app engine?

Asked By: sheril | Asked On: Apr 2nd, 2007

Answered by: chakkilam on: Aug 26th, 2010

SetProcessing the major difference between Application Engine and SQR. There is no such facility in SQR which makes Application Engine a winner for data validations.

Answered by: bandisdevi on: Oct 7th, 2009

AE is very systematic as it is structured as Section, step and Action. While SQR is not systematic. AE flow is easy to read and understand, while SQR is not that easy. AE is easy to debug as you...

SQR validation

Asked By: m_irfan | Asked On: Feb 20th, 2008

What are the validation is done in SQR program before loading in to the database?

Answered by: SreejaSasidharan on: Jul 20th, 2010

No specific validations will be carried out by SQR before loading the data into the database except:
1. Any specific validations code written by the programmer.
2. Table edits - for example, if the field in the record is number and you try to insert character, it will throw error.

SS

Setenv.Sqc setup

Asked By: dhungina2004 | Asked On: Jun 8th, 2009

Can we include setenv.Sqc at the end of the SQR program? If "no" then why?

Answered by: SickCowPie on: May 11th, 2010

No.  Setenv needs to be at the top of the program in order for the program to use the environments specified.

Answered by: sumeet9888 on: Jul 20th, 2009

Yes, we can include at the end of sqr program also

Can we call two procedures in on-break? If yes then how?

Asked By: v.rajesh | Asked On: Nov 16th, 2007

Answered by: shyampeoplesoft on: Sep 23rd, 2009

I think this example may help youbegin-heading 4print $current-date (1,1) Edit 'Mon-DD-YYYY'print 'EMPLID' (3,1)print 'COUNTRY' (,10)print 'STATE' (,17)print 'CITY' (,26)print '-' (4,1,9) fillprint '-...

Answered by: freakydipu on: Dec 26th, 2007

By using both after and before option in on-break.

Ex. on-break  print = none before = procedure 1(arg1, arg2,....) after = precedure2

What is sqc? What is sqt?

Asked By: Snehal A. Athavale | Asked On: Jul 7th, 2007

Answered by: Devang Shah on: Apr 6th, 2009

sqc are the files which can be considered as header file which can be included in the header file simillar to c when we include header filesqt ::  we can have command line parameter for  the...

Answered by: sana_sana on: Jun 13th, 2008

.SQC is a Fuction Library file. It is lke a sub program is saved by extension .SQC and this program can be called in the SQR program.SQT is compile time/Run time file. When a file with XXX.SQR is...

What is difference between load look up and array?

Asked By: Vikrant | Asked On: Mar 8th, 2006

Answered by: facinater on: Aug 20th, 2008

(1) Load-lookup:----------------------- 1) Load-lookup will be populated at compilation time 2) We can adjust the size of load-lookup 3) It is only for text datatype 4) We can only select tw...

Answered by: Bhaskar Boddupally on: Jul 14th, 2006

good Answer Jiju

Program flow of SQR

Asked By: jayakrishna08 | Asked On: Mar 8th, 2008

What is the program flow of SQR?

Answered by: sandeep05 on: Aug 12th, 2008

When SQR Program starts executing. There are two stages in the Program Flow. 1) Compile stage 2) Execution Stage ) Compile Stage. All the Preprocessor directives are compiled ( which starts wit...

Answered by: venkat_leader on: Mar 16th, 2008

setup section

heading section

footing section

program section

procedure section

What are the important sqc are need to be attached?

Asked By: rameshj040 | Asked On: Sep 18th, 2006

Answered by: jayakrishna08 on: Feb 27th, 2008

These are the three important SQCs that should be attached to make ur SQR API aware

#include 'setenv.sqc'

#include 'stdapi.sqc'

Answered by: jagadish on: Sep 29th, 2006

 #include 'setenv.sqc'

#include 'stdapi.sqc'

#include 'prcsdefn.sqc'

#include 'prcsapi.sqc'

#include 'curdttim.sqc'

#include 'hrctlnld.sqc'

#include 'datwtime.sqc'

these are the some sqc's we r used in our sqr program

How do you include sqcs in middle of the program? Is it possible ?

Asked By: madhusudanreddy | Asked On: Apr 6th, 2007

Answered by: sharry on: Dec 13th, 2007

yes they can be included..using the conventional method we use to include SQC's

What is search record?How to create sqc? How to connect other application in component interface?

Asked By: rahul dhamal | Asked On: Nov 5th, 2005

Answered by: rahul_96k on: Dec 7th, 2007


 Search Record are use define the structure of dialog box , is also use to retrive and filter the data.

Answered by: pradeep on: Nov 19th, 2007

this is the example!! of SQC and SQR


write procedure in a note pad and save it ex1.sqc
begin-procedure main
begin-select
emplid
name
from ps_personal_data
end-select
end-procedure

after that select new notpad and save ex2.sqr

#include 'ex1.sqc'
begin-program
do main
end-program

run the ex2.sqr file

Normalization in Oracle?

Asked By: Interview Candidate | Asked On: Aug 28th, 2004

Answered by: Muralikrishna Anugu on: Oct 2nd, 2007

The major goals of Normalization are
1) Eliminating redundant data (for example, storing the same data in more than one table) 
2) Ensuring data dependencies make sense (only storing related data in a table).

Answered by: prashant on: Sep 11th, 2007

Normalization is the process of strucuring the data in such a way that there should not be any redundancy of data

What are the compulsory sqc's that should be used in SQR program?

Asked By: Manjula Puvvula | Asked On: Apr 20th, 2006

Answered by: DMilbo on: Jun 11th, 2007

There are no required SQCs unless procedures (functions) are being used in the main program that require them.

Answered by: MOHAN on: Oct 6th, 2006

and we also used sethdg01.sqc(Standard heading sqr include file), ptps1177.sqc (Printer & Page-size initialization useprntr.sqc (select printer type)

Experience in object oriented programme?

Asked By: Interview Candidate | Asked On: Aug 28th, 2004

Answered by: Harish Mahanta on: Nov 9th, 2006

Object:An object is a software bundle of related state and behavior. A real world entity that you find in everyday life.           &nbs...

How do you generate two output files from one SQR?

Asked By: Mahendra | Asked On: Apr 5th, 2006

Answered by: Nataraj on: Nov 8th, 2006

For Reports you can use-report to generate mutiple reports.

For reading and writing data to files we have SQR commands like For-read and For-write.

Answered by: vardhan on: May 12th, 2006

using create report you can create multiple reports in one single SQR report

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".