摘要:
惨痛的教训: 某次在执行delete时,一时疏忽忘记写where条件了, 1、删除tb_mobile_cust_micromsg中的内容,前提是c_customer这个字段的值与#datamod表中c_userno这个字段的值相等。 delete from tb_mobile_cust_microm 阅读全文
posted @ 2016-06-16 19:23
墨染凡尘1987
阅读(194)
评论(0)
推荐(0)
摘要:
1、更新tb_card中c_customer字段的值等于tb_customer表中c_no的值 update tb_card set c_customer=ct.c_no from tb_customer ct where tb_card.c_cardno=ct.c_no 阅读全文
posted @ 2016-06-16 19:20
墨染凡尘1987
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号