Hi,
Maybe I should post this in the SQL server forum, but since this is where the expertice is...
I've got a LOT of data that I want to insert into binary fields in SQL server. Since the fields will be larger than 8000 bytes, I'm using the 'image' datatype to store the data (but I guess that is is extactly the same as for the varbinary datatype).
What is the best way (=fastest) to that?
- Store the data in an array and use INSERT
- Use ado.stream
- Write a file that contains both text and the binary data and use BULKLOAD to load the data
- Other?
Thanks in advance
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
Maybe I should post this in the SQL server forum, but since this is where the expertice is...
I've got a LOT of data that I want to insert into binary fields in SQL server. Since the fields will be larger than 8000 bytes, I'm using the 'image' datatype to store the data (but I guess that is is extactly the same as for the varbinary datatype).
What is the best way (=fastest) to that?
- Store the data in an array and use INSERT
- Use ado.stream
- Write a file that contains both text and the binary data and use BULKLOAD to load the data
- Other?
Thanks in advance
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'