What does the code do?

I have this code

Hello

2065f302-50bf-4d55-8423-ffcb24d3d429 wrote:

I have this code

pvEnd INTEGER.

pvChk INTEGER;

pvDays INTEGER.

curCalendar P_CLUB_CALENDAR % ROWTYPE;

pvData VARCHAR2 (30000): = pvWizard1;

pvAmenity VARCHAR2 (5000);

Numlock INTEGER: = 0;

BEGIN

curPropRecord.OVERBOOK_MAX_PERCENT:=TRIM(Stringextract(pvData));

curPropRecord.INF_SRC_DB:=TRIM(Stringextract(pvData));  -23040

I don't know if it's the best question to ask, but what is

curPropRecord.OVERBOOK_MAX_PERCENT:=TRIM(Stringextract(pvData));

do?

which means by trim (stringextract)?

Stringextract is (apparently) a user-defined function.  You're probably in a better position to see what he does than anyone on this forum.

TRIM, as indicated above, is a feature built-n.

curPropRecord.OVERBOOK_MAX_PERCENT: = TRIM (Stringextract (pvData));

calls stringextract pvData, then passing the results of this function for the TOPPING.  The value returned by the TRIM function is then stored in curPropRecord.OVERBOOK_MAX_PERCENT.

Tags: Database

Similar Questions

Maybe you are looking for