Viewing 15 posts - 4,171 through 4,185 (of 14,953 total)
Remember to add in IsNull/Coalesce around the columns in the inner query. Otherwise you'll be missing columns in the output string for some rows.
June 2, 2011 at 7:52 am
It has ampersands in the data. There needs to be a replace step to clean it into real XML.
Whomever designed the database he's using, they made a number of...
June 2, 2011 at 7:49 am
Here's a skeleton that should get you started. You should be able to see how the rules work in it and customize them as you see fit.
/*
Horse Name Ranking...
June 2, 2011 at 7:44 am
My first instinct on reading the title and intial requirement statement was to suggest snapshot replication.
However, for something twice a month, I'd suggest a simple SSIS package, or even a...
June 2, 2011 at 6:26 am
Do it in two steps.
Parse out the value, into a temp table or a variable, then convert it to datetime.
Or skip all that and use XQuery as per my example....
June 2, 2011 at 6:17 am
Pretty safe assumption you've already resolved this, but if not, what is blocking and what is eating up resources?
June 2, 2011 at 6:13 am
Kit G (6/1/2011)
Thanks for the reply but that doesn't quite answer my question. The code works. What I'm trying to figure out is WHY it works so...
June 1, 2011 at 1:44 pm
On the other question about XML escape characters in the results (the & amp bit), you'll need to (a) wrap your fields in IsNull or Coalesce functions to make sure...
June 1, 2011 at 1:38 pm
Kit G (6/1/2011)
declare @BatchSize...
June 1, 2011 at 1:29 pm
It looks like a Select with an Outer Join should do what you need.
select pin, Rule.Date
from [Pins]
cross join [Rule]
left outer join [Registry]
on [Pins].Pin = [Registry].Pin
and [Rule].Date = [Registry].Date
where [Registry].Date is...
June 1, 2011 at 9:10 am
Is there a trigger on the table you're trying to insert into?
June 1, 2011 at 9:05 am
WayneS (5/31/2011)
This is meant to be run one time to create the procs, that are then used to get the data. Of course, they need some modifications to add...
June 1, 2011 at 9:01 am
LutzM (5/31/2011)
GSquared (5/31/2011)
...GSquared, OEC, FEBC, HDA, RSVP, OODA, MAP, NMVP, ARCSW, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ETC
Gus, you didn't take...
June 1, 2011 at 8:52 am
The question becomes, if more than one row qualifies to fire the trigger, do you send more than one e-mail, or will one e-mail accomplish what you need? What...
June 1, 2011 at 8:51 am
Craig Farrell (5/31/2011)
GSquared (5/31/2011)
jcrawf02 (5/31/2011)
Do Not Resuscitate
We should put that on...
May 31, 2011 at 2:25 pm
Viewing 15 posts - 4,171 through 4,185 (of 14,953 total)