Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."TableExists" IS {CREATE FUNCTION TableExists /* Application Maintained Function / Procedure - DO NOT EDIT*/ ( IN @Creator CHAR(128),IN @TableName CHAR(128) ) RETURNS SMALLINT deterministic BEGIN /* If @Creator is null (NOT empty string) = all creators Works for tables, views, global temporary but not local temporary */ IF EXISTS(SELECT * FROM "sys"."SysColumns" WHERE "Creator" LIKE "isnull"(@Creator,'%') AND @TableName = "TName") THEN RETURN 1 ELSE RETURN 0 END IF END }