Code to ensure that SQL is working.

Signed-off-by: BlacKeNinG <blackening@gmail.com>