====== pears._NetPushNotificationsDeviceAdd ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create procedure "pears"."_NetPushNotificationsDeviceAdd"( in "pWebUserID" char(20),in "pDeviceID" char(20),in "pDeviceToken" long varchar,in "pDeviceName" char(100),in "pDeviceType" smallint )
result( "pResult" char(255) )
begin
insert into "PushNotificationDevice"( "PushNotificationDeviceID","DeviceToken","DeviceName","DeviceType","WebUserID" ) on existing update defaults off values
( "pDeviceID","pDeviceToken","pDeviceName","pDeviceType","pWebUserID" ) ;
select '0:~Success'
end /* DOC
2019-10-04 GJ Creation.
*/
go
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."_NetPushNotificationsDeviceAdd" IS
{create PROCEDURE pears."_NetPushNotificationsDeviceAdd"( in pWebUserID char(20), in pDeviceID char(20), in pDeviceToken long varchar, in pDeviceName char(100), in pDeviceType smallint )
result(pResult char(255) )
BEGIN
insert into PushNotificationDevice (PushNotificationDeviceID, DeviceToken, DeviceName, DeviceType, WebUserID) on existing update defaults off
values (pDeviceID, pDeviceToken, pDeviceName, pDeviceType, pWebUserID);
select '0:~Success';
END
/* DOC
2019-10-04 GJ Creation.
*/
}