--触发器
BEGIN
IF
UPDATE ( sale_order_line_id ) BEGIN
UPDATE stock_move_line
SET contract = ( SELECT origin FROM sale_order WHERE ID = ( SELECT sale_order_id FROM sale_order_line WHERE ID = inserted.sale_order_line_id ) )
FROM
inserted
WHERE
stock_move_line.ID = inserted.ID
AND
inserted.sale_order_line_id > 0
END
END
--替换函数
REPLACE('你好啊', '啊', '');
--日期
( nvarchar ( 80 ), a.date, 11 ) AS 日期;--转换为日期为 23/01/13
豪~豪的个人中心
Pretty component of content. I just stumbled upon your website and in accession capital to assert that I acquire actually loved account your weblog posts.
Any way I’ll be subscribing on your augment or even I fulfillment you get right of entry to persistently fast.