Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Programming
»
Testing
»
Testing integrity of imported data
Testing integrity of imported data
Rate Topic
Display Mode
Topic Options
Author
Message
iDamix
iDamix
Posted Monday, February 28, 2011 12:32 PM
Forum Newbie
Group: General Forum Members
Last Login: Monday, July 18, 2011 12:05 PM
Points: 7,
Visits: 30
Hi,
I've loaded a few hundred XML files into a SQL Server 2008 DB and need to show that the data was accurately replicated.
I'd like to take 10% of each table (each XML files corresponds to a table) and check them against the XML file. Or vice versa, it doesn't really matter.
It is easy to select 10% of each table at random, but does anyone have an idea on how to check it against the XML files?
Thanks in advance.
Post #1070758
pakhireddy
pakhireddy
Posted Saturday, October 06, 2012 8:56 AM
Forum Newbie
Group: General Forum Members
Last Login: Saturday, October 06, 2012 8:56 AM
Points: 2,
Visits: 21
hi
u can goto this link where u can find the answer.
http://www.gcreddy.com/2010/12/qtp-scripts.html
Post #1369434
Jeff Moden
Jeff Moden
Posted Saturday, October 06, 2012 9:13 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 7:36 PM
Points: 32,931,
Visits: 26,820
iDamix (2/28/2011)
Hi,
I've loaded a few hundred XML files into a SQL Server 2008 DB and need to show that the data was accurately replicated.
I'd like to take 10% of each table (each XML files corresponds to a table) and check them against the XML file. Or vice versa, it doesn't really matter.
It is easy to select 10% of each table at random, but does anyone have an idea on how to check it against the XML files?
Thanks in advance.
This is a bit like the mouse guarding the cheese.
The same methods that you used for importing the data would be the same methods you'd use to check the data.
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1369436
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.