Forum Replies Created

Viewing 15 posts - 1 through 15 (of 2,469 total)

  • RE: convert date 103 dd/mm/yyyy

    Convert your date to datetime data type first - CAST(LAST_MOD_DT AS Date)

    Use this link for knowledge reference: http://sqlmag.com/sql-server/solving-datetime-mystery







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Count Delta

    If I understand your requirement correctly, you would need something like this:

    ;With ID_TotalCount(Int_ID, Int_IDTotalCount)

    AS

    (

    SELECTInt_ID, COUNT(Int_ID)

    FROMdbo.tblData

    GROUP BYInt_ID

    ),

    ID_OpenCount(Int_ID, Int_IDOpenCount)

    AS

    (

    SELECTInt_ID, COUNT(Int_ID)

    FROMdbo.tblData

    WHEREEvent = 'Open'

    GROUP BYInt_ID

    )

    SELECTDISTINCT td.Int_ID

    ,ISNULL(Int_IDOpenCount, 0) AS Opened

    ,ISNULL(Int_IDTotalCount - Int_IDOpenCount, -1) AS Diff...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Code Reviews Must Be Brutally Honest

    hakim.ali (8/6/2012)


    sushila (8/6/2012)


    No one deliberately writes mediocre code

    Yes, we all write code to the best of our ability. But the best of our ability does not always mean the best....







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Code Reviews Must Be Brutally Honest

    When developers are coding, most are doing what they think is their best. No one deliberately writes mediocre code, so reviewers need the tact and diplomacy of ambassadors. Few people...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Stored Procedure Naming Conventions

    Something that uses "multiple columns", "multiple conditions" in any abbreviated form/combination that you may find makes sense in your environment?! :unsure:

    I would tend to stick as closely as possible to...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Mind mapping software - How it can help the DBA

    Thank you David - for opening up a whole new world! I'm not sure why isn't this a global norm - both the concept as well as the (now seemingly...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Jeff Moden elected Exceptional DBA of 2011

    Ah the good old day, when techers didn't know about copy / paste :-D.

    Tsk tsk Remi - in a hurry to type eh - it's good old days (plural) and...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Jeff Moden elected Exceptional DBA of 2011

    Look who's back from the dead...

    welcome home.

    😀 I don't want to detract from the focus of this forum - but I'm not really home yet - was just stopping by...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Jeff Moden elected Exceptional DBA of 2011

    CONGRATULATIONS Jeff!!! I cannot think of anyone who deserves it more. You've always been exceptional - glad that the recognition has been formalised.

    I'm hoping that Steve posts clips...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: A Little Interviewing Advice

    "After all, companies lie in interviews almost as much as candidates"!

    How very true and sad that is! In retrospect I feel I was very naive and gullible when I started...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: is there any shortcut key for enable/disable the intelisence in sqlserver 2008

    I found this link but it's only for updating intellisense - http://lukehayler.com/2011/03/refresh-intellisense-in-sql-server-management-studio-2008/ (I, however, do not have this under my Edit menu)

    no hotkeys to enable/disable - but honestly - if...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Raw Materials: Females Explained

    gonickl (4/2/2009)


    Yes, you're probably right, Carolyn. I can see how it looks that way. Sorry. The way this happened was that I had a different cartoon in mind about male...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: is there any shortcut key for enable/disable the intelisence in sqlserver 2008

    If you mean you don't want to set it via "Tools-options-Text Editor-TSql-Intellisense', you can always add the SQL Editor toolbar (using Tools-customize) and enable/disable without any navigation.







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: SQL & the JOIN Operator

    SuperDBA-207096 (10/7/2009)


    Andy - I would agree.

    Only thing that bothers me is when people use meaningless abbreviations like

    select a.somefield, b.somefield

    from table1 a, table2data b

    A and B are not too informative....

    Hence Jeff's...







    **ASCII stupid question, get a stupid ANSI !!!**

  • RE: Motivating the Team

    "Boy. You really have a low opinion of our field. Do your employees feel the same way? How depressing! Maybe you feel that way but programs I wrote 30 yrs...







    **ASCII stupid question, get a stupid ANSI !!!**

Viewing 15 posts - 1 through 15 (of 2,469 total)