简体   繁体   English

如何获取从SQL Server 2008导出的CSV表格或文本文件的数据类型

[英]How to get the data type of table of csv or text file that is exported from sql server 2008

How to get the data type details of the table that is exported from SQL Server as txt or csv file on bulk export ? 如何在批量导出时获取从SQL Server以txt或csv文件格式导出的表的数据类型详细信息?

Can any one please suggest me on this... 有人可以在这方面建议我吗...

Thanks, Harl 谢谢,哈尔

Use a Format File : 使用格式文件

When you bulk import data into a SQL Server table or bulk export data from a table, you can use a format file to store all the format information that is required to bulk export or bulk import data. 将数据批量导入SQL Server表或从表批量导出数据时,可以使用格式文件存储批量导出或批量导入数据所需的所有格式信息。 This includes format information for each field in a data file relative to that table. 这包括有关该表的数据文件中每个字段的格式信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM