临时表方式实现多条记录遍历 declare @oper_cart_item_id bigint; declare @oper_cart_id bigint; declare @the_last_changed_date datetime; declare @oper_cust_id int; as flag into #shoppingcart_temp from deleted; ) begin @oper_cart_item_id = cart_item_id,@oper_cart_id =…
WINDOWS 2003 远程桌面不能记录登陆IP真是件头痛的事,本方法可以记录登陆者IP,具体的操作步骤如下: 1.建立一个存放日志的目录,如C盘下建立一个RDP的目录“C:/RDP”. 2.然后在“C:/RDP”目录下创建一个名字为“RDPlog.txt”的文本文件“C:/RDP/RDPlog.txt”. 3.然后在“C:/RDP”目录下创建一个名字为“RDPlog.bat”的批处理文件,内容为(仅供参考): @echo off if "%1" == "h" g…