Seeking Sqlite no-op command Seeking Sqlite no-op command sqlite sqlite

Seeking Sqlite no-op command


A comment does nothing (but your database driver might complain if there is not command at all):

/* Hello, world! */

Unknown PRAGMA statements are ignored, and do not return anything:

PRAGMA testing_porpoises;

If you need a statement that returns an empty result set, you need a SELECT:

SELECT 0 WHERE 0;


For example a simple constant select could do:

SELECT 1 WHERE 0;