Forum Replies Created

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

  • RE: Need advice on this string manipulate scalar UDF

    I have read the cross apply articles

    I made the following code to see if I understand it correctly.

    SELECT 'D' AS RECORDTYPECODE

    , a.[Id]

    ,a.[FundsMovementItemTypeId]

    ,a.[FundsMovementSetId]

    ,a.[FeeTypeId]

    ,AccountName = iTVF.result

    ,GLAccountName = iTVF1.result

    ,LodgementReference = iTVF2.result

    ,AccountNumber =...

  • RE: Need advice on this string manipulate scalar UDF

    Thanks a lot for your reply!

    Can you please guide me how to call a iTVF function

    in the Select SQL I posted? Same syntax or I need

    to use Cross Apply?

    I don't...

  • RE: Need advice on this string manipulate scalar UDF

    I have written another UDF to use while loop shown as below:

    create function dbo.[ReplaceSplVarcharsBICD_test3] (@s varchar(8000)) returns varchar(8000)

    with schemabinding

    begin

    if @s-2 is null

    ...

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