Forum Replies Created

Viewing 15 posts - 376 through 390 (of 686 total)

  • RE: Talking baseball

    The Rays have it easy. They're playing an AAA team right now. The O's on the other hand are playing spoiler. They'll do anything and everything in their power, including...

  • RE: Are the posted questions getting worse?

    Sean Lange (9/27/2011)

    I typically avoid online political discussion like the plague due the high frequency of rabid and nasty responses.

    hehe

    quick, change the subject!

    ...

    .....

    Using singular table names is a Microsoft best...

  • RE: Talking baseball

    I don't want to hear it.

    2 games to go, we're fine. This ship is NOT sinking!

  • RE: Need date: Today - 2 years..

    Cadavre (9/27/2011)


    calvo (9/27/2011)


    Have you checked that link? There's all the date conversions and date manipulations you'll ever need there.

    DATEADD(YEAR,-2,cast(CURRENT_TIMESTAMP as DATE))

    Just to prove that I do listen when I'm taught...

  • RE: Need date: Today - 2 years..

    Have you checked that link? There's all the date conversions and date manipulations you'll ever need there.

    DATEADD(YEAR,-2,cast(CURRENT_TIMESTAMP as DATE))

  • RE: CHECK DB

    You can run checkDB on the production database. Just schedule it to run at an off peak time (weekends, nights, etc.).

    You would more likely use the restoration process to verify...

  • RE: Need date: Today - 2 years..

    Express12 (9/27/2011)


    This statement renders 2 years ago today:

    SELECT DATEADD(dd, DATEDIFF(dd,0,GETDATE()) -730, 0)

    How can I modify the above statement to use the YEAR instead of dd -- to obtain same result?

    (eg......

  • RE: Script Help Please!

    martin.kerr 34088 (9/26/2011)


    Hi All,

    I am trying to use this select statement:

    select * from [MCM_DQ_PASS1B].[dbo].[View_Pass1bAccounts] where dqflag = 'M' or dqflag = null and expr2 = null and pass2 =...

  • RE: Talking baseball

    sooo,

    I went to the Nationals final home game of the season last night against Atlanta. The wildcard implications with an Atlanta loss could be seen quite visibly on the faces...

  • RE: Talking baseball

    AL

    wow! Boston was able to take one from New York with a 3 run jack in the 14th.

    Tampa pulled off another win over Toronto which leaves them 1 game...

  • RE: Problem with using Datediff in weeks

    This is what I was able to come up with to find the monthly calendar week number.

    DECLARE @dt DATETIME = '9/25/2011'

    select DATEDIFF(week,DATEADD(MONTH,DATEDIFF(MONTH,0, @dt),0),@dt)+1

    Maybe not the best...

  • RE: Problem with using Datediff in weeks

    This got me looking around for a solution to find calendar week numbers (defined however you'd like but for the sake of this discussion we'll assume a static sun-sat). You...

  • RE: install SQL 2008 after SQL 2008R2 ?

    I've run into something similar to this before, it might have been with 2005 and 2008.

    Long story short, 2005 was installed and before I could install 2008 as a...

  • RE: SQL 2008 R2 Installation - Missing Instance Features

    Alright, that is sketchy. I don't know what the problem is but if I had to guess, you might be failing some pre-reqs. If you've used this same iso to...

  • RE: SqlAgent won't start

    Krasavita (9/21/2011)


    Where can I go and create a new password for my sql agent?

    Thank you

    First, you need to find out why it's failing.

    Do you know for sure if it...

Viewing 15 posts - 376 through 390 (of 686 total)