http://stackoverflow.com/questions/425379/how-to-export-data-as-csv-format-from-sql-server-using-sqlcmd
跟谢txt文件是一样的,我给你写txt的代码,尘谈你看一下派模碰就明白了Dim liFilenumber As Integer
liFilenumber = FreeFile
Open "c\out\码拿test.txt" For Output As #liFilenumber
Print #liFilenumber, "这里是第一行"
Print #liFilenumber, GetCurrents(NulltoString(lrRec.Fields("ProdId")), Const_prodid_L)
Close #liFilenumber
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)