Forum Replies Created

Viewing 15 posts - 61 through 75 (of 2,462 total)

  • RE: Cursor to Delete data

    Tej_7342 (11/5/2013)


    There are 2.2 billion records in the table and we want to only keep 2 weeks data, as of now we are lagging behind so we want to delete...

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

  • RE: Permissions issue with temp tables

    Make habbit to include schema whenever playing with sql objects.it is good from "standard" as well as "safety" perspective

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

  • RE: Need suggestion in Prod migration

    you can do SQL 2000 SP4 to 2008 R2 by SQl Server Upgrade Advisor:

    See http://www.microsoft.com/downloads/en/details.aspx?FamilyID=f5a6c5e9-4cd9-4e42-a21c-7291e7f0f852&displaylang=en

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

  • RE: Query

    First ..fix the LEFT join as chris has asked. another thing where you are getting "NULL" results (in which column)

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

  • RE: Query

    Nobody can help you here ..we dont know your data and table definition.

    PLease post table defintion along with (sample) data to get the result.

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

  • RE: jobs taking too long to finish

    USe below query to troubleshoot the resource crunch

    --== Blocking queries in database ==--

    SELECT DES.Session_ID AS [Root Blocking Session ID], DER.STATUS AS [Blocking Session Request Status],

    DES.Login_Time AS [Blocking Session Login...

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

  • RE: Permissions issue with temp tables

    are you creatogn dynamically sql script through app ?

    which could be missing schema name in generated script

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

  • RE: recovery model simple

    LOVER OF SQL (11/2/2013)


    the problem is because my disk have a 20gb free, and tlog is bigger then 20gb...

    is it a dedicated log disk ?

    Use another bigger disk...

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

  • RE: Backup/Recovery Mode question

    You havent mentioned in any of ur post that you are managing the logs ? for full recovery .. regular Tlog will be required .

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

  • RE: CXPACKET on Inserting

    you havent answered my question ? as it might help us to frame resolution for ur issue.

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

  • RE: CXPACKET on Inserting

    winston Smith (10/31/2013)


    I came across a database today that was doing a lot of inserting onto a table. It was taking an exceptionally long time.

    How much data you are...

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

  • RE: Log space issue

    New persopn (10/31/2013)


    How can i monitor the complete log usage in that particular time.

    As steve mentioned above.

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

  • RE: Execution Times vs Logical Reads/Scan Count

    tony28 (10/30/2013)


    SO my point is WHAT IS BETTER FROM ANOTHER POINT OF VIEW, I PREFER LONG TIME ( because i think this is still short time ) THAN LOT...

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

  • RE: exec stored proc. dynamically

    try this

    insert into #tblmain

    exec usp_Main_TEST @CustID = '123'

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

  • RE: problem with order by !!!

    Koen Verbeeck (10/25/2013)


    A clustered index does not sort the rows physically in the pages, but logically.

    Does a Clustered Index really physically store the rows in key order?[/url].

    I also read...

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

Viewing 15 posts - 61 through 75 (of 2,462 total)