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
CREATE FUNCTION test(integer) RETURNS integer AS 'select $1 *2;' LANGUAGE SQL IMMUTABLE RETURNS NULL ON NULL INPUT; CREATE TABLE test(id integer); CREATE INDEX ON test(test(id)); --DROP FUNCTION test; SELECT 'test'::regproc::oid;

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

Copy Clear