Forum Replies Created

Viewing 15 posts - 121 through 135 (of 607 total)

  • RE: SSMS 2012 is using 3+ Gigs of Ram... suggestions?

    In my experience I normally find that excessive printing to the messages pane is the cause of excessive memory usage by SSMS.

    Run this and watch SSMS grab all the memory...

  • RE: Heaps rebuild

    Igor Micev (5/21/2014)


    Sean Pearce (5/21/2014)


    Igor Micev (5/21/2014)


    Sean Pearce (5/21/2014)


    The question is not quite right. Fragmentation can be removed by running this because the table is rebuilt.

    Your claim that Paul says...

  • RE: Heaps rebuild

    Igor Micev (5/21/2014)


    Sean Pearce (5/21/2014)


    The question is not quite right. Fragmentation can be removed by running this because the table is rebuilt.

    Your claim that Paul says you can't remove fragmentation...

  • RE: Heaps rebuild

    The question is not quite right. Fragmentation can be removed by running this because the table is rebuilt.

    Your claim that Paul says you can't remove fragmentation is wrong. Paul doesn't...

  • RE: Change Identity Property in T-SQL

    Welsh Corgi (5/20/2014)


    You are right you can't set the Identity Property to true.

    You can set the identity property to false by simply going into design mode and set the property...

  • RE: Change Identity Property in T-SQL

    You can't turn an existing IDENTITY off and you can't make an existing column IDENTITY. However you can add an IDENTITY column to an existing table.

    Any indexes should be scripted,...

  • RE: Change Identity Property in T-SQL

    What do you mean?

    Change the column that is an IDENTITY?

    Add or remove an IDENTITY column?

    Change the seed?

  • RE: Does anyone have efficient SQL paging code?

    DECLARE

    @NumberOfRows INT = 10,

    @PageNumber INT = 2;

    SELECT

    name

    FROM

    sys.tables

    ORDER BY

    object_id

    OFFSET

    (@PageNumber - 1) * @NumberOfRows ROWS

    FETCH NEXT

    @NumberOfRows ROWS ONLY

    GO

  • RE: Filtered Index vs Indexed View

    Hugo Kornelis (1/16/2014)


    Carlo Romagnano (1/16/2014)


    The focus of the question is "How are filtered indexes usefull?".

    My answer is "They are not so usefull as Indexed view".

    Isn't this like saying that cars...

  • RE: SQL Server Browser

    Koen Verbeeck (1/16/2014)


    Nice question, but a bit ambiguous.

    I can start SQL Server Browser with the command net start sqlbrowser.

    No switches there 😉

    I agree it's a nice question but ambiguous.

    The question...

  • RE: Filtered Index vs Indexed View

    That was a great question. Thanks.

  • RE: Can I programmatically clone a stored procedure in tsql script?

    You must be manipulating the string at some point between getting the definition and executing the dynamic code otherwise the create statement will fail creating a proc with the same...

  • RE: UPDATING COLUMN STATS WITH FULLSCAN

    Green Armchair (1/10/2014)


    Hi

    I am testing updating statistics using the "WITH FULLSCAN" option.

    Updating one set of INDEX stats takes a few minutes, but updating one set of COLUMN stats on the...

  • RE: How can I use output of a stored procedure dynamiclly?

    I simply mean a unique string in the html contents that the generate proc creates. Then you can use the REPLACE function at display time.

  • RE: How can I use output of a stored procedure dynamiclly?

    In the generate proc you should define a placeholder for time and in the show proc you can replace your placeholder with the time.

    This does sound like a job for...

Viewing 15 posts - 121 through 135 (of 607 total)