Handy Library Manager
 for Windows



Run SQL Example; update student grades (new in version 4.0)

You can use the Run SQL function to upgrade your students' grades. For example, in the Borrowers table, you store the student grade in the CUSTOM1 data field. You want to update your student data at the beginning of the new school year. It will involve:

  1. delete last grade students (do it in the BORROWERS table)
  2. upgrade grades for remaining students (use Run SQL Statement)
  3. enter first-grade students (enter manually or use import)
run sql command, how to access

run sql statement, upgrade student grades
After deleting the last grade students, you can use the following SQL statement (1) to upgrade student grades. The WHERE close (2) specifies which records are updated and what a new value is assigned.
Notes:
- The order of the update statements is critical in this case.
There are four grades stored in the CUSTOM1 data field: Grade 1, Grade 2, Grade 3, and Grade 4.

run sql statements, how to

Organize, Execute SQL

Enter SQL statement into the SQL Statement box (1).

Click Execute SQL (2) to execute the statement from the SQL Statement box (1).

Click Save, Organize SQL (3) to save the SQL statement for future use.

Click on the Saved SQL Statements dropdown box (4) to select the previously saved SQL statement.



Copyright © 2024 · All Rights Reserved · PrimaSoft PC