java 1.4 Sql 2000 server
I take the input of the sql query (to check the value of the field against the values โโobtained when executing the SQL query) from the administrator user, which will be stored in the database, and then I will execute the SQL query corresponding to the field. Before inserting a sql query into a database I want to check its syntax in Java code.
Fields Sql Query stateCode select statecode from states district code select district code from districts
I don't think there is any (simple) way to check sql
Sql syntax is complex and allows you to use different ways to enter instructions.
, sql statent, SQl, , , .
sql,
SET NOEXEC ON
PreparedStatement ; , ( )
sql-?
.
, . .
, , , , . , .
SET FMTONLY ON, , . SET FMTONLY OFF finally, .
SQL-, โโ SQL- .
, Java #:
http://www.dpriver.com/blog/list-of-demos-illustrate-how-to-use-general-sql-parser/vendor-specific-offline-sql-syntax-check/
Source: https://habr.com/ru/post/1720653/More articles:Does Visual Studio 2010 support jQuery? - jqueryDataBinding with DataRow - problems - c #How can I use multiple schemas to connect to a database in Eclipse DTP? - eclipseCreate and create a clean "ActionScript project" using the Flex SDK for Linux - flexProcessing asynchronous threads in Python - pythonDifference between QuickPraph from CodePlex and CodeProject - comparisonBlack border around symbols when drawing. Image in transparent bitmap - c ++UUID namespace and name. How to get it? - namespacesindex directory in .htaccess - conditionalHow can I extract localized string resources for translation? - asp.netAll Articles