Menu

#10 Add generic select to verify the table actually exists

Main_team
open
nobody
None
5
2016-03-05
2016-03-05
No

Add generic select to verify the table actually exists.

Maybe a select by PK with a specific value (1, 'a', etc). If the table does not have a PK a unique contraint will do. If no unique constraint either, maybe a filter with all columns with predefined values.

Alternatively, a select count(*) can also help.

Discussion


Log in to post a comment.