Forum Replies Created

Viewing 15 posts - 166 through 180 (of 544 total)

  • RE: No Progress while Update

    Koen Verbeeck (9/21/2012)


    Could have been anything. Syntax is probably correct, otherwise it would have errored out.

    Maybe a deadlock or something?

    I am the only one who is using this table..i can...

  • RE: No Progress while Update

    Koen Verbeeck (9/20/2012)


    Your mistake is in using the OLE DB Command for doing updates, which is very, very slow.

    Try writing the rows to a staging table and do an UPDATE...

  • RE: How to replace the strings?

    Sean Lange (9/4/2012)


    Charmer (9/4/2012)


    Mark Eckeard (9/4/2012)


    If you need this added to a query where you don't always know the value, try this:

    select replace(YourColumnNameHere, '.00', '0.00')

    This worked when I tested it...

  • RE: How to replace the strings?

    Mark Eckeard (9/4/2012)


    If you need this added to a query where you don't always know the value, try this:

    select replace(YourColumnNameHere, '.00', '0.00')

    This worked when I tested it using this code:

    with...

  • RE: How to replace the strings?

    Adi Cohn-120898 (9/4/2012)


    Do you always have space before the decimal point? If the answer is true you can use the replace function to replace ' .0' with ' 0.0'....

  • RE: How to avoid this T-SQL statement affecting my TempDB?

    ChrisM@Work (8/30/2012)


    Thanks for the feedback. The original table had an unnecessary join which the new query eliminates, and if you can remove the DISTINCT now, then you remove a memory-hogging...

  • RE: How to avoid this T-SQL statement affecting my TempDB?

    ChrisM@Work (8/29/2012)


    Try putting the FOR XML PATH stringinator into a CROSS APPLY, where it can crunch up the rows of PSFDOC separately from the rest of the query. You might...

  • RE: How to avoid this T-SQL statement affecting my TempDB?

    GSquared (8/29/2012)


    Glad we could help.

    Thank you so much, Pal...I really appreciate your suggestions

  • RE: How to avoid this T-SQL statement affecting my TempDB?

    Suresh B. (8/29/2012)


    Is "ORDER BY C.FDDOC#, C.FDLINE" required?

    What is the type of C.FDLINE?

    Creating an index on C.FDDOC#, C.FDLINE should imporve the tempdb size and execution time.

    Yes, order is must because...

  • RE: How to avoid this T-SQL statement affecting my TempDB?

    GSquared (8/28/2012)


    The only way I see to possibly avoid tempdb on this one would be to build permanent tables, do the work in them that tempdb is doing in worktables,...

  • RE: To avoid Cache Process taking my time?

    Phil Parkin (8/24/2012)


    If you're using full cache, I am not certain that the index will help (it's loading all the columns into memory anyway) - but worth a test.

    The index...

  • RE: To avoid Cache Process taking my time?

    It's hard to tell without knowing your data.

    Partial cache is good if you know that certain rows are going to be looked up many times. But if the lookup is...

  • RE: To avoid Cache Process taking my time?

    Phil Parkin (8/24/2012)


    Consider changing the cache mode. See here.

    i read the article Phil,

    Could you please give me your idea for my condition?

    My situation is , Look up or reference...

  • RE: Row_Number() in SSIS?

    Lynn Pettis (8/17/2012)


    Charmer (8/17/2012)


    Lynn, what about trailing spaces.....? they are char data type .....so if data is less than the exact length, automatically the reamining length will occupied with empty...

  • RE: Row_Number() in SSIS?

    Lynn, what about trailing spaces.....? they are char data type .....so if data is less than the exact length, automatically the reamining length will occupied with empty spaces right? ...then...

Viewing 15 posts - 166 through 180 (of 544 total)