Hallo everyone,
in my User Definied Function, I would like to define a variable with a LET clause:
In the User Defined Function, I want to check, if a String(of type VARCHAR) has at lease one book(one number in the variable Books):
But it didnt work. How can I express this in SQL:
if there is at least one of these book numbers, write 'direct'
Thank you guys.
Regards,
Ratna:)
in my User Definied Function, I would like to define a variable with a LET clause:
Code:
LET Books = (#1#, #39#, #40#, #55#)
Code:
if(Books IN myString) then 'direct'
if there is at least one of these book numbers, write 'direct'
Thank you guys.
Regards,
Ratna:)