Forum Replies Created

Viewing 15 posts - 496 through 510 (of 3,221 total)

  • RE: Remove trailing space from a field

    For the trailing spaces why not use the RTRIM function for example:

    DECLARE @Area VARCHAR(50)

    DECLARE @A2 VARCHAR(50)

    SET @Area = 'GAUTENG EAST 1 '

    SET @A2 = 'GAUTENG EAST 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: Generating Test Data: Part 2 - Generating Sequential and Random Dates

    Thanks Jeff, another great article with code that everyone should add to their sandbox DB. And of course, use same, to test if an item is ready for...

    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: Sequences II

    Thomas Abraham (4/24/2012)


    bitbucket-25253 (4/24/2012)


    ... 2nd select returns 2147483646 yes the sequence is descending, but still not what is the supposed correct answer, so I am still confused and...

    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: Sequences II

    OK no longer confused or perplexed -

    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: Sequences II

    I am some what confused and perplexed for when I run

    (in Denalli CTP3)

    SELECT name, start_value FROM sys.sequences;

    the return values are:

    name ...

    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 you restore a 2008 DB to 2005?

    Post removed. See GilsaMonsters' following post ... as it IS CORRECT !

    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: sql server 2005

    Duplicate posting. Please reply at

    http://www.sqlservercentral.com/Forums/Topic1288206-145-1.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: Alternative option to UNION ALL

    You should read this blog posting:

    http://blog.sqlauthority.com/2009/03/11/sql-server-difference-between-union-vs-union-all-optimal-performance-comparison/

    Which contains:

    A UNION statement effectively does a SELECT DISTINCT on the results set. If you know that all the records returned are unique from your...

    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: Endpoints

    Nice question ....

    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: Counting Records in months inbetween date ranges.

    To help those who want to help you with a tested solution, please post table definition, sample data and required results when using the sample data.

    You can do this easily...

    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 can I make a Comparaison before Update??

    My apologies, but I do not understand your request. Could you provide a sample of the results you are looking for ?

    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 can I make a Comparaison before Update??

    Is this what you are looking for?

    CREATE TABLE #T(AName VARCHAR(10),ALevel INT)

    INSERT INTO #T

    SELECT 'Stefan',3 UNION ALL

    SELECT 'Mike',2 UNION ALL

    SELECT 'Samuel',4

    SELECT AName,ALevel FROM #T -- check input

    DECLARE @newlevel INT

    DECLARE @oldlevel INT

    SET...

    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: Return items not modified in "X" days?

    Oops did not refresh to see your last post before I posted this.

    In general something like this might just be useful, if you have NOT solved your problem.

    CREATE TABLE...

    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: Rebuild index required Down time ??

    1. In your maintaince plan step 3. Update statistics is unneccessary

    since during the rebuild process the statistics are re-computer. See

    http://decipherinfosys.wordpress.com/2008/02/07/index-rebuilding-vs-index-reorganizing-in-sql-server-2005/

    2. In your maintainence plan do you determine...

    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 are the different types of errors in sql server ?

    Refer to:

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

    For a full listing and expanded explanation of error messages.

    Depending of what you mean by type it could be "System defined" / "User defined" or "Fatal" / "Non Fatal"

    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 - 496 through 510 (of 3,221 total)