Viewing 15 posts - 3,541 through 3,555 (of 26,490 total)
Here is my solution:
with basedata as (
select
rn = row_number() over (partition by ClientId order by case when AddrType = 'Billing' then 1
...
August 3, 2016 at 8:24 am
Ed Wagner (8/3/2016)
Lynn Pettis (8/2/2016)
August 3, 2016 at 8:06 am
adonetok (8/2/2016)
How to link Access database to SQL server so that I can view Access tables in SQL studio...
August 2, 2016 at 3:55 pm
Ed Wagner (8/2/2016)
jasona.work (8/2/2016)
August 2, 2016 at 3:50 pm
If your original letter specified work at will and nothing in writing has superseded that statement, I would say you are free to give two weeks notice. No, the...
July 28, 2016 at 9:42 am
Brandie Tarvin (7/28/2016)
ChrisM@Work (7/28/2016)
BrainDonor (7/28/2016)
How many people out there are going to think "I could do with a new kitchen, where should...
July 28, 2016 at 6:57 am
SeniorITGuy (7/26/2016)
A simple answer for you is to check the SQL instance out right away.
Brent Ozar has a great, free tool for this: spBlitz which can be downloaded here: [/url]
You...
July 27, 2016 at 12:43 pm
Sean Lange (7/27/2016)
jasona.work (7/27/2016)
Sean Lange (7/27/2016)
Lynn Pettis (7/27/2016)
I just love people that want others to do their job for them.I have no words...
Considering the latest response in that topic, I...
July 27, 2016 at 11:29 am
Sean Lange (7/27/2016)
liorvikel (7/27/2016)
noi have error in SQL AGENT .
i need scripts .
Good luck. Perhaps if your post was a little more cordial and less demanding we could...
July 27, 2016 at 11:28 am
I just love people that want others to do their job for them.
July 27, 2016 at 8:43 am
Haven't seen the UK Kitchen spam in a while.
July 26, 2016 at 12:24 pm
GilaMonster (7/25/2016)
Lynn Pettis (7/25/2016)
GilaMonster (7/25/2016)
fergfamster (7/25/2016)
You dont think using the @@rowcount is useful? Better to just do both statements?
No, because what if there's 6 rows that need inserting and 4...
July 25, 2016 at 1:49 pm
GilaMonster (7/25/2016)
fergfamster (7/25/2016)
You dont think using the @@rowcount is useful? Better to just do both statements?
No, because what if there's 6 rows that need inserting and 4 updating? To use...
July 25, 2016 at 1:32 pm
fergfamster (7/25/2016)
I have a table with 23 billion rows so Merge is out, as it scans the entire thing and has become a hog. So I'm going back in time...
July 25, 2016 at 12:20 pm
Sean Lange (7/20/2016)
ThomasRushton (7/20/2016)
Steve Jones - SSC Editor (7/19/2016)
jasona.work (7/19/2016)
Instead, who's going to see Star Trek this weekend!Star Trek is likely a couple weeks away for me.
I don't think that...
July 20, 2016 at 9:49 am
Viewing 15 posts - 3,541 through 3,555 (of 26,490 total)