title: oct 299:30 am (1 of 18)cisweb.bristolcc.edu/~pgrocer/audio_smartboardf19/cis150/... · 2019....
Post on 24-Jan-2021
0 Views
Preview:
TRANSCRIPT
Title: Oct 299:30 AM (1 of 18)
Using the sequence to provide the v_idno.
Title: Oct 299:42 AM (2 of 18)
Using the prompt to take in the information to insert in the table.
Title: Oct 299:44 AM (3 of 18)
Title: Oct 299:45 AM (4 of 18)
Doing a calculation and an update of the specified record.
Title: Oct 299:46 AM (5 of 18)
Title: Oct 299:47 AM (6 of 18)
Title: Oct 299:48 AM (7 of 18)
Please be sure to go over these.
Creating and emptying the table I am goingto use.
Title: Oct 299:51 AM (8 of 18)
Title: Oct 299:56 AM (9 of 18)
Title: Oct 299:58 AM (10 of 18)
Title: Oct 299:59 AM (11 of 18)
Title: Oct 2910: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 2910:04 AM (13 of 18)
Now the cursor will only contain records where yrgoal is greater than 50.
Title: Oct 2910:09 AM (14 of 18)
Title: Oct 2910:19 AM (15 of 18)
Note the different loop and the exit when the cursor is not found.
Title: Oct 2910: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 2910:34 AM (17 of 18)
Title: Oct 2910:49 AM (18 of 18)
top related