I have an MS SQL Server 2000 and an application written in VB 6.0. I use this one for user interface in an intranet mailing system i've designed.
I whant to be able to store the attachements of the emails in an SQL table. My table has a column of "Image" data type. I know I can store in this column up to 2 Gb of data but i don't know how.
What varriable in VB can accomodate such a large amount of data to be used for sending to the SQL Server.
How can I write a INSERT statement in my stored procedure to insert the "Image" data (my file)?
The bottom line: How can I send a file from VB 6 to SQL Server 2000 and store it there in a table?
Any idea?
Thanks!
I whant to be able to store the attachements of the emails in an SQL table. My table has a column of "Image" data type. I know I can store in this column up to 2 Gb of data but i don't know how.
What varriable in VB can accomodate such a large amount of data to be used for sending to the SQL Server.
How can I write a INSERT statement in my stored procedure to insert the "Image" data (my file)?
The bottom line: How can I send a file from VB 6 to SQL Server 2000 and store it there in a table?
Any idea?
Thanks!