Is there a way to change every column data type to the same data type at once (e.g. varchar(MAX)
) when importing a flat file into SQL Server?
My data set has 500+ columns. I could ALTER
the data types by a script, however, the auto assigned data types are incorrect and won't allow me to upload. So the goal would be to change them all at once in the upload screen.
Also, is there a way to tick all the 'Allow Nulls' at once?