![]() |
Click here to advertise with us
|
|
|||||||
| Database General Discussion General discussion on database related topics |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi there, I need to create a utility for our app that allows users to enter SQL, in a text box, ideally parse it, reporting back any errors, then affect a selectable database update. Is there an MS component that allows the type of table view query builder? Does anyone know of a good on-line resource/example of a simple query builder, VB.net or C# ? Thank-you in advance
Or just a way to parse a SQL string entered via textbox prior to execution in order to resolve errors Last edited by Nvbn; 10-02-2008 at 10:18 AM. |
|
|||
|
Hi,
Your requirements are perfectly suit to the Active Query Builder component: it has MS-style visual interface, it can parse SQL queries of any complexity and report about parsing errors (of course). Also it can be used as a parser (without GUI). The only shortcoming is that this component reports about one error only, so the user will have to correct the query many times until all errors will be fixed. The developers promise to resolve this issue in the next major version.
|
|
|||
|
Yep this is user via agreement/check or on-site consultant - password protected utility with some log facility so not a free-run to attack the data - is really in case there is not access to management studio - thanks for all advice
|
|
||||
|
well, as noted before.. if youre letting responsible users write queries, then just let them write the query, submit it to the db and return any errors or successes that may happen. No need to parse the query yourself, just use DB securty to define accessible portions
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|