Everything went well to create the XML using transact SQL command
SELECT TOP 10 * FROM TblEvenement for xml auto, binary base64
But how do decode my image field in my XML so i can save the data into a new table ..
all this as to be done in a store procedure inside SQL-Server 2000 !!
thanx guys !!
***Any good sites or example i can use for !!What i did is a store proc in SQL-Server 2000 that build an XML document so i can transfert data between my two server.
But i have image fields and i would like to transfert that as well. I can encode it no problem ( for xml auto, binary base64 ), but how can i DECODE my TEXT value (int the XML document) using Transact SQL to store my image to the new server !!
thanx|||Did you find any solution to this. I'm really interested.|||¸Yes i build a function in my SQL DataBase that convert my image but works only with images that have less or equal to binary(8000)..
but im looking for something else.. its not working as i would like so.. im keep working on it.
still need help guys !!!
not a single site in the web that have an example..
there must be a way !! or its to easy so no buddy wants to help me out..|||Does this post help you?OPENXML and image binary base64.
The approach here is to create a UDF which will convert base64 to binary, and use this function with OPENXML.
Terri|||I try the function but the problem is that it return a varbinary(8000) .. its to short.. all my images are over 10K
so im trying something else.. must be a way
thanx
No comments:
Post a Comment