Viewing 15 posts - 1,681 through 1,695 (of 3,957 total)
Brandie Tarvin (7/18/2013)
dwain.c (7/17/2013)
Brandie Tarvin (7/17/2013)
Not only did I just teach myself how to use MERGE (never had time or reason), but I managed to use it correctly with...
July 18, 2013 at 7:16 pm
Khalid Hanif-458693 (7/18/2013)
Dwain,Thanks for the great idea, instead of the computed column, I used the bigint column with all the values.
working like a charm with index seek.
You're welcome. Email...
July 18, 2013 at 6:40 pm
Are you looking for something like this?
DECLARE @AdjacencyList TABLE
(
Parent VARCHAR(20)
,Child VARCHAR(20)
);
DECLARE @PersonsLocations...
July 18, 2013 at 6:36 pm
Revenant (7/17/2013)
dwain.c (7/17/2013)
Brandie Tarvin (7/17/2013)
Not only did I just teach myself how to use MERGE (never had time or reason), but I managed to use it correctly with a...
July 17, 2013 at 8:39 pm
Brandie Tarvin (7/17/2013)
Not only did I just teach myself how to use MERGE (never had time or reason), but I managed to use it correctly with a Cross Applied...
July 17, 2013 at 6:25 pm
Sean Lange (7/16/2013)
July 16, 2013 at 8:00 pm
No ROW_NUMBER() necessary.
If you know the largest value stored in each of the 3 columns of interest, you could create a COMPUTED PERSISTED column that is INDEXed and do it...
July 16, 2013 at 7:29 pm
How should ties in the balance amounts be handled?
Consider using RANK() or DENSE_RANK() instead of ROW_NUMBER().
July 16, 2013 at 6:20 pm
The title of your thread caught my eye because I had a similar problem with SQL Server Agent across remote servers just recently.
Here is the question and solution I posted:
http://www.sqlservercentral.com/Forums/Topic1455796-391-1.aspx
I...
July 15, 2013 at 7:29 pm
Steven Willis (7/15/2013)
For listing out your...
July 15, 2013 at 7:19 pm
tacy.highland (8/16/2011)
Lastname, Firstname
...
July 15, 2013 at 7:13 pm
I agree with Sean that there's little to go on, but I'll give it a shot even though my suggestion will probably be wrong. All the 2 CTEs do...
July 15, 2013 at 6:59 pm
Koen Verbeeck (7/15/2013)
Sean Lange (7/12/2013)
Koen Verbeeck (7/12/2013)
Brandie Tarvin (7/12/2013)
Koen Verbeeck (7/12/2013)
Is there a difference in the US between passport and ID?
Yes, there is. Passport allows us to cross borders with...
July 15, 2013 at 1:16 am
Probably not a great suggestion but if you can't correct it in the fronte end and if this is happening during an INSERT or UPDATE, you could add an INSTEAD...
July 14, 2013 at 6:48 pm
If you expect that values will be missing from the non-summary table, do the summary first and a LEFT JOIN to the non-summary table. Columns that are NULL in...
July 14, 2013 at 6:44 pm
Viewing 15 posts - 1,681 through 1,695 (of 3,957 total)