|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Import BLOB from XMLHi,
I have been given a XML file containing Image BLOB data. They probably did a dataset.writeXml() to get the XML fule loaded. How can I import this into my MS SQL Server? I have tried simple inserts, Stored Procedures and Command Builder ideas however it all boils down to converting a string to Image Binary. Can anyone please shed some light or point me in the correct direction? Can we even export Blob into XML? Maybe thats the problem? Thx Daren Chunk in as a byte array. Most likely the blob is base 64 in the XML file,
so you will have to convert it back to a byte array, but then you should be able to attach to an input parameter on a stored procedure or parameterized query. -- Show quoteHide quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ************************************************* Think outside of the box! ************************************************* "Daren Hawes" <newsgro***@webdesignmagic.com.au> wrote in message news:eFizUvM$GHA.4468@TK2MSFTNGP05.phx.gbl... > Hi, > > I have been given a XML file containing Image BLOB data. They probably > did a dataset.writeXml() to get the XML fule loaded. > > How can I import this into my MS SQL Server? > > I have tried simple inserts, Stored Procedures and Command Builder ideas > however it all boils down to converting a string to Image Binary. > > Can anyone please shed some light or point me in the correct direction? > > Can we even export Blob into XML? Maybe thats the problem? > > Thx Daren >
Why does activex control run 3x+ faster in vb5 than .net?
IsNumeric question How to turn off Managed Debugging Assistant in VB.NET (2005) Format string in DataGrid TCP Transfer issues From VB Newbie: The editor is driving me nuts. Multiple TcpListeners on the same IP address Replacing Double quotes with TWO Single Quotes Windows Service not starting automatically How do u copy multiple files from a lsbox to somewhere else using vb.net |
|||||||||||||||||||||||