首页> 外国专利> METHOD AND SYSTEM FOR GENERATING SQL STATEMENT, ELECTRONIC APPARATUS AND READABLE STORAGE MEDIUM

METHOD AND SYSTEM FOR GENERATING SQL STATEMENT, ELECTRONIC APPARATUS AND READABLE STORAGE MEDIUM

机译:产生sql语句,电子设备和可读存储介质的方法和系统

摘要

A method and system for generating an SQL statement, an electronic apparatus and a readable storage medium, which realize automatic and accurate generation of an SQL statement. The method comprises: receiving an SQL statement generation instruction sent by a user, and generating and displaying an SQL statement generation type selection interface; if an instruction of choosing to generate a universal SQL statement by the user based on the SQL statement generation type selection interface is received, generating and displaying a DDL statement parameter setting interface, and after basic information input by the user based on the DDL statement parameter setting interface is received, generating a DDL statement according to the basic information; and if an instruction of choosing to generate a customized SQL statement by the user based on the SQL statement generation type selection interface is received, generating and displaying a function change selection interface, and after a changed function selected by the user based on the function change selection interface is received, determining, according to a pre-set mapping relationship between a function change item and an SQL statement block, an SQL statement block corresponding to the selected changed function.
机译:用于生成SQL语句的方法和系统,电子设备和可读存储介质,其实现了SQL语句的自动和准确的生成。该方法包括:接收用户发送的SQL语句生成指令,生成并显示SQL语句生成类型选择界面;如果接收到用户基于SQL语句生成类型选择界面选择生成通用SQL语句的指令,并在用户基于DDL语句参数输入基本信息后生成并显示DDL语句参数设置界面接收设置界面,根据基本信息生成DDL语句;如果接收到用户基于SQL语句生成类型选择界面选择生成定制SQL语句的指令,则生成并显示功能更改选择界面,并在用户根据功能更改选择功能更改后接收选择界面,根据功能改变项与SQL语句块之间的预设映射关系,确定与所选择的改变后的功能对应的SQL语句块。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号