Home > Back-end >  SynEdit using two questions (annotations and more statements execute SQL query)
SynEdit using two questions (annotations and more statements execute SQL query)

Time:09-19

Did the SQL query tool, using TSynSQLSyn can realize highlighting, also implements the automatic completion and table name field name lenovo, most of the function is completed, there are two questions want to know friends help solve,
1, if there is a comment string in the SQL statement, the query will be an error, how to hide or extract statement but remove comments section,
More than 2, the SQL query at the same time, how to extract each SQL statement to query a detailed one by one,

CodePudding user response:

Their top, hope expert guidance,

CodePudding user response:

Two regular expressions may solve a problem, not to try

CodePudding user response:

SQL annotation times what wrong? With regular expressions can definitely rule out comments section, can also capture multiple SQL statements,

CodePudding user response:

SQL text with SynEdit show that you try;
  • Related