You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
186 lines
3.3 KiB
186 lines
3.3 KiB
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '001' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '002' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '003' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '004' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '005' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '006' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '002' as 'typecode', '007' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '003' as 'typecode', '001' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
INSERT
|
|
INTO
|
|
t_int_log
|
|
( typecode,
|
|
itemcode,
|
|
orgcode,
|
|
comguid,
|
|
logdate,
|
|
logtime,
|
|
logtype,
|
|
logmsg,
|
|
sessioncode)
|
|
select '003' as 'typecode', '002' as 'itemcode' ,orgcode ,'' as comguid ,
|
|
CONVERT(varchar(10),
|
|
GETDATE(),
|
|
120) as 'logdate',
|
|
CONVERT(varchar,
|
|
GETDATE(),
|
|
24) as 'logtime','S' as 'logtype','³õʼ»¯' as 'logmsg',null as 'sessioncode' from t_shop
|
|
|
|
|
|
|
|
|