I have the following table in SQL Server :
| ColID | Columns |
| 1 | SELECT Col1, Col2, Col3, Col4, Col5 FROM MyTab |
I want to get the column names between SELECT and FROM.
| ColID | Columns |
| 1 | SELECT Col1, Col2, Col3, Col4, Col5 FROM MyTab |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amira BedhiafiRank #601 · 4K reputationPosted Feb 26, 2021, 9:11 AM EST