Handling NULL Character x00 when Exporting to File Using BCP
This article discusses the behavior of the BCP utility when extracting data from SQL Server tables to files and more specifically to CSV files. Example: Description Imagine that you have the below table: As you can see, records 2 and 3 contain null values. Then you export the table contents to CSV using BPC: bcp … Read more…