Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • Reply To: Convert VBA function to SQL function

    Hi,

    This function have error in some words.

    Example:

    screenshot_1588817347

    But this result is meaningless

    screenshot_1588817441

    I don't know why this error.

    Kindly help me resolve it. Tks.

  • Reply To: Convert VBA function to SQL function

    Hi Jeffrey Williams,

    Almost case, replace function replace done but in some case do not fail.

    Function:

    ALTER Function [dbo].[test_uni_vni_replace] (

    @string nvarchar(max)

    )

    Returns nvarchar(max)

    As

    Begin

    Select @string = replace(@string collate Latin1_General_CS_AS, viet, vni)

    From dbo.viet_character_encoding;

    Return @string;

    End

    Example:

    declare @input...

  • Reply To: Convert VBA function to SQL function

    Dear Phil Parkin,

    I'm Vietnamese. In Vietnamese language using 2 tpye: unicode encoding and VNI encoding. This function used for convert from Unicode to VNI.

    Example: Unicode: "Lê Minh Trung" ->> VNI:...

  • Reply To: Convert VBA function to SQL function

    Dear scdecade,

    Your function can not use in my database, my database running on SQL server 2014 and can not support JSON.

    Pls help me fix it.

    Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)