Forum Replies Created

Viewing 15 posts - 541 through 555 (of 3,221 total)

  • RE: how to check Update Statistics is being executed automatically daily or not

    Here is a code sample, that you might want to include in a job set to run on a daily basis. Insert the results into a table for review...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: What is the best SQL Server disaster recovery solution?

    Another thought for the long haul ..

    Database Mirroring (SQL Server)

    SQL Server 2012

    http://msdn.microsoft.com/en-us/library/ms189852.aspx

    which states:

    This feature will be removed in a future version of Microsoft SQL Server. Avoid using this...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: how to delete all except results of select statement

    Denise McMillan (3/30/2012)


    Thank you for those ideas.

    I was hoping to do this without a second table though. I'm not using all the fields in the table to get the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: NOT BETWEEN

    Nice easy one to end the week ....

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: BETWEEN ages

    A quick and simple answer is No you can not

    CREATE TABLE #A(Age INT,Id INT IDENTITY(1,1))

    DECLARE @X INT

    SET @X = 20

    WHILE @X < 30

    BEGIN

    ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: how to delete all except results of select statement

    Like so much of SQL the answer is it depends. In this case is the number of rows which will remain, a in significant number or percentage of the...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: AlwaysOn Secondaries

    Learned something .... thanks

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: need to display ? instead of null

    Look at using ISNULL

    http://msdn.microsoft.com/en-us/library/ms184325(v=sql.100).aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Row size of the Table

    sqlnaive (3/28/2012)


    Is there a way I can find out the row size fo a table ?

    1. Is the table a heap (no indexes) or does it contain indexes?

    2. ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (3/28/2012)


    GSquared (3/28/2012)


    Koen Verbeeck (3/28/2012)


    David Burrows (3/28/2012)


    SQLRNNR (3/27/2012)


    When did we start doing milestones for the 5k posts? I thought it was 10k.

    A milestone is a milestone is a...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Strange situation in SQL 2008

    What is the compatability level of you Model DB ?

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: VIEWS 4

    davidandrews13 (3/27/2012)


    Carlo Romagnano (3/27/2012)


    Easy question!

    Good practice is never use "SELECT * FROM" in view, too.

    😉

    surely it doesn't matter if you do SELECT *?

    every time i create or update a view...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Universal ID Project

    To start the discussion - Tech Specs Shall we discuss the change or rate of change (now increasing) of the Worlds population. Whose estimates (United Nations forecast, or...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/26/2012)


    How would you all like to design the system (and database) around this one: http://www.cnn.com/2012/03/26/opinion/frum-identity-cards/index.html?hpt=hp_bn7

    Look I am old with grey hair but so far no ulcer's no uncontrolable...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: can any one just help help me to just avoid comma at end trim for this scalar function?

    Look at using the REVERSE function, something like this:

    DECLARE @T VARCHAR(50)

    SET @T = 'building,test ,test,Åland ,'

    SELECT REVERSE(SUBSTRING(REVERSE(@T),2,LEN(@T)))

    Result:

    building,test ,test,Åland

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 541 through 555 (of 3,221 total)