Although CSV files optionally contain column headers to define what columns are within the file, I am interested in knowing if there is a standard or common approach for defining the expected data types.
I guess I am looking for something that is akin to an xsd file that defines the data within an xml file (I don’t really know much about this subject either.)
I was looking into the SQL Server BCP utility. This GUI front end for the utility suggests that the tools uses a format file to define the contents of the output file.–at least, that’s the impression that I get. I haven’t looked into it much yet, but this looks like something like what I was looking for…
USE [PandaVisa2011]
GO
/****** Object: Table [dbo].[Shipper] Script Date: 06/27/2011 22:05:31 ******/
SET ANSI_NULLS ON
GO
]