Forum Replies Created

Viewing 15 posts - 16,441 through 16,455 (of 19,560 total)

  • RE: Tempdb growing out of control

    Molly Cary (3/15/2010)


    Well I'm pretty sure it's the tempdb that's my problem, but no I haven't figured out what it is.

    Tempdb will grow due to temp table usage, large sort...

    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: Performance drop off with TOP X

    You're welcome.

    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: Are the posted questions getting worse?

    Lynn Pettis (3/15/2010)


    SQL Server 2008

    declare @MyDate1 datetime,

    @MyDate2 datetime2;

    set @MyDate1 = getdate();

    set @MyDate2 = @MyDate1;

    select @MyDate1 - 10; -- Works

    select...

    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: Are the posted questions getting worse?

    GSquared (3/15/2010)


    Alvin Ramard (3/15/2010)


    CirquedeSQLeil (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    Anybody else see a problem with this statement?

    DECLARE @selectDate = getdate()-365

    Yes, in SQL Server 2008 it is missing the data type. ...

    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: Are the posted questions getting worse?

    Alvin Ramard (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    CirquedeSQLeil (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    Anybody else see a problem with this statement?

    DECLARE @selectDate = getdate()-365

    Yes, in SQL Server 2008...

    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: 2 servers 1 IP

    John Paul-702936 (3/15/2010)


    Hi

    What Lowell was telling is extract that matches my requirement

    I believe in an ACTIVE/PASSIVE 2 server setup, SERVER A and SERVER B might be...

    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: Are the posted questions getting worse?

    Alvin Ramard (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    CirquedeSQLeil (3/15/2010)


    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    Anybody else see a problem with this statement?

    DECLARE @selectDate = getdate()-365

    Yes, in SQL Server 2008 it is missing 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: Is a FK also an index

    This is actually a common misconception. As John said, you will need to create an index manually for each FK.

    Also of worth, I covered this topic with a script...

    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: Denormalization Strategies

    Lynn Pettis (3/15/2010)


    Les Cardwell (3/15/2010)


    In spite of the criticism, it was still a simple example of minimal denormalization to achieve an end result rather than a full-on explosion of wide...

    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: Denormalization Strategies

    Alvin Ramard (3/15/2010)


    Paul White (3/15/2010)


    Jim,

    Yes. Data warehouses are a totally different kettle.

    It's normal for denormalization to be present in a data warehouse.

    (Seriously, there was no pun intended.)

    Absolutely. ...

    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: Denormalization Strategies

    Paul White (3/15/2010)


    Normalize 'til it hurts...de-normalize* 'til it works!

    Agreed.

    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: Are the posted questions getting worse?

    Lynn Pettis (3/15/2010)


    Alvin Ramard (3/15/2010)


    Anybody else see a problem with this statement?

    DECLARE @selectDate = getdate()-365

    Yes, in SQL Server 2008 it is missing the data type. Should be:

    DECLARE @selectDate datetime...

    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: 2 servers 1 IP

    John Paul-702936 (3/15/2010)


    Hi , I have 2 SQL Servers with the Databases ... i want to have a sinfle IP address with refelcts the 2 servers

    Can someone please explain...

    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: appropriate date format

    I recommend the replace option that was provided.

    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: Performance drop off with TOP X

    As an option, try the below changes.

    ;WITH Excpt

    as

    (

    SELECT

    A.DetailID,

    A.ClaimID,

    B.MCareNo

    ,Row_Number() over (Order by a.detailid) as RowNum

    FROM dbo.udf_GetDetailsAsOfTaskListID(17, 0) AS A

    LEFT JOIN dbo.udf_GetClaimsAsOfTaskListID(17, 0) AS B

    ON A.ClaimID = B.ClaimID

    WHERE...

    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 - 16,441 through 16,455 (of 19,560 total)