Forum Replies Created

Viewing 15 posts - 646 through 660 (of 13,876 total)

  • Reply To: How to substract value from its own column in same tabl through condition basis

    Nice try, but there are a few issues.

    1. You have not included a CREATE TABLE, but I was able to get that from your proc definition a few posts earlier
    2. ...


  • Reply To: How to substract value from its own column in same tabl through condition basis

    I tried pasting that into SSMS and hitting F5, but got a parsing error.

    You clearly have not taken the time to read the article to which Jeff directed you. Or,...


  • Reply To: Replace double quotes in derieved column SSIS

    This expression will do that:

    right(F,3) == "\" \""? replace(F,"\" \"","\""): F

  • Reply To: Replace double quotes in derieved column SSIS

    OK, just to be clear, are you saying that you want to change this

    "1234-28" "

    to this

    "1234-28"

    ?


  • Reply To: How Often Do You Update SSMS?

    Thomas Franz wrote:

    Still using SSMS 18.x since my second most important Addon (besides Redgate SQL Prompt) with the name SSMSBoost seems to be deprecated and there is no version that works...


  • Reply To: Replace double quotes in derieved column SSIS

    Note also that there is a difference between an empty string ("") and NULL.


  • Reply To: Replace double quotes in derieved column SSIS

    Please try this:

    REPLACE( F , "\"", "" )

  • Reply To: How to substract value from its own column in same tabl through condition basis

    Once again, if you want coding assistance, please provide consumable sample data for us to experiment with.


  • Reply To: Performance optimization by excluding JOIN with tables only with one record

    This semi-join version of the UPDATE might perform better

    UPDATE pt
    SET LastModifiedDateTime = @dt
    FROM PlayersTypes pt
    WHERE EXISTS
    (
    SELECT 1
    FROM @TableTypePlayersTypes ttpt
    ...

  • Viewing 15 posts - 646 through 660 (of 13,876 total)