INF: BCP and Formatting of MONEY Data Type

ID: Q96213


The information in this article applies to:


SUMMARY

This article describes the implemented change of behavior of the Bulk Copy Program (BCP) in regards to formatting the MONEY data type when copied out in character mode (/c).


MORE INFORMATION

Starting with BCP version 4.2, MONEY data types when copied out of SQL Server in character mode are stored with commas separating the thousands, millions, billions, and so on. For example:

1,234,567.8900

This is a change of behavior from BCP version 1.1x, which does not insert the commas. For example;
1234567.8900

A design change request (number 7500) was entered against BCP version 4.2 asking that the behavior be changed so that no commas are inserted. Due to the large use of CSV (comma separated variable) data files, DCR 7500 was implemented in BCP version 4.2a.

Therefore, BCP version 4.2a now formats MONEY data types out in the same format that is seen under version 1.1x. For example:
1234567.8900

Additional query words: 4.20 4.20a bulk-copy dcr


Keywords          : kbtool SSrvBCP 
Version           : 4.2
Platform          : OS/2 
Issue type        : 

Last Reviewed: March 16, 1999