Viewing 15 posts - 5,176 through 5,190 (of 8,753 total)
crookj (5/26/2015)
Ed Wagner (5/26/2015)
Eirikur Eiriksson (5/22/2015)
Revenant (5/22/2015)
SQLRNNR (5/22/2015)
psychoacousticaudio
noise
Background
Image
Spitting
May 26, 2015 at 6:52 am
Jim1234 (5/25/2015)
When I'm trying to connect to a tabular cube via Power Pivot in Excel 2010, I'm getting an error
"The following system error occurred: A connection attempt failed because the...
May 25, 2015 at 4:10 pm
adam.mesny (5/25/2015)
May 25, 2015 at 3:42 pm
Jason A. Long (5/25/2015)
Windowed functions are an extremely powerful feature, and...
May 25, 2015 at 3:33 pm
Quick single scan solution
π
USE tempdb;
GO
SET NOCOUNT ON;
WITH XSAMPLE(book, position) AS
(SELECT * FROM (VALUES
('A', 500)
,('B',-500)
,('C',-500)
) AS X(book,...
May 25, 2015 at 3:32 pm
simon.harvey 41170 (5/25/2015)
There could be a whole lot of hidden costs as in rewriting stuff that no longer works.
Too true - I got the impression that even the SAAS costs...
May 25, 2015 at 3:03 pm
TheSQLGuru (5/25/2015)
Eirikur Eiriksson (5/23/2015)
TheSQLGuru (5/23/2015)
This thread has become a laundry list of worst practices!! πThat by itself presents an opportunity, care to do a write up?
π
Nope, sorry. I don't like...
May 25, 2015 at 2:43 pm
Very quick note, you are definitely on the right track here, the notes are all correct and accurate so far.
π
May 25, 2015 at 2:13 pm
Luis Cazares (5/25/2015)
WITH CTE AS(
SELECT *, (ROW_NUMBER() OVER(PARTITION BY Country ORDER BY Id)+ 2) / 3 AS rowrank
...
May 25, 2015 at 2:01 pm
_simon_ (5/25/2015)
Ughhhh... An explanation, yes please π
The DENSE_RANK provides an one based incremental value for each country in an alphabetical order, the ROW_NUMBER / 3 adds the value of one...
May 25, 2015 at 1:46 pm
Quick and simple solution, should be enough to get you passed this hurdle, let me know if you need any explanations.
π
USE tempdb;
GO
SET NOCOUNT ON;
if object_id('tempdb.dbo.#Countries') is not null drop table...
May 25, 2015 at 8:03 am
Jampandu (5/24/2015)
Thank you very much sir, I'm able to write the sql script for other elements π
Happy to help and thanks for the feedback.
May 24, 2015 at 11:58 pm
WhiteLotus (5/24/2015)
May 24, 2015 at 10:14 pm
audiocool (5/24/2015)
Is that Remote desktop connection ? If yes, we all login to...
May 24, 2015 at 9:43 pm
Luis Cazares (5/24/2015)
Would someone be interested on helping me to proofread an article that I'm planning to submit to SQLServerCentral? It's about while loops not being evil. π
I would be...
May 24, 2015 at 9:16 pm
Viewing 15 posts - 5,176 through 5,190 (of 8,753 total)