DECLARE @id int
EXEC dbo.QX_NEXT_KEY 'QX_SYS_PROP', 1, @id OUTPUT
insert into QX_SYS_PROP values (@id, 'INCOM_EMAIL_DEFAULT_CUSTOMER_NAME', 'Email processing', NULL, NULL, 0, 'Default Customer name – used in Email processing.')
EXEC dbo.QX_NEXT_KEY 'QX_SYS_PROP', 1, @id OUTPUT
insert into QX_SYS_PROP values (@id, 'INCOM_EMAIL_DEFAULT_CUSTOMER_ID', '-1000', NULL, NULL, 0, 'Default Customer ID – used in Email processing.')
go

-- all new update scripts must include a line like this:
UPDATE QX_SYS_PROP SET PROP_VAL = '047' WHERE (PROP_ID = 'DB_APP_VERSION');

