You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying out the bulk insert, but ran into an issue with inserting into an MS SQL table with a money type. I didn't see any support for it in ColumnType.
The error:
thread 'main' panicked at src/main.rs:26:25:
called `Result::unwrap()` on an `Err` value: BulkInput("invalid data type, expecting Some(FixedLen(Money)) but found F64(Some(3.5))")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\bulk-test.exe` (exit code: 101)
Table:
createtabledbo.Bulk2 (
ID intnot null identity(1,1),
SVal varchar(50) not null,
Cash moneynot null
)
I was trying out the bulk insert, but ran into an issue with inserting into an MS SQL table with a money type. I didn't see any support for it in ColumnType.
The error:
Table:
Code:
I also tried this code:
The text was updated successfully, but these errors were encountered: