Viewing 15 posts - 1,096 through 1,110 (of 8,416 total)
Jeff Moden (1/16/2012)
January 16, 2012 at 8:56 am
Jeff Moden (1/16/2012)
January 16, 2012 at 8:43 am
hemaljoes (1/16/2012)
However temp table has about 12,000 rows.There for executing the query it take about 90 seconds.
How can I do my query in less time.
Are you able to provide us...
January 16, 2012 at 6:55 am
snigdhandream (1/16/2012)
Option 31>Col1 + Col3
2>Col2 + Col3
3>Col3
This seems a reasonable starting point (it covers all the query examples you gave). You will obviously want to test that they are...
January 16, 2012 at 6:41 am
Roy Ernest (1/16/2012)
And I got a A+ review for the year 2011 from my CTO. So...
January 16, 2012 at 6:25 am
Jeff Moden (1/16/2012)
January 16, 2012 at 6:22 am
mario.balatellii (1/16/2012)
thanks i used the comma seperation and worked out the code in c# to get the desired result :).
I do like a happy ending 🙂
January 16, 2012 at 6:01 am
Jeff Moden (1/16/2012)
January 16, 2012 at 5:59 am
Cadavre (1/16/2012)
I think you're much more likely to encourage people to test with large data-sets if they have something they can paste into their own test environment and just execute.
So...
January 16, 2012 at 5:19 am
mario.balatellii (1/16/2012)
I need multiple row in one column..
so instead of having seperate rows for UNITS column I...
January 16, 2012 at 5:08 am
Jeff Moden (1/16/2012)
January 16, 2012 at 5:01 am
This is about as close as you can get, taking the question literally:
SELECT
CASE
WHEN Numbered.RowNumber = 1
...
January 16, 2012 at 3:34 am
You are right about the sample data not matching the output.
frfernan (1/16/2012)
Anyway I prefer code joins rather than subselects...
The LEFT JOIN...IS NULL construction does not have the quite same semantic...
January 16, 2012 at 3:14 am
SQL Server allows transactions to be nested for exactly this sort of situation. See http://msdn.microsoft.com/en-us/library/ms189336.aspx
January 16, 2012 at 2:52 am
Dev (1/1/2012)
ALTER PARTITION FUNCTION [pfTBLTRANS_ID]()
SPLIT RANGE (11000000) -- New Range
GO
ALTER PARTITION SCHEME [psTBLTRANS_ID]
NEXT USED [ filegroup_name...
January 16, 2012 at 2:41 am
Viewing 15 posts - 1,096 through 1,110 (of 8,416 total)