I was using RazorSQL’s live session window to create and edit several stored procedures.
I’ve since disconnected from the database, and reconnected, and now those procedures have disappeared.
Presumably I’m screwing up, here, but I’m using a login which has permission to create these procedures and while I’m still connected the first time I can actually connect in and execute the stored procedures, so I know they’re at least there at that point.
What more do I have to do in RazorSQL than write a working “CREATE FUNCTION” block in order to cause the function to become persistent?
In Informix, almost all SQL statements, both DDL and DML, are subject to transactions (the exceptions are CREATE DATABASE, DROP DATABASE and RENAME DATABASE).
There are several types of database in Informix – the key distinction for the current purpose is between ‘MODE ANSI’ and ‘logged’ and ‘unlogged’ databases.
It seems to me that the most likely explanation of what you saw is: