Forum Replies Created

Viewing 15 posts - 1,156 through 1,170 (of 3,221 total)

  • RE: adding a computed persisted column to a large table and error out due to transaction log size

    A far out idea. If you have sufficient disc space. Create another new table exactly like the table to which you want to add the persisted column, with...

    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: adding a computed persisted column to a large table and error out due to transaction log size

    What is your back up mode?

    Did you enclose a batch of changes within a start - end transaction?

    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: Query/Stored Procedure Help

    I personally do not prefer to use dynamic SQL within the stored procedure as it must recreate the execution plan each time the SQL is executed. However, in this simple...

    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: Query/Stored Procedure Help

    Here is a possible way of achieving what you need.

    alter PROCEDURE [dbo].[GetMapLocationsByState]

    @LocationState nvarchar(2)= NULL

    ,@Director VARCHAR(5)...

    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: Data nearing to 4GB. is there is a way to extend size?

    The reporting is to compare the data past few years.

    You could analyze the reporting. By that I mean is the data, lets say for sales of items, entered as...

    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 check if a database is still in use

    sqlfriends (6/19/2011)


    bitbucket provided the two links are helpful.

    The first one is broken link, the second one I tried, it turns out it all accessed today.

    So I think I may check...

    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: Joins based on condition

    Sachin4all (6/19/2011)


    Hello

    I need to join Table A with

    Table B or Table C based on condition

    My Table A consists a column with ID's starting with either A12344566 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: how to check if a database is still in use

    I would suggest that you read these two items.

    http://sqlserver-training.com/sql-script-to-find-out-when-database-was-last-accessed/-

    http://dinesql.blogspot.com/2010/05/when-was-my-sql-server-database-last.html

    Also pay particular attention to:

    Note: – This query uses DMV which hold the information from the point where sql services were started....

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

    Thanks for a rather simply, but clear cut 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: Possible problem with statistics ???

    One setting that I have seen mentioned in this discussion, and it may be of no value, but then again it could be.

    Using sys.databases determine if "is_auto_update_stats_async_on"

    My reason 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: Are the posted questions getting worse?

    Ninja's_RGR'us (6/16/2011)


    GSquared (6/16/2011)


    mtillman-921105 (6/16/2011)


    Steve Jones - SSC Editor (6/16/2011)


    Fal (6/16/2011)


    I had loads of fun on the bus coming into work this morning.

    ...

    So I start undressing. As luck would have...

    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 remove duplicates from column without using Temp table

    You may want to use a Common Table Expression (CTE) for example:

    CREATE TABLE T(Date_Stamp DATETIME,KW1 DECIMAL(5,1), KW2 DECIMAL(5,1))

    INSERT INTO T

    SELECT '12/10/2010', 5.3, 3.1 UNION ALL

    SELECT '12/10/2010', 5.3, 3.1 UNION ALL

    SELECT...

    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 2008 BLOB data

    Steve another nice and easy one .....

    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: CHARINDEX doesn't find double spaces

    Using the following I could not duplicate your problem.

    CREATE TABLE #TestTempTab

    (Col1 varchar(50) COLLATE Latin1_General_CI_AS)

    INSERT INTO #TestTempTab

    SELECT 'LOT 42 ROBERTSON RD'

    --------1234567890'

    select Col1, charindex(' ',Col1) FROM #TestTempTab

    Results:

    Col1...

    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: Ussing Substring, Patindex, Charindex to extract data from a string

    Have you considered replacing the - and / with say a comma, using the REPLACE function, then splitting the string passed on commas? That can then be broken up...

    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 - 1,156 through 1,170 (of 3,221 total)