Viewing 15 posts - 226 through 240 (of 1,228 total)
Joey Morgan (2/25/2014)
February 25, 2014 at 10:17 am
Perry Whittle (2/21/2014)
passed my Class II Civil Avaition Authority medical today 😀
Will we have to call you Gloster now? 🙂 Well done Perry.
February 21, 2014 at 12:25 pm
SQLRNNR (2/14/2014)
Sean Lange (2/14/2014)
SQLRNNR (2/14/2014)
February 14, 2014 at 12:45 pm
Ask your designer about the performance implications of ISNULL around a join column - and research it yourself first if you're not already 100% sure.
February 14, 2014 at 12:36 pm
Groundhog Day, Keith. He's seen this once or twice before 😉
February 11, 2014 at 12:43 pm
Lowell (2/11/2014)
i have a simple macro i use to dump typical copy/paste data and turn it into a CTE, so coming...
February 11, 2014 at 10:35 am
Both functions will result in a sort unless a) the data coming into the operator is sorted same as the order by of the function and b) the query processor...
February 11, 2014 at 10:32 am
Use the OUTPUT clause on an UPDATE statement. OUTPUT was introduced in SQL Server 2005.
February 10, 2014 at 12:55 am
Recursive CTE's aside (I've done a little work with them), I think you are still missing the point - they're a coding shortcut. If you cannot consider your CTE to...
February 9, 2014 at 3:33 pm
Here's a little test harness. If you can't figure it out from here, let us know:
WITH
Today AS (SELECT Today = '20120228' UNION ALL SELECT '20120229' UNION ALL SELECT CAST(GETDATE()...
February 9, 2014 at 3:21 pm
This is straightforward using DATEDIFF and DATEADD. what do you want to do with a date which is exactly a year ago (or two years, or three)? Today one year...
February 9, 2014 at 2:46 pm
youresoshain (2/9/2014)
Thanks guys for getting...
February 9, 2014 at 1:43 pm
Not sure what you mean Peter - a CTE is just a macro, a view on the fly. Can you construct your idea into pseudocode, it might make it easier...
February 9, 2014 at 11:26 am
Viewing 15 posts - 226 through 240 (of 1,228 total)