A scalar user-defined function that accepts a string and returns in surrounded in quotes, and all quotes in it are doubled. For instance "o'clock" is returned "'o''clock'".
One parameter: @str nvarchar(1998). The return value is nvarchar(4000).