Hello,
I don't know if this is the right place to ask this question but I thought it would be the best bet.
I want to be able to detect the column names in any given select queries, I though using a regular expression would be the most robust way of achieving this using c#.
I need to be able to handle:
Select * from table
select orders.*, production.* from table
Select id,name,surname from table
select distinct id,name,surname from table
select top(100) id,name,surname from table
I need to return with id,name,surname or * or orders.*
Any suggestions would be welcome,
d3