Select the correct statement.

Examine this PeopleCode snippet:
Local Rowset &RS1;
&RS1 = CreateRowset(RECORD.PSU_CUST_TBL);
&Customer = “XYZ”;
&RS1.Fill(“WHERE CUSTOMER_ID =:1”, &Customer);
Select the correct statement.

Examine this PeopleCode snippet:
Local Rowset &RS1;
&RS1 = CreateRowset(RECORD.PSU_CUST_TBL);
&Customer = “XYZ”;
&RS1.Fill(“WHERE CUSTOMER_ID =:1”, &Customer);
Select the correct statement.

A.
The snippet is correct as shown.

B.
The snippet is not correct.The CreateRowset function instantiates a stand-alone rowset
object.A GetRowset function should be used to instantiate a rowset object that uses a Fill method.

C.
The snippet is not correct.The CreateRowset function instantiates a rowset object that
references the component buffer.A Select method should be used instead of a Fill method.

D.
The snippet is not correct.The CreateRowset function instantiates a rowset object that
references the component buffer.A GetRowset function should be used to instantiate a rowset
object that uses a Fill method.

E.
The snippet is not correct.The CreateRowset function instantiates a stand-alone rowset
object.A Select method should be used instead of a Fill method.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *