pears.NetJSString

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Original SQL

CREATE FUNCTION "pears"."NetJSString"( IN "s" CHAR(255) ) 
RETURNS CHAR(255)
BEGIN
  SET "s" = "replace"("s",'\\','\\\\');
  SET "s" = "replace"("s",'"','\\"');
  RETURN "string"('"',"s",'"')
END