工具:sqlserver2008r2 sql server managerment studio 方法2113:在查询结果上直接保存导出 1、写好要查询的5261语句,然4102后执行查询,如: select*from student;2、在查询结果处点1653鼠标右键,选择“将结果另存为”。3、然后选择文件存放路径,文件名,及文件保存类型,点击“保存”...
展开全部#coding:gb18030 no=0 total=0 for record in open('the_file.cvs','r').readlines(): no+1 if no=30: p1,p2,p3,p4=record.split(',')#supposed the limiter of cvs ** ','.if not,replace ',' with real one. t...