pears.CollectionsSetChat

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

CREATE PROCEDURE "pears"."CollectionsSetChat"( 
  /* Application Maintained Function / Procedure - DO NOT EDIT*/
  IN "pCollectionID" CHAR(20),IN "pStaffID" CHAR(20),IN "pChatMessage" long VARCHAR ) 
RESULT( "presult" CHAR(50) ) 
BEGIN
  INSERT INTO "collectionchat"( "collectionchatid","collectionid","staffid","chatmessage","chatdate" ) VALUES( "uniquekey"("pcollectionid"),"pcollectionid","pstaffid","pchatmessage",CURRENT TIMESTAMP ) ;
  SELECT '0:~Success'
END
GO
 
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."CollectionsSetChat" IS 
{CREATE PROCEDURE CollectionsSetChat 
 
/* Application Maintained Function / Procedure - DO NOT EDIT*/
 
(IN pCollectionID CHAR(20), IN pStaffID CHAR(20), pChatMessage Long VARCHAR)
RESULT( presult CHAR(50))
BEGIN
   INSERT INTO collectionchat(collectionchatid, collectionid, staffid, chatmessage, chatdate) VALUES(uniquekey(pcollectionid), pcollectionid, pstaffid, pchatmessage, CURRENT TIMESTAMP);
   SELECT '0:~Success';
END
}
  • database/procedures/pears_collectionssetchat.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1