Sets the total number of columns in the operating-system file for a bulk copy into or out of SQL Server.
SqlBCPColumns% ( sqlconn%, colcount% )
where
SUCCEED (1) or FAIL (0).
SqlBCPColumns% can be called only after you call SqlBCPInit% with a valid filename.
Call this function only when you intend to use a format for an operating-system file that differs from the default format. For a description of the default format for an operating-system file, see SqlBCPInit%.
After calling SqlBCPColumns%, you must call SqlBCPColfmt% colcount% times because you are defining a custom file format.
SqlBCPColfmt%, SqlBCPColumnFormat%, SqlBCPInit%