Title: Oct 299:30 AM (1 of 18)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF19/CIS150/... · 2019....

Post on 24-Jan-2021

0 views 0 download

Transcript of Title: Oct 299:30 AM (1 of 18)cisweb.bristolcc.edu/~pgrocer/audio_smartboardF19/CIS150/... · 2019....

Title: Oct 29­9:30 AM (1 of 18)

Using the sequence to provide the v_idno.

Title: Oct 29­9:42 AM (2 of 18)

Using the prompt to take in the information to insert in the table.

Title: Oct 29­9:44 AM (3 of 18)

Title: Oct 29­9:45 AM (4 of 18)

Doing a calculation and an update of the specified record.

Title: Oct 29­9:46 AM (5 of 18)

Title: Oct 29­9:47 AM (6 of 18)

Title: Oct 29­9:48 AM (7 of 18)

Please be sure to go over these.

Creating and emptying the table I am goingto use.

Title: Oct 29­9:51 AM (8 of 18)

Title: Oct 29­9:56 AM (9 of 18)

Title: Oct 29­9:58 AM (10 of 18)

Title: Oct 29­9:59 AM (11 of 18)

Title: Oct 29­10:02 AM (12 of 18)

I am only inserting certain records.See how this can be handled differently in the cursor on the next slide.

Title: Oct 29­10:04 AM (13 of 18)

Now the cursor will only contain records where yrgoal is greater than 50.

Title: Oct 29­10:09 AM (14 of 18)

Title: Oct 29­10:19 AM (15 of 18)

Note the different loop and the exit when the cursor is not found.

Title: Oct 29­10:32 AM (16 of 18)

Exit the loop based on rowcount and if thereare not enough records to cause this exit, exitwhen the cursor is not found.

Title: Oct 29­10:34 AM (17 of 18)

Title: Oct 29­10:49 AM (18 of 18)