Supercharge Your Innovation With Domain-Expert AI Agents!

General structured query language (SQL) data processing method and system

A data processing system and data processing technology, applied in the field of data warehouses, can solve problems such as unfavorable management and maintenance, inability to realize code operation, and inability to support cross-platform heterogeneous database environments, etc.

Inactive Publication Date: 2012-08-08
北京英孚斯迈特信息技术有限公司
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The disadvantage of prior art 1 is: all stored procedures or functions need to be recompiled after any modification to make the latest modification take effect, and it will also involve stored procedures and function dependencies. If there are stored procedures and functions Dependency, all dependent stored procedures and functions must be recompiled to take effect, otherwise an error will be reported during execution, which will be very troublesome to maintain, which is not conducive to management and maintenance, and also brings certain pressure to the data warehouse
[0005] The disadvantage of prior art 2 is that the syntax and usage of SQL statements for each type of database are different, and the SQL nested in the external perl and she11 programs only support one database environment, so they do not support cross-platform heterogeneous databases environment, when the program is migrated to another database environment, all perl and she11 programs must be modified to support the new database environment
Therefore, the workload of changes during migration is very large, and it is impossible to realize that a set of codes can run in all database environments

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • General structured query language (SQL) data processing method and system
  • General structured query language (SQL) data processing method and system
  • General structured query language (SQL) data processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0033] like figure 1 As shown, the general SQL data processing method includes the following steps:

[0034] ①Install TCL script;

[0035] Install the package of IS / BI-GSQL general SQL system under linux

[0036] tar xzvf dwpro.tar.gz

[0037] tar xzvf dwtools.tar.gz

[0038] ② When executing the TCL script, read the database connection configuration file;

[0039] Modify the database connection configuration file

[0040] vi / data1 / dwdev / dwpro / etc / common.cfg

[0041] ③ After successfully connecting to the target database, read the TCL function mapping file corresponding to the target database function;

[0042] #oracle database connection settings

[0043] set dbName_oracle dwtest3

[0044] set dbUser_oracl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a general SQL data processing method and a system. The general SQL data processing method comprises installing tool command language (TCL) scripts; reading database connection configuration files when executing the TCL scripts; reading TCL function mapping files corresponding to an object database functions after accessing the object database successfully; analyzing corresponding TCL functions in the TCL scripts to generate the object database functions by using the TCL function mapping files; and submitting the generated object database functions and SQL statements to object database execution. The general SQL data processing method and the system are characterized in that a plurality of heterogeneous data sources are supported, a set of codes can run without any modification in a plurality of database, and the function accords with final data; through custom SQL standards, the problem of modification of a large number of program codes in a data migration process for enterprises is solved, and labor and financial investments are reduced.

Description

technical field [0001] The invention relates to the field of data warehouses, in particular to data migration in the field of data warehouses. Background technique [0002] Existing technology 1: calculating, summarizing, cleaning and transforming data by writing related stored procedures or functions in the database. For data warehouse environments such as DB2, SYBASE, ORACLE, GREENPLUM, and TERDATA, the existing technical solutions are to write a large number of stored procedures in DB2, SYBASE, ORACLE, GREENPLUM, and TERDATA. The calculated data is inserted into its own data warehouse environment. When these internal stored procedures and functions are created or modified, they need to be compiled and then run, otherwise they will not take effect. [0003] The disadvantage of prior art 1 is: all stored procedures or functions need to be recompiled after any modification to make the latest modification take effect, and it will also involve stored procedures and function ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 官辉鲁超齐科军李俊
Owner 北京英孚斯迈特信息技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More