我们正在寻找一个返回SQL-Select字段名称的正则表达式: 1 fixedValue Custno CustName (可以用,等等分隔)
select
1,
'test' as fixedvalue ,
tbl.s_no as custno ,
ltrim(rtrim(isnull(tbl.s_name1, '') + ' ' + isnull(tbl.s_name2, ''))) as custname
from tbl
提前致谢;)
答案 0 :(得分:0)
看看这是否适合你
\w*\s*as\s([a-zA-Z]*)