Forum Replies Created

Viewing 15 posts - 3,781 through 3,795 (of 8,761 total)

  • RE: Are the posted questions getting worse?

    ChrisM@Work (3/23/2016)


    How many of you contractors have been so taken with a gig that you've signed up as a permie? I just did. I never expected that.

    The idea of presenting...

  • RE: 3TB database

    PJ_SQL (3/23/2016)


    Thanks but how would it spread data from the 1st file which is 2 TB to second file created?

    1. Create a new file group

    2. Add a file to the...

  • RE: 3TB database

    PJ_SQL (3/23/2016)


    I have 3TB database and MDF is 2TB, how to create secondary file?

    You can use ALTER DATABASE to add a file, the example below adds a file (64Mb) "MyNewDataFile"...

  • RE: Stored Procedure Performance Issue

    LerxtDBA (3/22/2016)


    Originally it was a parameter and it was misbehaving even then.

    I didn't think about the dynamic SQL route but that's because I'm mostly opposed to it on principal. ...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (3/22/2016)


    In case you're wondering, I'm fine. I didn't have to be in Brussels today, so I avoided all of the commotion...

    Glad you are fine mate, still trying to...

  • RE: Stored Procedure Performance Issue

    LerxtDBA (3/22/2016)


    All those are incidental at this point. The "good" plan has a fixed value because it's a production stored proc. The bad plan has those differences because...

  • RE: Stored Procedure Performance Issue

    LerxtDBA (3/22/2016)


    Actually, here we go. Find and replace to remove names.

    That's better, BTW you can use SqlSentry Plan Explorer to anonymize the execution plans.

    One more thing, could you post...

  • RE: This noob needs some help

    Quick suggestion based on the fact that Zero date is Monday 1900-01-01.

    😎

    SELECT

    CONVERT(

    ...

  • RE: Stored Procedure Performance Issue

    LerxtDBA (3/22/2016)


    And it looks like I missed the whole attachments thing. Here we go

    Please post the actual execution plans, these images of the graphical plan representation are just like...

  • RE: Query slow just once a day

    Luis Cazares (3/21/2016)


    The major difference from the 2 runs seems to be the physical reads from a table. When it's slow, it's reading 12-13 thousand pages from disk. When it's...

  • RE: Looping and scalar value

    drew.allen (3/21/2016)


    Eirikur Eiriksson (3/21/2016)


    kuopaz (3/21/2016)


    I see, thanks. As it's scanning the tally table row-by-row from start to the predicate value, the order of N may be important in some cases...

  • RE: Login failed Error: 18456

    scott clemons (3/21/2016)


    First time posting this type of info. Wasn't sure if I should provide the computer, domain or user specific info, so I replaced with <#####>. Hope...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/21/2016)


    For those of you with standing desks, ArsTechnica says it may not be helping[/url] you at all.

    Here is an alternative[/url]

    😎

  • RE: Looping and scalar value

    kuopaz (3/21/2016)


    I see, thanks. As it's scanning the tally table row-by-row from start to the predicate value, the order of N may be important in some cases (not this example),...

  • RE: Login failed Error: 18456

    scott clemons (3/20/2016)


    I have read countless articles on the internet about fixing this error, but nothing works. Sorry, if there is an easy answer, but I can't figure it...

Viewing 15 posts - 3,781 through 3,795 (of 8,761 total)