shred

Modify XML in SQL server to add a root node

耗尽温柔 提交于 2019-12-23 10:53:29
问题 To give some background to this problem first, I am rewriting some code that currently loops through some xml, doing an insert to a table at the end of each loop - replacing with a single sp that takes an xml parameter and does the insert in one go, 'shredding' the xml into a table. The main shred has been done successfully,but currently one of the columns is used to store the entire node. I have been able to work out the query necessary for this (almost), but it misses out the root part of

Looking for a good Bulk Insert XML Shredding example for SQL 2005

旧城冷巷雨未停 提交于 2019-12-14 03:42:58
问题 A little help needed. I'm receiving an xml file similar to this: <?xml version="1.0" encoding="utf-16"?> <dc:GRANTEE xsi:schemaLocation="http://www.blahblahblah.com/FullSchema test.xsd " xmlns:dc="http://www.blahblahblah.com/FullSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RPGID>90CU0024</RPGID> <PLANID>01</PLANID> <CASE> <CASEID>100001</CASEID> <RPGID>90CU0024</RPGID> <FILE_O>2008-02-08T00:00:00</FILE_O> <ADULT> <ADULTID>100001A1</ADULTID> <CASEID>100001</CASEID> <APRIMARY

sql server 2008 xml file to table

守給你的承諾、 提交于 2019-12-12 19:17:11
问题 I have an xml file that I'm trying to import into a table. My xml file looks like this: <?xml version="1.0" encoding="utf-8"?> <xml_objects xmlns="http://www.blank.info/ns/2002/ewobjects"> <item_id item_id="41-FE-001"> <class display="true"> <class_name>FEEDER</class_name> </class> <name display="true"> <name_value>41-FE-001</name_value> </name> <attributes> <attribute> <attributename>Type</attributename> <value>EQUIP</value> </attribute> <attribute> <attributename>Tag No</attributename>

File Shredding Concept question

假如想象 提交于 2019-12-10 23:28:11
问题 I have a file shredder on my computer, and I wanted to know if it's possible to make one in JAVA just for learning sake. But, I'm not sure how exactly it works, so this is what I think it does, please correct me where I'm wrong. So basically it keeps encrypting the bytes of the file, and then simply deletes it. But that seems too easy to me, so I must be missing something or be completely wrong. I've looked up how it works, but I always just get software advertisements. Thanks for any

TSQL Shred XML - Is this right or is there a better way (newbie @ shredding XML)

怎甘沉沦 提交于 2019-12-08 12:45:42
问题 Ok, I'm a C# ASP.NET dev following orders: The orders are to take a given dataset, shred the XML and return columns. I've argued that it's easier to do the shredding on the ASP.NET side where we already have access to things like deserializers, etc, and the entire complex of known types, but no, the boss says "shred it on the server, return a dataset, bind the dataset to the columns of the gridview" so for now, I'm doing what I was told. This is all to head off the folks who will come along

Shredding XML from DB using SSIS

半腔热情 提交于 2019-12-08 05:38:17
问题 I am looking for a way to pull XML from a SQL database and shred the XML via SSIS in bulk. I currently have a package that can pull XML from the database and pass the XML to a stored procedure, via variable, for shredding but this only works 1 record at a time. When processing 100,000 records, this can become quite time consuming. I would like to shred multiple XML values at once using SSIS. Is this possible with SSIS? Perhaps something in a Data Flow Task where all the XML values are

Shredding XML from DB using SSIS

不打扰是莪最后的温柔 提交于 2019-12-06 18:45:26
I am looking for a way to pull XML from a SQL database and shred the XML via SSIS in bulk. I currently have a package that can pull XML from the database and pass the XML to a stored procedure, via variable, for shredding but this only works 1 record at a time. When processing 100,000 records, this can become quite time consuming. I would like to shred multiple XML values at once using SSIS. Is this possible with SSIS? Perhaps something in a Data Flow Task where all the XML values are selected from a source then passed to a parser of some sort? So after a lot of searching and thinking about

Writing a file shredder in python or ruby?

五迷三道 提交于 2019-12-06 08:59:43
问题 In the effort to learn python and/or ruby, I was wondering how a file shredder would be implemented? I would like it to take in a file as an argument and then employ an algorithm to make that file unrecoverable. Would possibly add the support for multiple files or even whole directories later. 回答1: Just as a warning, shredders generally will have varying levels of success on modern systems, thanks to journals, copy-on-write file systems, wear leveling (flash), and other techniques used in

Writing a file shredder in python or ruby?

一世执手 提交于 2019-12-04 11:58:51
In the effort to learn python and/or ruby, I was wondering how a file shredder would be implemented? I would like it to take in a file as an argument and then employ an algorithm to make that file unrecoverable. Would possibly add the support for multiple files or even whole directories later. Just as a warning, shredders generally will have varying levels of success on modern systems, thanks to journals, copy-on-write file systems, wear leveling (flash), and other techniques used in modern system. Might wanna check out wikipedia on some of the pitfalls. In short, you'd need to be able to

Shredding files in .NET

半世苍凉 提交于 2019-11-27 14:52:14
Is there a SDK that can be used in managed code to shred files securely? EDIT: This is the only link i could find in google that helps me EDIT: Either SDK or some kind of COM based component. This code from codeproject may be a good starting point. Eraser has been around for years, you could call out to it by using System.Diagnostics.Process, or at least review the algorithm there. Technology has changed in the past few years so when I happened to see this answer (why wasn't an answer accepted again?) I wanted to provide an update for others with similar questions. Please note that shredding