What is the difference between %Select and %SelectInit in
Application Engine Peoplecode.

Answer Posted / hari.sidd

%SELECT() AND %SELECTINIT() BOTH ARE USED TO PUSH VALUES
INTO A STATE RECORD IN AN APP ENG PROG.

BOTH WORKS THE SAME WHEN A ROW IS RETRIEVED,BUT WHEN
THE "SELECT STATEMENT ASSOSIATED IS NOT RETRIEVING A ROW "
THEN

A)
%SELECT():-NO NEW ROW OF DATA IS PUSHED INTO STATE RECORD
THER BY THE STATE RECORD CONTAINS THE OLD DATA SINCE NO NEW
VALUES ARE INTIALIZED.

B)
%SELECTINIT():-NO NEW ROW OF DATA IS PUSHED INTO STATE
RECORD BUT THE FILEDS IN THE STATE RECORD INTIALIZED
TO "NULL".

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Both BEA WebLogic and IBM WebSphere have the ability to plug in to many different web servers. Does PeopleSoft support the web servers that they plug into?

2001


Can you hide a primary page in a component? Reason?

593


Explain what is tree manager?

497


How does peoplesoft use views? Which are online functions?

523


What is an array in people code?

530






What are different variables in people code and their scope?

557


What is the difference between key and alternate search key?

536


What is application package?

542


What is component meta data?

482


What is the purpose of the sqlexec function? What are its benefits and draw backs?

494


In case of record level audit what is the structure of table?

499


What is record group?

564


Explain what is peoplecode meta data?

529


Explain how the output of a sql query be stored in a variable using peoplecode?

559


What is menu meta data?

526