I want a regular expression
that can uniquely identify the user defined function in sql queries.
For example:
with someExp(parameter)
as
(
select parameter = convert(varchar(8000),'welcome')
union all
select parameter + 'user' from someExp where lengthOfPara(parameter) < 100
)
select parameter from someExp
order by parameter
Regular expression should uniquely identify both the function convert and lengthOfPara
.
Thanks in advance.