Definition: | integer i = db_select_table(string st) |
Description: | The table with name given by st, becomes the current table. The return code, i, is DB_OK if the table exists in the current database, otherwise you get DB_OPEN_FAIL. |
Comments: | All record-level database operations apply automatically to the current table. |
Example: |
if db_select_table("salary") != DB_OK then puts(2, "Couldn't find salary table!\n") abort(1) end if |
See Also: | db_create_table, db_delete_table |