Forum Replies Created

Viewing 15 posts - 1,921 through 1,935 (of 3,047 total)

  • RE: Question of the Day for 20 Sep 2004

    You mean the results can't be guaranteed. They certainly can be determined simply by running the query.

  • RE: Byte Me: Get-Help

    SQLRNNR (11/5/2015)


    I don't know about powershell punctuation, but tsql punctuation seems to be taking over mine. I keep ending all of my statements in a semi-colon.

    Hmmm, haven't found the need...

  • RE: Byte Me: Get-Help

    tripleAxe (11/11/2015)


    My current affliction is trying to use all my favourite SSMS keyboard shortcuts in other editors; 🙁

    Oh, I've done the same thing. My fingers just know what to do...

  • RE: Data Compression

    Thanks for the compression script.

  • RE: Refactoring SQL Server code

    I hate people refactoring code. They always seem to introduce errors into code that was running OK before they put their mits into it.

  • RE: Add Dependencies to a SQL Server Resource in Windows 2003

    I see the link got fixed from yesterday. Thanks for the article.

  • RE: Question of the Day for 19 Oct 2004

    SQLBill (10/19/2004)


    No. You have it backwards. SQL Server interprets an empty string as a 0 not the other way around.

    ' ' = 0

    but

    0 = 0

    -SQLBill

    Correct

  • RE: Question of the Day for 06 Dec 2004

    Yelena Varshal (12/6/2004)


    Look, Briscoe, BOL says:

    "...can initiate automatic failover if the principal server instance fails..."

    It is failover, not failure. But, you are right. Too much "Law and Order" for Microsoft...

  • RE: Index Scan: Ordered or not?

    Great explanation.

  • RE: Job Schedules

    iain.jacob 29849 (11/10/2015)


    There is always another way...

    WHERE js.next_run_date = cast(convert(varchar(8),GETDATE(),112) as int);

    Now that's the answer I was looking for.

  • RE: Job Schedules

    I had to check the table structure of sysjobschedules. I would never have guessed that a date column was put into a purposely constructed int.

  • RE: Do You Have Scary Code?

    Over the years I think I've written some of that scary code. If something needs changing then change it. But I am not a proponent of just changing code because...

  • RE: First day and last day of a week

    Thanks for the script.

  • RE: Question of the Day for 16 Dec 2004

    The GO is withing the commented block. So nothing in there means anything. Just the last select of getdate()+2 is executed. I think the answer given is wrong.

  • RE: Question of the Day for 16 Dec 2004

    vssohal (12/16/2004)


    Correct answer should be Currentdate + 2

    If you try to execute the script by using Ctrl+c and Ctrl+v in query workbench

    you will get the above said result<FONT color=#008000...

Viewing 15 posts - 1,921 through 1,935 (of 3,047 total)