Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have sql query which has multiple where clauses. my task is to remove all characters between as my sql is in some lable. how can i do that from c#. please help asap.

thanks and happy coding
Posted

1 solution

Although I haven't got your goals, as I see, you need a statement parser. Try to start here: SQL Parser[^]. You will probably need to modify the code, but it is a good starting point.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900