Hello Guys,
Only a quick one here, I'm looking to insert a CSV file using BULK INSERT and there is quite a reasonable chance that from time to time odd columns in the text file will not have a value, somthing like this.
10, , 67, Paul, Smith
10, 11, 67, Fred, Smith
10, 20, 67, , Smith
10, 18, 67, john, doe
If I parse a file like this, will SQL just set those empty CSV values to a NULL in the database, or will it cause the import to fail?
I only ask as I know when using ColdFusion (my native language) it has real beef with empty list values.
Thanks,
Rob
Only a quick one here, I'm looking to insert a CSV file using BULK INSERT and there is quite a reasonable chance that from time to time odd columns in the text file will not have a value, somthing like this.
10, , 67, Paul, Smith
10, 11, 67, Fred, Smith
10, 20, 67, , Smith
10, 18, 67, john, doe
If I parse a file like this, will SQL just set those empty CSV values to a NULL in the database, or will it cause the import to fail?
I only ask as I know when using ColdFusion (my native language) it has real beef with empty list values.
Thanks,
Rob