Hello,
I am doing a little research... What would be the easiest way to load a SQL Server table from an external XML file? Can I load it as one blob or do I have to pull it into a datatable?
Well, that depends.... do you want it all parsed out and the different elements into individual fields? Or do you just want the entire XML file right into one field in the DB?
Then a blob isn't going to work (blobs are used for storing binary data or realy large text items.) since you want the data parced. You best bet will be to load it up into a dataset, then run through that and insert the data into the database where it goes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.