Forum Replies Created

Viewing 15 posts - 3,721 through 3,735 (of 19,560 total)

  • RE: Add $ symbol to column values

    Try this

    DECLARE @dollar TABLE (id INT IDENTITY(1,1),Cost INT)

    INSERT INTO @dollar

    ( Cost )

    VALUES (-4255),(25454),(467834)

    select ID, GETDATE() as 'Date', REPLACE('$' + CONVERT(VARCHAR(20),CONVERT(MONEY,SUM(Cost))),'$-','-$') Dollars

    ,...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: SQL 2008 r2 CU6

    http://support.microsoft.com/kb/2489376

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Page life expetancy is low

    Grant Fritchey (2/12/2014)


    GilaMonster (2/12/2014)


    Benki Chendu (2/12/2014)


    GilaMonster (2/12/2014)


    Benki Chendu (2/12/2014)


    Gila - I would need help in showing my client a document which says 5000 is an agreed value. I can then...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Select rows with Blank spaces

    What have you built so far for you query to do that update?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Migrating from 2K to 2K8 - a few questions

    That will work.

    But why not apply those transaction log backups to the target as the backup occurs? You could logship those databases and keep them in sync and then...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    parsnip

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Export multiple reports to separate folders in pdf format

    I just read the rest of your problem title and had only gone off the description in your post.

    Exporting reports as pdf to different folders is a different thing.

    Sounds like...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Export multiple reports to separate folders in pdf format

    Try this series of articles (the link to the first article is in this article I am posting).

    http://jasonbrimhall.info/2011/11/29/ssrs-export-part-2-export-data-source/

    I show how to export both the data sources (part 2) and the...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Today's Random Word!

    Ed Wagner (2/12/2014)


    Revenant (2/12/2014)


    JAZZ Master (2/12/2014)


    crookj (2/12/2014)


    Daniel Bowlin (2/12/2014)


    SQLRNNR (2/12/2014)


    Ed Wagner (2/12/2014)


    BWFC (2/12/2014)


    whereisSQL? (2/11/2014)


    SQLRNNR (2/11/2014)


    Lynn Pettis (2/11/2014)


    Seventh Heaven! (All this delicious food!!)

    Cloud 9

    ecstacy

    Agony

    Pain

    Gain

    overtake

    Surpass

    Overpass

    Bypass

    Heart

    surgery

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: How Often Do I Backup my Log?

    Steve Jones - SSC Editor (2/12/2014)


    As Gail mentioned, disasters vary. It's easy to think of HA as protecting you from disaster, but it doesn't. Don't conflate the idea of HA...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Foreign Keys: Essential or Academic?

    GilaMonster (2/12/2014)


    Essential. Absolutely essential.

    There's no procedural or application code that will stop someone from updating a table directly if they have permissions, or stop a newly written app from putting...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Foreign Keys: Essential or Academic?

    GilaMonster (2/12/2014)


    Eugene Elutin (2/12/2014)


    ...a senior database developer colleague of mine described the use of foreign keys as "purely academic" citing that FK's provide little benefit that can't be enforced through...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: How to collect data from different databases within a stored procedure?

    Are you building a dynamic sql string in your cursor and then executing that string?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: high cpu

    pmadhavapeddi22 (2/12/2014)


    Jeff,

    I am sorry if I have confused you.

    I still stand on the same point that there are set of update statements in a stored procedure.Due to these updates, CPU...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Logic Precedence

    david.wright-948385 (2/12/2014)


    sknox (2/12/2014)


    ...This can be alleviated by formatting, e.g:

    WHERE

    (

    (a = b)

    OR

    (b = c)

    )

    AND

    ...

    as opposed to

    WHERE ((a...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 3,721 through 3,735 (of 19,560 total)