Viewing 15 posts - 4,261 through 4,275 (of 14,953 total)
You want to affix an "A" to the end of a duplicate, right? That's easy enough.
What do you want to do if there's more than 2 of a single...
May 18, 2011 at 12:43 pm
I put in the non-repeat bit because of the way Steve wrote his original Where clause. I just moved it into the Joins.
May 18, 2011 at 12:41 pm
It depends on what you're trying to get as an end result.
Are you trying to get a grid with:
a,b,c
b,c,a
c,b,a
b,a,c
a,c,b
c,a,b
c,b,a
And variations with more columns, with no repeating values in a single...
May 18, 2011 at 12:21 pm
Is there anything in there that says which row's ID goes into which row's Value?
It looks like what you're trying to do is take the next row, and put it's...
May 18, 2011 at 11:56 am
roger.plowman (5/17/2011)
Think about it. Would *you* want somebody who enjoyed high-stakes risk taking being a...
May 18, 2011 at 10:24 am
Ninja's_RGR'us (5/17/2011)
Why can't we have fun getting done what needs to be done and go home after that? No need for long NOR...
May 18, 2011 at 10:14 am
"Best" will depend on your database and what else is going on in it.
You could use sys.columns to identify all table columns that can contain textual data (varchar, char, nvarchar,...
May 18, 2011 at 9:51 am
Ninja's_RGR'us (5/18/2011)
Wow that's a scary thought. A problem that both of your brains combined have troubles dealing with :w00t:.I never thought I'd see that day!
Nah. My brain knows...
May 18, 2011 at 9:44 am
Ninja's_RGR'us (5/18/2011)
I never faced that issue so this is more of a shotgun...
May 18, 2011 at 9:34 am
Stefan Krzywicki (5/18/2011)
GSquared (5/18/2011)
Lynn Pettis (5/18/2011)
May 18, 2011 at 9:25 am
SELECT *
FROM sys.dm_tran_locks
WHERE request_session_id < 0;
Returns zero rows.
Does that look like the right query for that?
May 18, 2011 at 9:16 am
It's sometimes surprising what blindspots we don't realize we have.
I ran into a minor one at the SQL Rally last week.
I thought this would be non-SARGable and would result in...
May 18, 2011 at 9:11 am
The way to move your thinking from rows to sets is "stop thinking about what you want to do to a row, start thinking about what you want to do...
May 18, 2011 at 9:07 am
Lynn Pettis (5/18/2011)
May 18, 2011 at 7:26 am
Viewing 15 posts - 4,261 through 4,275 (of 14,953 total)