Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 2,462 total)

  • RE: script help

    khushbu (5/4/2010)


    (for simplicity here only few rows are taken, while my table has billions of rows)

    give a close look on indexes used for your query

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: script help

    khushbu (5/4/2010)


    sample data :

    col1 col2

    1 1

    1...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: INSERT/DELETE specific records

    Additionally you need to take care about indexes in the concerned tables

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: INSERT/DELETE specific records

    ColdCoffee (5/3/2010)


    I dint exactly understand what you wnat to do, but as far i could comprehend from your post, here is a set of code that might interest you.

    1. INSERT...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: script help

    Did you notice ? this post has 9 views and still NO reply , just becoz of incomplete information.

    Atleast post desired result for sample data.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: backup begins at LSN which is too recent to apply

    sqlwars (5/4/2010)


    My restore failed with the error: backup begins at LSN which is too recent to apply.

    On checking backup history: i have the following backups taken:

    Missing LSN backup 2:30...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: How long to build index

    Also the business hours matters mean are you building index in peak hours or off-peak hours, on production always go for off peak hours.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Joining two tables with different collation settings

    Below link contains explanation as well as workaround for your problem

    http://www.developmentnow.com/g/113_2006_7_0_0_797273/Cannot-resolve-collation-conflict-for-equal-to-operation-.htm

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: query is too slow

    bodhilove (5/3/2010)


    Bhuvnesh's suggestion seemed to of worked.

    Using a temp table rather than the table variable speeds the query by upwards of 9mins

    it only take 9 seconds now.

    thanks all!

    thats great...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Where are you?

    Michael Meierruth (5/3/2010)


    How about: LETSTRYAGAIN.

    Do you think this will get them on board?

    we can hope so

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Play with NULLIF

    Adam Haines (5/3/2010)


    I think it is also important to understand what is going on underneath the hood, when NULLIF is used. Unbeknownst to some, NULLIF is actually a case expression...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Where are you?

    I dont understand why we have very few girls in database field ? , i think ROLLBACK doesnt work for them 😀

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Simple query....Worst plan

    Paul White NZ (5/3/2010)


    Bhuvnesh (5/3/2010)


    yes this is partitioned table

    I know - I was wondering why it is a partitioned *heap* rather than a clustered table. That's quite unusual.

    i...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: how to improve qurey perpormace

    pradeepmsbi (5/2/2010)


    how to improve the query performance in sql server 2005

    you can find good article here http://www.sqlservercentral.com/search/?q=improve+query&t=a

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

  • RE: Simple query....Worst plan

    Paul White NZ (5/3/2010)


    Bhuvnesh (4/30/2010)


    HI i need better approach for the below one.i know this is very straight forward query but if somebody can help me here . greatly appreciated.

    Is...

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 15 posts - 1,756 through 1,770 (of 2,462 total)