Viewing 15 posts - 7,501 through 7,515 (of 8,760 total)
Ed Wagner (8/11/2014)
GilaMonster (8/11/2014)
paul.knibbs (8/11/2014)
Jeff Moden (8/9/2014)
With the understanding you have of that counting problem and the additional understanding that I don't ask "trick" questions or questions based on trivia,...
August 15, 2014 at 12:59 pm
Koen Verbeeck (8/15/2014)
GilaMonster (8/15/2014)
Eirikur Eiriksson (8/14/2014)
You can try out these methods as previously suggested
However OP said
I really don't like this temp table creation
So, no row number, no temp tables....
August 15, 2014 at 11:39 am
serviceaellis (8/15/2014)
JeeTee (8/15/2014)
Is this for...
August 15, 2014 at 11:36 am
You can try out these methods as previously suggested, hard to understand why going through all the trouble instead of using ROW_NUMBER!
π
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @RESSET TABLE
(
...
August 14, 2014 at 11:57 pm
August 14, 2014 at 11:14 pm
serviceaellis (8/14/2014)
Not really understanding the difference?Main thing with what I need is it's not an aggregate
My bad, sorry for the incomplete answer;-)
The complexity of not using an aggregate is...
August 14, 2014 at 10:51 pm
It is of course possible on almost static databases with mostly reads and hardly any inserts/updates, but in general it is unlikely. There may be other reasons where one would...
August 14, 2014 at 10:04 pm
Quick thought, you might want to use cross-tab instead of pivot, take a look at this article by Jeff Moden, Cross Tabs and Pivots[/url]
π
August 14, 2014 at 9:51 pm
It is SSMS which is playing tricks on you, for an automatic process it should not be in the picture. Create a stored procedure with your select statement and call...
August 14, 2014 at 9:46 pm
sandie_zarate (8/14/2014)
August 14, 2014 at 9:18 pm
It is obviously the keyboard:-P
There are so many possibilities here that it's hard to say where to start. First thing is probably the laptop's power management, make certain it is...
August 14, 2014 at 8:59 pm
SQLRNNR (8/14/2014)
Eirikur Eiriksson (8/14/2014)
Luis Cazares (8/14/2014)
Grant Fritchey (8/14/2014)
Evil Kraig F (8/14/2014)
djj (8/14/2014)
ChrisM@Work (8/14/2014)
remember '76/'77
Wish I could remember what last year was like, I remember some nice days for '77...
August 14, 2014 at 1:27 pm
Lynn Pettis (8/14/2014)
Eirikur Eiriksson (8/14/2014)
Luis Cazares (8/14/2014)
Grant Fritchey (8/14/2014)
Evil Kraig F (8/14/2014)
djj (8/14/2014)
ChrisM@Work (8/14/2014)
remember '76/'77
Wish I could remember what last year was like, I remember some nice days for...
August 14, 2014 at 1:22 pm
Luis Cazares (8/14/2014)
Grant Fritchey (8/14/2014)
Evil Kraig F (8/14/2014)
djj (8/14/2014)
ChrisM@Work (8/14/2014)
remember '76/'77
Wish I could remember what last year was like, I remember some nice days for '77 as I have...
August 14, 2014 at 12:23 pm
Quick thought along with previous suggestion, selecting with a conversion will still return the rows up to the conversion failure, here is an example code
π
USE tempdb;
GO
CREATE TABLE dbo.TBL_CONVERSION_TEST_SOURCE
(
...
August 14, 2014 at 12:18 pm
Viewing 15 posts - 7,501 through 7,515 (of 8,760 total)