Highlighted text? Practice this concept. Highlighted passages and figures open related questions.
Practice related questions (1)Progress & bookmarks
Current section
2-2-7 Other Methods of Using SQL
p. 277
Progress
Not marked complete
Related questions in this lesson 1
DECLARE CURSOR in the original cursor list1p. 277
2-2-7 Other Methods of Using SQL
(1) Other data manipulation languages
- • INSERT statement: This statement is used when a tuple is inserted (i.e., added) into the table.
- • UPDATE statement: This statement is used when the data in the table is updated (i.e.,
changed).
p. 278
- • DELETE statement: This statement is used when a tuple is deleted from the table.
(2) Cursor
Cursor is used when data in the database is used in the host language system (i.e., embedded SQL). Usually, host language (i.e., programming language) handles data in units of records, while SQL handles data in units of sets. Therefore, the cursor acts as a bridge by fetching and transferring one row at a time.
- • OPEN statement: This statement starts the process of cursor.
- • FETCH statement: This statement reads data from the position of cursor.
- • CLOSE statement: This statement terminates the process of cursor.
Section progress
Original chapter exercises
Original chapter exercises →New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015






