Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在寻找一个返回 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
提前致谢 ;)
看看这是否适合你
\w*\s*as\s([a-zA-Z]*)