07 2011 档案

摘要:懒人总会想点偷懒的招,平常写insert 写的烦人 。因为常常表的列名要一个个的输入 ,有时还会出错 终于想了个办法 一次把表中列名都查出来了,还做了个组合,真是方便多了效果:cusID,cusName,email,password,tel,Fax,company,address1,address2,postCode1,postCode2,country,代码: SELECTa.name+','FROMsyscolumnsainnerjoinsysobjectsdona.id=d.idandd.xtype='U'andd.name<>'dtp 阅读全文
posted @ 2011-07-07 16:35 Youismyo2 阅读(384) 评论(0) 推荐(0)