Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)

  • RE: Efficient Data Deletion Method and Transactional Databases

    I worked with Join previously and found that It takes around 15-20 min to delete 1 million records from 20 tables.

    Then I changed the strategy and first pick and insert...

  • RE: sqlservr.exe uses 100% CPU

    Does this mean that i need to write my business logic in the sql and return only result set to the web server that need to forward to the client.

  • RE: sqlservr.exe uses 100% CPU

    All the calculations are made on the server side. I fetch the records from SQL Server Db to RAM and then manipulate the records on server side and at the...

  • RE: sqlservr.exe uses 100% CPU

    What other ways that i can use to generate the reports for 5-10 million records.

  • RE: sqlservr.exe uses 100% CPU

    What other ways that i can use to generate the reports for 5-10 million records.

  • RE: sqlservr.exe uses 100% CPU

    What other ways that i can use to generate the reports for 5-10 million records.

  • RE: sqlservr.exe uses 100% CPU

    I am calling the SP just one time to get the complete result set.

  • RE: sqlservr.exe uses 100% CPU

    The used SP return the aggregate data and i am calling the SP 5 million times. One time call return the whole data to code and code do the remaining...

  • RE: sqlservr.exe uses 100% CPU

    The SP that i am using

    CREATE PROCEDURE [dbo].[GetReport]

    (

    @whereClause varchar(2000),

    @orderBy varchar(250) = NULL

    )

    AS

    DECLARE @sqlWhere AS varchar(2000)

    SET @sqlWhere = ''

    IF @whereClause <> ''

    SET @sqlWhere = ' WHERE ' + @whereClause

    IF @orderBy IS...

  • RE: sqlservr.exe uses 100% CPU

    I think about this option but I have following questions in my mind

    If I use the temp table then first I need to select the 5 million records from the...

Viewing 10 posts - 1 through 10 (of 10 total)