What I am doing is reading in multiple XML files and inserting the data into tables. Sometimes there is a duplicate file and thus a PK constraint is violated. What I would like to do is move that file to another folder and go on to the next file. I thought what I could do is an OLE DB Command prior to the database insert and use a Conditional Split to determine if the row should be inserted or the file moved.
In the OLE DB command how do I get the value returned into a variable to use in the Conditional Split? I am using the following SQL command "Select count(*) From Specifications Where RSID=? AND RSITER=?" Can I get access to the value returned?
Any suggestions on the best way to do this?
Thanks