Viewing 15 posts - 496 through 510 (of 1,228 total)
XMLSQLNinja (7/18/2012)
...There are other ways to do this but using recursion is generally the fastest.
Recursion is the third fastest; CLR > "Quirky Update" > rCTE > cursor > triangular join....
July 20, 2012 at 3:29 am
darthurfle (7/19/2012)
Hi,Does anybody have a solution for this problem?
Many Thanks!
Without a sample data script to work with? Figure out the algorithm for generating the numbers in the seq column, filtering...
July 20, 2012 at 12:57 am
Have a look at Peter Larsson's Composable DML blog entry.
July 17, 2012 at 10:50 am
anthony.green (7/10/2012)
I had a couple of pints of St Austell's Tribute on Saturday, that was a good tasting ale
This weekend is the Tewkesbury Medieval Festival[/url] where our band of brothers...
July 13, 2012 at 5:59 am
JayWinter (7/12/2012)
July 13, 2012 at 1:00 am
JayWinter (7/12/2012)
I.SKU will be used to retrieve a record from from ITEMMAST when either J.SKU=I.SKU or J.ITEMUPC=I.SKU
FROM
Evy_RH_Objects.dbo.RETAIL_SALES I
INNER JOIN RH2007_EvyLive.dbo.ITEMMAST J on...
July 13, 2012 at 12:58 am
Evil Kraig F (7/12/2012)
July 13, 2012 at 12:29 am
Next, put repeated correlated subqueries into the FROM list as OUTER APPLY. What's left is fairly straightforward except for the remaining correlated subqueries in the output;
DECLARE @strBE NVARCHAR(4)
SET @strBE ='1000'
...
July 8, 2012 at 5:36 am
Jeff's nailed all the reasons for rewriting this query from scratch, and I agree, chuck it away and start again. However, sometimes you can gain from having a baseline in...
July 8, 2012 at 5:12 am
debris_flow (7/6/2012)
discovered by each QA analysts in the team for one year. Please describe a
simple SQL statement for identifying...
July 7, 2012 at 1:36 am
Shcherbunov Neil (7/6/2012)
1. SQL Server won't sub in an indexed view if the query is trivial - and it is.
My guess - this statement bears the stamp of truth. If...
July 6, 2012 at 11:39 am
coronaride (7/3/2012)
I think I may see what you're getting at. Are you saying that when...
July 3, 2012 at 11:17 am
coronaride (7/3/2012)
July 3, 2012 at 11:11 am
coronaride (7/3/2012)
July 3, 2012 at 11:07 am
Lowell (7/2/2012)
ChrisM@home (7/2/2012)
Nige.ok even with my awesome Google-Fu skills, I'm not getting the reference.
"The end of the world is Nige". Don't you watch monochrome movies, Lowell?
July 2, 2012 at 1:21 pm
Viewing 15 posts - 496 through 510 (of 1,228 total)