With SQL Server, I can execute code ad hoc T-SQL code with full procedural logic through SQL Server Management Studio, or any other client. I\'ve begun working with PostgreSQL a
Postgres 9
DO $$ -- declare BEGIN /* pl/pgsql here */ END $$;