Viewing 15 posts - 436 through 450 (of 607 total)
Bill Talada (1/31/2013)
January 31, 2013 at 6:06 am
Can you please supply DDL for tblConsul and #tmpPlan, including all indexes.
While you are there, can you supply the view definition.
January 26, 2013 at 3:50 pm
souLTower (1/25/2013)
Thanks!...
January 26, 2013 at 1:07 pm
Can you tell me how the following two queries compare please.
PLEASE NOTE: You have not aliased all your columns so I have no idea which tables they come from. You...
January 25, 2013 at 5:19 am
My impression is that your query is too complicated and the query optimizer has no chance of compiling the most efficient plan. You can see this in the execution plan...
January 25, 2013 at 5:16 am
If your desired output above is 2013-01-24 then my first solution is correct.
If your desired output above is 2013-02-15 then the following will work.
SELECT
TOP 1 *
FROM
#mydates
ORDER BY
CASE
WHEN mydate >...
January 25, 2013 at 4:16 am
Just to add, I simplified your requirements.
To put it in words, if greatest mydate is less then current date, select most recent mydate. Otherwise if mydate is greater or equal...
January 25, 2013 at 4:06 am
SELECTTOP 1 *
FROM#mydates
ORDER BY ABS(DATEDIFF(SECOND, GETDATE(), mydate))
January 25, 2013 at 4:02 am
GilaMonster (1/24/2013)
Restarting cleared...
January 25, 2013 at 3:16 am
sipas (1/25/2013)Personally I don't give two hoots if I get the answer right or not - as long as I learn something useful.
I agree with that sentiment, however I learned...
January 25, 2013 at 3:07 am
call.copse (1/25/2013)
Sean Pearce (1/25/2013)
Stuart Davies (1/25/2013)
Can't see there'll be much debate about this one!I vehemently disagree.
How can you possibly say that? :angry:
Just my Friday attempt at some humour.
January 25, 2013 at 2:58 am
Hi,
I read the article you referred to at http://www.sqldbadiaries.com/2010/12/13/change-service-account-password-the-specified-network-password-is-not-correct/.
Can you confirm you selected "Entire Directory" for the location field as mentioned at the bottom of the article.
The From this location...
January 25, 2013 at 2:23 am
I have downloaded the plans and they are exactly the same. I downloaded them twice in case of PEBKAC issues.
January 25, 2013 at 2:16 am
What datatype are you using for DCPI_Date in Reliance_Master and Ram_Reliance_Master?
January 25, 2013 at 1:48 am
Viewing 15 posts - 436 through 450 (of 607 total)