Code Automation Tool SQL Query Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database programming using Structured Query Language (SQL) is complex, requiring special knowledge, and existing user interface-based SQL editors do not guide users in optimizing query performance, leading to increased development costs and longer development cycles, especially for users without database management system knowledge.

Innovation Solution

A computer-implemented system and method, known as the Code Automation Tool (CAT), that allows users to create SQL queries without DBMS knowledge, performs performance optimization and error checking in real-time, and automatically generates application code with error handling and retry logic, reducing the need for manual modifications and minimizing errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If users manually create SQL queries using traditional SQL editors, then users can access database programming functionality, but the complexity of SQL syntax requires special knowledge and training, increasing development cost and lengthening development cycle

Engineering Contradiction:
Improveease of SQL query creationVSAvoiddevelopment cycle length
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent introduces an intermediary tool (SQL editor with automated features) that mediates between the user and the complex SQL syntax. The tool provides automated query generation, syntax validation, and optimization suggestions, allowing users with minimal SQL knowledge to create efficient queries without manual syntax construction

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The SQL editor implements self-service mechanisms by automatically generating optimized SQL queries from user-friendly inputs, performing syntax validation, and providing optimization suggestions without requiring user expertise in database management systems or SQL syntax

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If users manually incorporate SQL queries into external application code, then integration is achieved, but additional sources of error are introduced and more modifications are required

Engineering Contradiction:
Improveintegration capabilityVSAvoidcode error rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent merges the SQL query creation process with the application code integration process by providing automated incorporation features. The tool combines SQL syntax validation, query optimization, and code integration into a unified process, reducing manual intervention and minimizing error introduction during integration

Inventive Principle:
Principle #5Merging (Combining)

3Ease of operation

If existing SQL editors are used to simplify query building, then user input collection is enabled, but the editors do not guide users in optimizing query performance, requiring multiple iterations and testing

Engineering Contradiction:
Improvequery building simplicityVSAvoidquery optimization efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The SQL editor implements feedback mechanisms by providing real-time optimization suggestions, performance predictions, and validation during query construction. The tool analyzes user inputs and provides immediate feedback on potential performance issues, allowing users to optimize queries before finalization without requiring multiple test iterations

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8555263B2System and method for code automation
Publication Date: 2013.10.08 AETNA INC
  • US8555263B2 patent drawing
  • US8555263B2 patent drawing
  • US8555263B2 patent drawing

AI summary

A system is provided for computer application code automation comprising a code automation computer server configured for presenting an electronic user interface for receiving user input for generating a Structured Query Language (SQL) query, the user input comprising a plurality of SQL tokens, a processor, associated with the code automation computer server, for receiving the plurality of SQL tokens, the processor retrieving from memory and executing computer executable instructions for at least one of: (a) optimizing performance of the SQL query while receiving the user input, and (b) error checking the SQL query while receiving the user input, wherein the processor is adapted for automatically incorporating the generated SQL query into the computer application code and storing the computer application code in a non-transitory computer readable medium.