Home Forums SQL Server 2014 Development - SQL Server 2014 Getting an error when trying to duplicate some code off of a website. What have I done wrong? RE: Getting an error when trying to duplicate some code off of a website. What have I done wrong?

  • Doctor Who 2 (1/26/2015)


    I'm still not sure what sort of data type the @words variable is, though.

    It'll be varchar or nvarchar

    And another question. I've written UDF's before, but they were all scalar return type UDFs. I am not sure what the syntax is, in this case, to return the table expression that Mapper should return.

    Have you looked in Books Online? I seem to recall the documentation on functions is pretty good.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass