Forum Replies Created

Viewing 15 posts - 1 through 15 (of 405 total)

  • RE: Clustered scan vs Non-clustered Seek with lookup

    It would be better for you to find this yourself by creating a load on your Dev  server.
    With out the included columns the plan may even ignore the new...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: get info from a variable of a huge set of databases with same schema and table name????

    You need to either use Cursor

    or try something like

    @sql nvarchar(max)=''

     set @sql=  @sql +

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Refresh table data from Prod to UAT

    It  might be difficult to suggest an approach by an outsider who do not know any thing about the database and the application it supports.
    But even then the basic...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Max memory for Sql

    AWE is required only if you have 32 bit OS. 
    SQL server buffer cache can use memory that you have configured in Max Memory

    You can use the total...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Report to Capture Table Growth size Statistics for SQL Server on daily basis..

    I use the following query to monitor my tables

    Select SCHEMA_NAME(t.schema_id) SchemaName,t.name,s.rows,p.reserved_page_count*8.0/1024 SizeMB from
    sys.partitions S join sys.tables t on s.object_id=t.object_id and
    s.index_id in...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Index Performance

    certainly they are duplicate. The clustered index can benefit the same queries as the non clustered one. But  there is a chance that someone might have created it intentionally for...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: HOW TO DROP UNIQUE NON CLUSTERED INDEX

    GilaMonster - Friday, February 17, 2017 2:35 AM

    joeroshan - Friday, February 17, 2017 2:15 AM

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: HOW TO DROP UNIQUE NON CLUSTERED INDEX

    Clustered index is the table, so you might want to recreate the index without the column, or you will end up with a heap table.
    Since it is a Unique...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Rounding off in SQL

    poornima.s_pdi - Wednesday, February 8, 2017 1:52 AM

    Hi,

    We should not convert the number from 300 to 300.0 because I have dynamic number...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Rounding off in SQL

    Try

    SELECT CONVERT

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Restore database with move

    Is the backup file good ?
    Can you try
    RESTORE VERIFYONLY  FROM DISK = N'C:\SomeFolder\SomeBackup.bak'?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Unable to shrink log file due to transactional replication

    Also please look for any uncommitted transactions sysprocesses/ dm_exec_sessions

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Table Replication.

    What is the maintenance you do on B?

    does it affect the data?

    And what type of replication have you configured?

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Causing the Job to fail based on a condition

    In an execute SQL task get the status of a file to a variable, and in control flow precedence constraint, evaluate expression to check the value is success for...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: How to see index coding

    You do not definition of the index as a script like that if that is what you are looking for.

    You can right click the index in SSMS and script index...

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 1 through 15 (of 405 total)