Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
EXECUTE BLOCK AS BEGIN BEGIN EXECUTE STATEMENT 'CREATE TABLE my_table ( id INTEGER PRIMARY KEY, name VARCHAR(100) )'; WHEN ANY DO -- Ignore errors, assuming it's because the table already exists BEGIN END END END

Stuck with a problem? Got Error? Ask AI support!

Copy Clear