79651184

Date: 2025-06-03 12:00:42
Score: 2
Natty:
Report link

When I got this issue it was due to bad data in a Decimal column. It had 100.0 and not 100.00

In the select statement I used - TRANSFORM(ndepnrate, '@R 999.99') AS ndepnrate

This not only passed the data but fixed the data before it was passed over to SQL.

Every other table accepted select * from tableName and passed over to SQL using SqlBulkCopy

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: nick brown