Viewing 15 posts - 2,536 through 2,550 (of 3,654 total)
My point about removing the INSERT was to prove that the XML shredding actually works and could come back as a recordset.
If this was the case the chances are that...
January 10, 2006 at 3:33 pm
Put it this way, you have sat for 15 years in front of a cathode ray gun.
When I was at college in the 1980s one of our tasks was to...
January 10, 2006 at 1:27 am
Temporarily comment out the INSERT statement.
If that doesn't work try supplying a small XML file in the correct format.
What happens if you change the parameter to NTEXT rather than TEXT?
January 9, 2006 at 1:13 pm
Have a separate table.
BEGIN TRANS
INSERT INTO dbo.YourSeparateTable
SELECT FROM dbo.YourOriginalTable
WHERE [qualifying criteria]
DELETE FROM dbo.YourOriginalTable
WHERE [qualifying criteria]
COMMIT TRANS
Then BCP out dbo.YourSeparateTable
Then TRUNCATE dbo.YourSeparateTable
Incidentally a fast way of generating the structure of YourSeparateTable...
January 9, 2006 at 1:09 pm
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@xmlInput", SqlDbType.Text, 1024));
Possibly 1024(1KB) should be 5120000 (5MB)?
January 9, 2006 at 7:14 am
I have read an article on physical file defragmentation on a SAN or RAID system http://www.raxco.com/products/perfectdisk2k/whitepapers/pd_raid.pdf.
The gist of RAID/SAN defrag is that
a) Not all defrag tools are compatible with SANS/RAID...
January 9, 2006 at 7:03 am
The BBC has been experimenting with on-demand podcasting and their view is that as a public service broadcaster their material should be free.
I've had BSkyB for 4 years but it...
January 9, 2006 at 1:38 am
Oh the beloved datetime thing.
9/10 times it has something to do with the server being configured to recognise dates in month-day rather than day-month or vice verse.
I got so teed...
January 6, 2006 at 12:39 pm
Joe Celko is a purist and while technically correct (probably) he has a "forceful" way of expressing his views.
January 6, 2006 at 11:03 am
OK I have got my file by ditching the FOR XML command and using the sp_makewebtask stored procedure with a template that has my XML structure in it.
If I keep...
January 6, 2006 at 2:04 am
Good news Dad, your airbag works!
You couldn't trust him to sit the right way on a toilet seat!
Your displaying more intelligence than your hand-writing would suggest.
The most important part of...
January 6, 2006 at 1:17 am
If I could get the file then FTPing it is pretty straight forward.
My problem is that my query produces the XML I want but if I try and use a...
January 6, 2006 at 1:13 am
The behaviour of the outer join is very useful if you get an question such as
"Give me all the customers who ordered in December who didn't order in November"
You can...
January 5, 2006 at 1:30 am
I would consider having a set of archive tables that are basically structurally identical to your existing tables.
Your existing tables contain the data up to 3 months old, your new...
January 4, 2006 at 1:01 pm
Viewing 15 posts - 2,536 through 2,550 (of 3,654 total)