Is there a way to load a flat file into SQL Server as a new table without knowing the data types of the columns in the file?
I know one can use BULK INSERT to load flat file data, but a target table must first be created that matches the datatypes in the incoming file. OPENROWSET requires the creation of a format file that specifies the incoming data types. Is there a way to get SQL Server to automatically introspect the file, determine the datatypes and load the data in one shot?