KR101013810B1 - An excel-based management system for updating db tables and the method thereof - Google Patents

An excel-based management system for updating db tables and the method thereof Download PDF

Info

Publication number
KR101013810B1
KR101013810B1 KR1020100003784A KR20100003784A KR101013810B1 KR 101013810 B1 KR101013810 B1 KR 101013810B1 KR 1020100003784 A KR1020100003784 A KR 1020100003784A KR 20100003784 A KR20100003784 A KR 20100003784A KR 101013810 B1 KR101013810 B1 KR 101013810B1
Authority
KR
South Korea
Prior art keywords
cell
excel
record
update
field
Prior art date
Application number
KR1020100003784A
Other languages
Korean (ko)
Inventor
배영근
Original Assignee
(주)비아이매트릭스
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)비아이매트릭스 filed Critical (주)비아이매트릭스
Priority to KR1020100003784A priority Critical patent/KR101013810B1/en
Application granted granted Critical
Publication of KR101013810B1 publication Critical patent/KR101013810B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

PURPOSE: An excel-based management system for updating database tables is provided to update a database tables using data on excel sheet field. CONSTITUTION: An inquiry command button is inputted. A DB table inquiry unit(33) moves a selected records on DB table to the DB. The database table inquiry part records the data on a field to an excel sheet(60). An update command button is inputted. A DB table update unit(34) updates the selected DB table records with the field value recorded on the excel sheet.

Description

엑셀기반 DB테이블 갱신 시스템 및 방법 { An Excel-based management system for updating DB tables and the method thereof }Excel-based management system for updating DB tables and the method

본 발명은 데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템 및 방법에 관한 것이다.The present invention relates to an Excel-based DB table update system and method for performing a record update operation of a DB table of a database in Excel.

특히, 본 발명은 데이터베이스의 DB테이블의 레코드의 필드값들을 행 단위로 엑셀시트의 셀에 기록하고, 엑셀시트의 셀에 기록된 필드값으로 데이터베이스를 갱신하는 엑셀기반 DB테이블 갱신 시스템 및 방법에 관한 것이다.In particular, the present invention relates to an Excel-based DB table update system and method for recording field values of a record of a DB table of a database in a cell of an Excel sheet and updating a database with field values recorded in a cell of an Excel sheet. will be.

또한, 본 발명은 데이터베이스의 DB테이블을 가져와서 필드명을 제목 셀의 이름으로 정하고, DB테이블의 각 레코드를 하나의 행에 대응시켜 셀에 기록하거나 갱신쿼리를 작성하되 셀 필드값의 필드명이 제목 셀의 이름과 동일한 열에 배열하는 엑셀기반 DB테이블 갱신 시스템 및 방법에 관한 것이다.
In addition, the present invention takes a DB table of the database and sets the field name to the name of the title cell, and writes or updates a query in the cell corresponding to each row of the DB table in one row, but the field name of the cell field value A system and method for updating an Excel-based DB table arranged in the same column as a cell name.

일반적으로 데이터베이스의 추가, 삭제, 갱신 등의 작업은 DB쿼리에 의해 수행된다. 예를 들어, 대표적인 RDBMS(관계형 데이터베이스 관리 시스템)는 SQL(Structured Query Language) 문을 이용하여 데이터베이스(DB)를 갱신한다.In general, database add, delete, update, etc. are performed by DB query. For example, a typical relational database management system (RDBMS) updates a database using a structured query language (SQL) statement.

그러나 SQL 등 DB쿼리는 복잡한 언어 구조를 가지고 있고, DB쿼리를 작성하기 위해서 데이터베이스 개념 및 구조에 대한 전문적인 지식이 필요하다. 따라서 일반적인 사용자는 직접 DB쿼리를 작성하여 데이터베이스를 추가, 삭제, 갱신을 수행하기는 매우 어렵다.However, DB query such as SQL has a complicated language structure and requires expert knowledge of database concept and structure to write DB query. Therefore, it is very difficult for a general user to directly create a DB query to add, delete, or update a database.

이를 극복하기 위해서, DB쿼리를 보다 직관적으로 작성하는 그래픽한 쿼리 작성 툴들이 개발되고 있다. 테이블을 그래픽컬하게 표시하거나, 테이블 간의 관계를 마우스의 드래그 앤 드롭 방식에 의해 쉽게 설정하거나, 테이블을 표로서 표시하여 쿼리의 조건 등을 입력하는 등의 방식을 제공하고 있다.To overcome this, graphical query writing tools have been developed to make DB queries more intuitive. Tables can be displayed graphically, relationships between tables can be easily set by dragging and dropping a mouse, or tables can be displayed as tables to input the conditions of a query.

그러나 상기와 같은 그래픽한 인터페이스 방식을 이용하는 것도 데이터베이스에 대한 기본적인 개념을 필요로 한다.However, using such a graphical interface method also requires a basic concept of a database.

이에 반해, 엑셀 등 스프레드시트(spreadsheet)는 데이터를 처리하는 소프트웨어로서, 데이터베이스 보다 손쉽게 다뤄질 수 있다. 사무용 소프트웨어로서 엑셀은 광범위하게 사용되고 있다. 특히, 엑셀은 표로서 데이터를 다루고 있어, 보다 직관적으로 다룰 수 있게 기능들이 제공되고 있다. 따라서 많은 데이터들이 엑셀 등 스프레드시트로 관리되고 처리되는 경우가 많다.In contrast, spreadsheets such as Excel are software that processes data and can be handled more easily than databases. Excel is widely used as office software. In particular, Excel treats data as tables, providing functions that can be handled more intuitively. Therefore, many data are often managed and processed in spreadsheets such as Excel.

상기와 같은 엑셀의 편리성 때문에, 데이터베이스의 데이터를 엑셀로 변환하거나, 엑셀의 데이터를 데이터베이스로 변환하여 저장시키는 기술들이 많이 제시되고 있고, 또, 상용화도 많이 이루어지고 있다. 즉, 데이터베이스의 데이터를 엑셀로 변환하여, 다루기 쉬운 엑셀로 작업을 수행하고, 그 수행결과를 다시 데이터베이스로 변환한다.Due to the convenience of Excel as described above, a number of technologies for converting data in a database into Excel, or converting and storing data in Excel into a database have been proposed and commercialized. In other words, the data in the database is converted into Excel, the work is performed in Excel, and the result is converted back into the database.

이와 같이 엑셀 등 스프레드시트를 데이터베이스로 변환하는 기술의 일례가 [대한민국 공개특허 2007-0080564호(2007.08.10.공개), "데이터베이스상에 저장하기 위해 스프레드시트를 처리하기위한 시스템, 방법 및 매체"](이하 선행기술 1)에 개시되고 있다. 상기 선행기술 1은 데이터베이스에 저장하기 위하여 복수의 레코드들을 포함하는 스프레드시트에 대한 처리요청을 수신하여 스프레드시트의 레코드들을 처리하는 방법에 관한 것으로서, 스프레드시트에 연관된 설정파일을 액세스하는 단계; 상기 스프레드시트의 각 레코드에 대하여 새로운 비즈니스 오브젝트를 생성하는 단계 및; 상기 레코드 및 상기 스프레드시트에 연관된 상기 설정파일에 기반하여 상기 새로운 비즈니스 오브젝트를 파퓰레이팅(populating)하는 단계를 포함한다. 특히, 상기 설정파일은 스프레드시트의 레코드에 연관된 비즈니스 오브젝트의 이름, 스프레드시트의 하나 이상의 열에 대한 메타데이터 및 상기 스프레드시트에 연관된 백-엔드 비즈니스 구성요소의 이름을 포함한다.One example of a technique for converting a spreadsheet such as Excel into a database is described in [Republic of Korea Patent Publication No. 2007-0080564 (August 10, 2007), "System, Method and Media for Processing Spreadsheet for Storage on Database". ] (Hereinafter referred to as prior art 1). Prior art 1 relates to a method of processing a record of a spreadsheet by receiving a processing request for a spreadsheet comprising a plurality of records for storage in a database, the method comprising: accessing a configuration file associated with the spreadsheet; Creating a new business object for each record in the spreadsheet; Populating the new business object based on the configuration file associated with the record and the spreadsheet. In particular, the configuration file includes the name of a business object associated with a record in the spreadsheet, metadata for one or more columns of the spreadsheet, and the name of a back-end business component associated with the spreadsheet.

또한, 데이터 변환정보를 데이터베이스에 자동으로 저장하는 기술의 일례가 [대한민국 등록특허 10-0597589호(2005.06.29.공개), "데이터 변환정보를 데이터베이스에 자동으로 저장하는 방법"](이하 선행기술 2)에 개시되고 있다. 상기 선행기술 2는 원격측정데이터에 대한 변환정보(예를 들면, 프레임 정보, 포맷 정보, 원격측정데이터 파라미터 정보, 변환공식 정보, 데이터 타입, 및 단위 정보 등)를 테이블 형태로 입력받아 그 원격측정데이터 변환 정보에 대한 쉼표분리확장자 파일(CSV File: Comma-Separated Values File)을 생성한 후, 쉼표(comma)를 구분자로 하여 그 생성된 CSV 파일의 데이터를 읽어 가면서 데이터베이스에 저장하는 기술을 개시하고 있다.In addition, an example of a technique for automatically storing the data conversion information in the database [Republic of Korea Patent Registration No. 10-0597589 (2005.06.29. Publication), "How to automatically save the data conversion information in the database"] (hereinafter referred to as prior art 2) is disclosed. The prior art 2 receives the conversion information (for example, frame information, format information, telemetry data parameter information, conversion formula information, data type, and unit information, etc.) for the telemetry data in the form of a table and the telemetry After creating a Comma-Separated Values File (CSV File) for data conversion information, comma is used as a separator to read the data of the created CSV file and stored in the database. have.

즉, 상기 선행기술들은 모두 엑셀 등 스프레드시트, 또는 쉼표분리확장자(CSV) 파일을 데이터베이스로 일괄적으로 변환하는 기술들이다. 특히, 선행기술 1은 XML 형태로 만들어진 설정파일을 이용하여, 상기 스프레드시트에 기록된 값들을 데이터베이스에 입력하는 기술이다.That is, all of the prior art are techniques for converting a spreadsheet or a comma separated extension (CSV) file such as Excel into a database. In particular, the prior art 1 is a technique for inputting the values recorded in the spreadsheet into a database using a configuration file made in XML format.

상기 선행기술들은 모두 반복적인 데이터베이스의 갱신에는 매우 유용하다. 즉, 설정파일 등을 한번만 작성해두면, 스프레드시트에 기록된 데이터들을 손쉽게 데이터베이스에 갱신시킬 수 있기 때문이다.All of the above prior arts are very useful for repeated database updates. In other words, if the configuration file is created only once, the data recorded in the spreadsheet can be easily updated in the database.

그러나 반복적이지 않는 경우, 예를 들어, 담당자별로 자신이 필요한 작업을 수행하는 경우에는, 각각마다 설정파일 등을 새롭게 작성해야 부담이 있기 때문에, 상기 기술들이 적용되기 어렵다.
However, in the case where it is not repetitive, for example, in the case of performing the necessary work for each person in charge, it is difficult to apply the above techniques because a burden must be newly created for each configuration file.

본 발명의 목적은 상술한 바와 같은 문제점을 해결하기 위한 것으로, 데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템 및 방법을 제공하는 것이다.An object of the present invention is to solve the problems described above, to provide an Excel-based DB table update system and method for performing a record update operation of the DB table of the database in Excel.

본 발명의 다른 목적은 데이터베이스의 DB테이블의 레코드의 필드값들을 행 단위로 엑셀시트의 셀에 기록하고, 엑셀시트의 셀에 기록된 필드값으로 데이터베이스를 갱신하는 엑셀기반 DB테이블 갱신 시스템 및 방법을 제공하는 것이다.Another object of the present invention is to provide an Excel-based DB table update system and method for recording field values of a record of a DB table of a database in a cell of an Excel sheet and updating a database with field values recorded in a cell of an Excel sheet. To provide.

본 발명의 또 다른 목적은 데이터베이스의 DB테이블을 가져와서 필드명을 제목 셀의 이름으로 정하고, DB테이블의 각 레코드를 하나의 행에 대응시켜 셀에 기록하거나 갱신쿼리를 작성하되 셀 필드값의 필드명이 제목 셀의 이름과 동일한 열에 배열하는 엑셀기반 DB테이블 갱신 시스템 및 방법을 제공하는 것이다.Another object of the present invention is to take a DB table of the database and set the field name to the name of the title cell, and write or update a query in the cell by mapping each record of the DB table to one row, but not including the field of the cell field value. To provide an Excel-based DB table update system and method in which names are arranged in the same column as the name of the title cell.

상기 목적을 달성하기 위해 본 발명은 데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템에 관한 것으로서, 상기 데이터베이스의 DB테이블의 선택을 입력받는 DB테이블 선택수단; 엑셀시트를 생성하고, 상기 엑셀시트에 명령버튼을 삽입하는 엑셀시트 생성부; 조회 명령버튼이 입력되면, 선택된 DB테이블의 레코드를 상기 데이터베이스로부터 가져와서 상기 레코드의 필드값을 엑셀시트의 셀에 기록하는 DB테이블 조회부; 및 갱신 명령버튼이 입력되면, 상기 엑셀시트의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신하는 DB테이블 갱신부를 포함하되, 상기 DB테이블 조회부 및 상기 DB테이블 갱신부는 동적연결함수로 구현되고, 상기 DB테이블 갱신부는 상기 명령버튼에 상기 동적연결함수를 연결시키는 것을 특징으로 한다.In order to achieve the above object, the present invention relates to an Excel-based DB table update system for performing a record update operation of a DB table of a database in Excel, the DB table selecting means for receiving a selection of the DB table of the database; An Excel sheet generator for generating an Excel sheet and inserting a command button into the Excel sheet; A DB table inquiry unit which, when an inquiry command button is input, takes a record of a selected DB table from the database and records a field value of the record in a cell of an Excel sheet; And a DB table updating unit for updating a record of the selected DB table with a field value of a record recorded in a cell of the Excel sheet when the update command button is input, wherein the DB table inquiry unit and the DB table update unit are dynamically connected. The DB table updating unit connects the dynamic link function to the command button.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 엑셀시트 생성부는 선택된 DB테이블의 필드명을 상기 엑셀시트의 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결하고, 상기 DB테이블 조회부는 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀)에 기록하되, 상기 레코드 셀에 기록된 필드값의 필드명이 상기 레코드 셀의 열에 해당하는 제목 셀의 필드명과 일치시키는 것을 특징으로 한다.In addition, the present invention provides an Excel-based DB table update system, wherein the Excel spreadsheet generation unit connects the field name of the selected DB table to the cells (hereinafter title column) of one row (hereinafter title column) of the Excel sheet, The DB table query unit records the field value of the record in rows of cells in an Excel sheet (hereinafter, referred to as a record cell), wherein a field name of a field value recorded in the record cell matches a field name of a title cell corresponding to a column of the record cell. It is characterized by.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 엑셀시트 생성부는 상기 제목 행의 하나의 셀을 갱신타입 제목 셀로 설정하고, 상기 DB테이블 갱신부는 상기 갱신타입 제목 셀의 열에 해당하는 레코드 셀(이하 갱신타입 셀)의 갱신타입에 따라 갱신 방식을 달리하는 것을 특징으로 한다.The present invention provides an Excel-based DB table updating system, wherein the Excel sheet generating unit sets one cell of the title row as an update type title cell, and the DB table updating unit records cell corresponding to a column of the update type title cell. The update method may be different depending on the update type of the following (update type cell).

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 엑셀시트 생성부는 명령버튼 및 갱신타입 제목 셀에 관한 셀 설정이 된 엑셀시트 템플릿을 가져와서 상기 엑셀시트를 생성하는 것을 특징으로 한다.In addition, the present invention is an Excel-based DB table update system, wherein the Excel sheet generating unit generates the Excel sheet by importing an Excel template template that has a cell setting related to a command button and an update type title cell.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 엑셀시트 생성부는 제목 셀의 이름을 필드명으로 설정하여 제목 셀과 필드명을 연결하는 것을 특징으로 한다.In another aspect of the present invention, in the Excel-based DB table update system, the Excel sheet generation unit sets the name of the title cell to a field name, thereby connecting the title cell to the field name.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 DB테이블 선택수단은 DB테이블 이름 및 DB테이블의 필드명을 포함하는 DB테이블의 메타정보를 보여주고, 하나의 선택된 DB테이블과, 상기 선택된 DB테이블에서 선택된 필드명들을 입력받고, 상기 엑셀시트 생성부는 선택된 필드명만 제목 셀에 연결하는 것을 특징으로 한다.In addition, the present invention provides an Excel-based DB table update system, wherein the DB table selection means shows the meta information of the DB table including the DB table name and the field name of the DB table, one selected DB table and the selected The field names selected from the DB table are input, and the Excel generator generates only the selected field names in the title cell.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 엑셀시트 생성부는 필드명의 필드 특성에 따라 제목 셀의 셀 표시방식을 달리하고, 상기 필드 특성은 키 필드, 널(Null)금지 필드, 일반 필드를 포함하는 것을 특징으로 한다.In addition, the present invention is an Excel-based DB table update system, wherein the Excel spreadsheet generation unit changes the cell display method of the title cell according to the field characteristics of the field name, the field characteristics are key field, null prohibition field, general It is characterized by including a field.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 DB테이블 갱신부는 상기 레코드 셀을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스에 요청하는 것을 특징으로 한다.The present invention also provides an Excel-based DB table update system, wherein the DB table updater creates a DB query that updates the DB table by grouping the record cells in rows, and requests the DB query from the database. .

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 DB테이블 갱신부는 상기 데이터베이스로부터 상기 DB쿼리에 대한 에러 메시지를 수신하면, 상기 행단위에 해당하는 행(이하 에러 행)의 색을 달리 표시하거나, 상기 에러 메시지를 상기 에러 행의 하나의 셀에 기록하는 것을 특징으로 한다.In addition, the present invention is an Excel-based DB table update system, the DB table update unit, if receiving an error message for the DB query from the database, and displays a different color of the row (hereinafter referred to as error row) corresponding to the row unit Or write the error message to one cell of the error row.

또, 본 발명은 엑셀기반 DB테이블 갱신 시스템에 있어서, 상기 DB테이블 조회부 및 상기 DB테이블 갱신부는 DLL(Dynamic Link Library) 함수로 구현되는 것을 특징으로 한다.
In addition, the present invention is an Excel-based DB table update system, wherein the DB table query unit and the DB table update unit is characterized in that implemented by a DLL (Dynamic Link Library) function.

또한, 본 발명은 데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 방법에 관한 것으로서, (a) 상기 데이터베이스의 DB테이블의 선택을 입력받는 단계; (b) 엑셀시트를 생성하고, 상기 엑셀시트에 명령버튼을 삽입하는 단계; (c) 조회 명령버튼이 입력되면, 선택된 DB테이블의 레코드를 상기 데이터베이스로부터 가져와서 상기 레코드의 필드값을 엑셀시트의 셀에 기록하는 단계; 및 (d) 갱신 명령버튼이 입력되면, 상기 엑셀시트의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신하는 단계를 포함하되, 상기 (c)단계 및 상기 (d)단계의 기능은 동적연결함수로 구현되고, 상기 (b)단계는 상기 명령버튼에 상기 동적연결함수를 연결시키는 것을 특징으로 한다.The present invention also relates to an Excel-based DB table update method for performing a record update operation of a DB table of a database in Excel, the method comprising: (a) receiving a selection of a DB table of the database; (b) generating an Excel sheet and inserting a command button into the Excel sheet; (c) when an inquiry command button is input, taking a record of a selected DB table from the database and recording a field value of the record in a cell of an Excel sheet; And (d) updating the record of the selected DB table with the field value of the record recorded in the cell of the Excel sheet when the update command button is input, wherein the steps (c) and (d) The function is implemented as a dynamic linking function, and step (b) is characterized in that connecting the dynamic linking function to the command button.

또, 본 발명은 엑셀기반 DB테이블 갱신 방법에 있어서, 상기 (b)단계는 선택된 DB테이블의 필드명을 상기 엑셀시트의 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결하고, 상기 (c)단계는 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀)에 기록하되, 상기 레코드 셀에 기록된 필드값의 필드명이 상기 레코드 셀의 열에 해당하는 제목 셀의 필드명과 일치시키는 것을 특징으로 한다.In addition, in the method of updating an Excel-based DB table, the step (b) links the field names of the selected DB table to cells (hereinafter, title cells) of one row (hereinafter, title row) of the Excel sheet. In the step (c), the field value of the record is recorded in a cell of an Excel sheet (hereinafter, referred to as a record cell) in a row unit, and the field name of the field value recorded in the record cell corresponds to the column of the record cell. It is characterized by matching the name.

또, 본 발명은 엑셀기반 DB테이블 갱신 방법에 있어서, 상기 (b)단계에서, 상기 제목 행의 하나의 셀을 갱신타입 제목 셀로 설정하고, 상기 (d)단계에서, 상기 갱신타입 제목 셀의 열에 해당하는 레코드 셀(이하 갱신타입 셀)의 갱신타입에 따라 갱신 방식을 달리하는 것을 특징으로 한다.In the Excel-based DB table updating method, in step (b), one cell of the title row is set as an update type title cell, and in step (d), a column of the update type title cell is set. The update method may be different depending on the update type of the corresponding record cell (hereinafter referred to as update type cell).

또, 본 발명은 엑셀기반 DB테이블 갱신 방법에 있어서, 상기 (b)단계에서, 제목 셀의 이름을 필드명으로 설정하여 제목 셀과 필드명을 연결하는 것을 특징으로 한다.In the Excel-based DB table update method, in the step (b), the title cell is set as a field name, and the title cell and the field name are connected.

또, 본 발명은 엑셀기반 DB테이블 갱신 방법에 있어서, 상기 (d)단계에서, 상기 레코드 셀을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스에 요청하는 것을 특징으로 한다.
The present invention also provides a method for updating an Excel-based DB table, wherein, in the step (d), a DB query for updating a DB table by grouping the record cells in rows is made, and the DB query is requested to the database. It is done.

또한, 본 발명은 상기 엑셀기반 DB테이블 갱신 방법을 수행하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.
The present invention also relates to a computer-readable recording medium having recorded thereon a program for executing the Excel-based DB table updating method.

상술한 바와 같이, 본 발명에 따른 엑셀기반 DB테이블 갱신 시스템 및 방법에 의하면, 사무업무 종사자에게 익숙한 엑셀 표시방식으로 데이터베이스의 DB테이블을 갱신함으로써, 데이터베이스에 저장된 데이터를 쉽게 가공하거나 처리하고, 최종적으로 DB테이블을 간단하게 갱신할 수 있는 효과가 얻어진다.As described above, according to the Excel-based DB table updating system and method according to the present invention, by updating the DB table of the database in an Excel display method familiar to office workers, it is possible to easily process or process the data stored in the database, and finally The effect of simply updating the DB table is obtained.

또, 본 발명에 따른 엑셀기반 DB테이블 갱신 시스템 및 방법에 의하면, 필드명을 제목 셀의 이름으로 설정하여 레코드 셀의 필드명을 상기 제목 셀의 이름으로 정함으로써, 엑셀에서 다양한 가공처리를 하더라도 엑셀시트의 셀에 기록한 값을 정확하게 데이터베이스에 전송하여 갱신하게 할 수 있는 효과가 얻어진다.
In addition, according to the Excel-based DB table update system and method according to the present invention, by setting the field name to the name of the title cell and the field name of the record cell to the name of the title cell, even if various processing is performed in Excel, The effect of accurately transferring the values recorded in the cells of the sheet to the database can be obtained.

도 1은 본 발명에 따른 엑셀기반 DB테이블 갱신 시스템 및 방법을 실시하기 위한 전체 시스템의 구성을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 엑셀기반 DB테이블 갱신 시스템의 구성에 대한 블록도이다.
도 3은 본 발명의 일실시예에 따른 데이터베이스에 접속하는 예시도이다.
도 4는 본 발명의 일실시예에 따른 DB테이블을 선택하는 화면의 예시도이다.
도 5는 본 발명의 일실시예에 따른 엑셀시트의 예시도이다.
도 6은 본 발명의 일실시예에 따른 DB테이블의 메타정보를 보여주는 화면의 예시를 보여주는 화면이다.
도 7은 본 발명의 일실시예에 따른 엑셀시트를 편집하는 화면 예시도이다.
도 8은 본 발명의 일실시예에 따른 도 7의 엑셀시트로 DB테이블 갱신을 위해 작성된 SQL의 예시도이다.
도 9는 본 발명의 일실시예에 따른 에러메시지 화면 예시도이다.
도 10은 본 발명의 일실시예에 따른 엑셀기반 DB테이블 갱신 방법을 설명하는 흐름도이다.
* 도면의 주요 부분에 대한 부호의 설명 *
10 : 컴퓨터 단말 11 : 사용자
20 : 네트워크
30 : DB테이블 갱신 시스템 31 : DB테이블 선택수단
32 : 엑셀시트 생성부 33 : DB테이블 조회부
34 : DB테이블 갱신부
40 : DB서버 50 : 데이터베이스
60 : 엑셀시트 61 : 명령버튼
62 : 제목 행 63 : 제목 셀
64 : 갱신타입 제목 셀 65 : 레코드 행
66 : 레코드 셀 67 : 갱신타입 셀
1 is a diagram showing the configuration of an entire system for implementing an Excel-based DB table update system and method according to the present invention.
2 is a block diagram of the configuration of an Excel-based DB table update system according to an embodiment of the present invention.
3 is an exemplary diagram for accessing a database according to an embodiment of the present invention.
4 is an exemplary view of a screen for selecting a DB table according to an embodiment of the present invention.
5 is an exemplary view of an Excel sheet according to an embodiment of the present invention.
6 is a screen showing an example of a screen showing meta information of a DB table according to an embodiment of the present invention.
7 is an example of a screen for editing an Excel sheet according to an embodiment of the present invention.
8 is an exemplary diagram of SQL written to update a DB table with the Excel sheet of FIG. 7 according to an embodiment of the present invention.
9 is an exemplary view of an error message screen according to an embodiment of the present invention.
10 is a flowchart illustrating a method of updating an Excel-based DB table according to an embodiment of the present invention.
Explanation of symbols on the main parts of the drawings
10: computer terminal 11: the user
20: network
30: DB table update system 31: DB table selection means
32: Excel sheet generation unit 33: DB table search unit
34: DB table update unit
40: DB server 50: Database
60: Excel sheet 61: command button
62: title row 63: title cell
64: Update Type Title Cell 65: Record Row
66: record cell 67: update type cell

이하, 본 발명의 실시를 위한 구체적인 내용을 도면에 따라서 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings.

또한, 본 발명을 설명하는데 있어서 동일 부분은 동일 부호를 붙이고, 그 반복 설명은 생략한다.
In addition, in describing this invention, the same code | symbol is attached | subjected and the repeated description is abbreviate | omitted.

먼저, 본 발명에 따른 엑셀기반 DB테이블 갱신 시스템 및 방법을 실시하기 위한 전체 시스템의 구성을 도 1을 참조하여 설명한다.First, the configuration of the entire system for implementing the Excel-based DB table update system and method according to the present invention will be described with reference to FIG.

도 1에서 보는 바와 같이, 본 발명을 실시하기 위한 전체 시스템은 컴퓨터 단말(10), DB테이블 갱신 시스템(30), DB서버(40)와 데이터베이스(50)로 구성된다. 또, 컴퓨터 단말(10)과 DB서버(40)(또는 데이터베이스)를 연결하기 위한 네트워크(20)를 더 포함한다.As shown in Fig. 1, the entire system for implementing the present invention is composed of a computer terminal 10, a DB table update system 30, a DB server 40 and a database 50. The apparatus further includes a network 20 for connecting the computer terminal 10 and the DB server 40 (or a database).

사용자 단말(10)은 사용자(11)가 이용하는 통상의 컴퓨팅 단말기이다. 사용자 단말(10)의 예로는 PC, PDA, 모바일 등이 있으며, 그 구성 및 작동원리는 본 분야에서 통상으로 사용되는 공지 기술이므로 구체적 설명은 생략한다. 사용자 단말(10)에는 DB테이블 갱신 시스템(30)이 설치되어 사용자(11)에 의해 실행되고, DB테이블의 갱신 작업을 수행한다. 특히, 사용자 단말(10)은 엑셀 등 스프레드시트 소프트웨어 설치된 단말기이다.The user terminal 10 is a conventional computing terminal used by the user 11. Examples of the user terminal 10 include a PC, a PDA, a mobile, and the like, and a detailed description thereof will be omitted since the configuration and operation principle thereof are well-known techniques commonly used in the art. The DB table update system 30 is installed in the user terminal 10 and executed by the user 11 to perform an update operation of the DB table. In particular, the user terminal 10 is a terminal provided with spreadsheet software such as Excel.

DB서버(40)는 데이터베이스(50)의 접근, 갱신, 추가, 삭제 등의 DB작업을 수행하고 관리하는 통상의 DBMS(Database Management System)이다. DB서버(40)는 사용자 단말(10)이 데이터베이스(50)에 접근하여 DB작업을 수행할 수 있는 인터페이스를 제공한다. 또, DB서버(40)는 사용자 단말(10)의 요청에 의하여 DB처리 트랜잭션을 형성하고, 상기 요청에 따라 DB작업을 처리하고, 그 결과를 사용자 단말(10)로 반환한다. 한편, DB서버(40)는 사용자 단말(10)을 이용하는 사용자(11)가 정당한 사용자인지를 인증하는 작업도 수행한다.The DB server 40 is a conventional DBMS (Database Management System) that performs and manages DB operations such as access, update, addition, and deletion of the database 50. The DB server 40 provides an interface through which the user terminal 10 can access the database 50 and perform a DB operation. In addition, the DB server 40 forms a DB processing transaction at the request of the user terminal 10, processes the DB job according to the request, and returns the result to the user terminal 10. Meanwhile, the DB server 40 also performs a task of authenticating whether the user 11 using the user terminal 10 is a legitimate user.

데이터베이스(50)는 각종 데이터가 저장된 DB로서, DB서버(40)에 의해 관리된다. DB서버(40)는 DB테이블로 구성되고, DB테이블은 데이터의 집합인 레코드로 구성된다. 하나의 레코드는 하나의 개체에 대한 데이터를 갖는 것으로 볼 수 있다. 레코드는 필드값으로 이루어지고, DB테이블은 테이블 및 필드에 대한 메타정보를 관리한다. 필드의 메타정보는 필드명 및 필드 속성을 가지고, 필드 속성은 키 필드 여부, 데이터 타입, 정합성 특성(예를 들어 널 Null 필드 허용불가 등) 등을 갖는다. 상기와 같은 데이터베이스의 특징은 공지기술이므로 구체적 설명은 생략한다.The database 50 is a DB in which various kinds of data are stored, and is managed by the DB server 40. DB server 40 is composed of DB tables, DB tables are composed of records that are a collection of data. One record can be thought of as having data for one entity. Records consist of field values, and DB tables manage meta information about tables and fields. The meta information of a field has a field name and a field attribute, and the field attribute has a key field, a data type, a consistency characteristic (for example, null null fields are not allowed). Features of the database as described above are well-known techniques, and thus detailed description thereof will be omitted.

DB테이블 갱신 시스템(30)(또는 갱신 시스템)은 사용자 단말(10)에 설치되어 DB테이블을 갱신하는 소프트웨어 도구이다. 갱신 시스템(30)은 네트워크(20)를 통해 DB서버(40)에 접속하여 데이터베이스(50)를 조회한다. 그리고 사용자(11)는 갱신 시스템(30)을 이용하여 갱신을 원하는 DB테이블 선택한다. 갱신 시스템(30)은 선택된 DB테이블을 데이터베이스(50)에서 조회하여, 조회된 데이터를 사용자 단말(10)에 설치된 엑셀을 통해 엑셀시트에 기록한다.The DB table update system 30 (or update system) is a software tool installed in the user terminal 10 to update the DB tables. The update system 30 accesses the DB server 40 via the network 20 to query the database 50. The user 11 then uses the update system 30 to select a DB table to be updated. The update system 30 inquires the selected DB table in the database 50 and records the inquired data in an Excel sheet through Excel installed in the user terminal 10.

사용자(11)는 엑셀시트에 기록된 DB테이블 내용을 변경하거나 삽입, 삭제 등의 작업을 엑셀 상에서 수행할 수 있다. 사용자(11)가 엑셀시트 상의 DB테이블 변경을 완료하고 데이터베이스 갱신을 요청하면, 갱신 시스템(30)은 변경된 엑셀시트의 내용으로 DB테이블을 갱신하는 DB쿼리를 작성하여 DB서버(40)로 요청한다. DB서버(40)는 요청된 DB쿼리를 수행함으로써 DB테이블을 갱신한다.
The user 11 can change the contents of the DB table recorded in the Excel sheet, or perform operations such as inserting and deleting on Excel. When the user 11 completes the change of the DB table on the Excel sheet and requests a database update, the update system 30 makes a DB query for updating the DB table with the contents of the changed Excel sheet and makes a request to the DB server 40. . The DB server 40 updates the DB table by performing the requested DB query.

다음으로, 본 발명의 일실시예에 따른 엑셀기반 DB테이블 갱신 시스템의 구성을 도 2를 참조하여 설명한다.Next, the configuration of the Excel-based DB table update system according to an embodiment of the present invention will be described with reference to FIG.

도 2에서 보는 바와 같이, 상기 갱신 시스템(30)은 DB테이블 선택수단(31), 엑셀시트 생성부(32), DB테이블 조회부(33), DB테이블 갱신부(34)를 포함하여 구성된다.As shown in FIG. 2, the update system 30 includes a DB table selecting means 31, an Excel sheet generating unit 32, a DB table querying unit 33, and a DB table updating unit 34. .

DB테이블 선택수단(31)은 데이터베이스(50)에 접속하여 DB테이블의 메타정보를 가져와서 보여주고, DB테이블의 선택을 입력받는다. 앞서 본 바와 같이, 데이터베이스(50)는 DB서버(40)에 의해 관리되나, 이하에서 DB서버(40)의 언급을 생략하고 데이터베이스(50)에 대한 작업으로만 설명한다. 이것은 설명의 편의를 위한 것이다.The DB table selecting means 31 connects to the database 50, retrieves and displays meta information of the DB table, and receives a selection of the DB table. As seen above, the database 50 is managed by the DB server 40, but the description of the DB server 40 will be omitted below, and only the operation for the database 50 will be described. This is for convenience of explanation.

먼저, 데이터베이스(50)는 DB테이블 선택수단(31)의 접속 요청에 대하여 사용자 인증을 수행한다. 사용자 인증은 데이터베이스를 접속할 수 있는 정당한 권한을 갖는 것인가를 확인하는 작업이다.First, the database 50 performs user authentication with respect to a connection request of the DB table selecting means 31. User authentication is the act of checking whether you have the proper authority to access a database.

도 3에서 보는 바와 같이, DB테이블 선택수단(31)은 사용자 인증 팝업창을 화면에 출력하고, 사용자 이름 및 비밀번호를 사용자(11)로부터 입력받는다. DB테이블 선택수단(31)은 입력된 사용자 인증정보를 데이터베이스(50)에 전송하여 사용자 인증을 요청한다.As shown in FIG. 3, the DB table selecting means 31 outputs a user authentication popup window on the screen, and receives a user name and password from the user 11. The DB table selecting means 31 transmits the input user authentication information to the database 50 to request user authentication.

인증에 성공하면, DB테이블 선택수단(31)은 데이터베이스(50)로부터 DB테이블의 리스트 및 메타정보를 조회한다. 도 4에서 보는 바와 같이, DB테이블 선택수단(31)은 조회된 DB테이블을 화면에 보여준다. 도 4의 화면에서 좌측에는 DB테이블의 리스트를 보여주고, 우측에는 좌측에서 선택된 DB테이블의 필드 메타정보를 보여주고 있다.If authentication is successful, the DB table selecting means 31 inquires the list of DB tables and meta information from the database 50. As shown in Fig. 4, the DB table selecting means 31 shows the inquired DB table on the screen. 4 shows a list of DB tables on the left side and field meta information of the DB table selected on the left side on the right side.

우측의 필드 메타정보는 필드의 리스트 및 각 필드에 대한 메타정보로 구성된다. 또, DB테이블 선택수단(31)은 사용자(11)가 각 필드를 선택할 수 있도록 선택 컨트롤을 제공한다. 예를 들어, 도 4와 같이, DB테이블 선택수단(31)은 각 필드의 앞에 체크박스를 화면에 제공하고, 체크박스에 체크가 되면 선택된 것이고 해제되면 체크되지 않는 것으로 인식한다.The field meta information on the right side consists of a list of fields and meta information for each field. In addition, the DB table selecting means 31 provides a selection control so that the user 11 can select each field. For example, as shown in FIG. 4, the DB table selecting means 31 provides a check box on the screen in front of each field, and recognizes that the check box is selected when it is checked and not checked when it is released.

예를 들어, 도 4에서, 좌측에서 선택된 테이블은 "실적분석용장표"테이블이고, 우측에서 "실적분석용장표" 테이블의 "기준일자", "구분", "대리점명" 등의 필드가 선택되고 있다.For example, in FIG. 4, the table selected on the left side is a "performance analysis table" table, and on the right side, fields such as "reference date", "division", "agent name", etc. of the "performance analysis table" table are selected. It is becoming.

사용자(11)가 최종 확인을 하면, 좌측 화면에서 선택된 하나의 DB테이블과 우측 화면에서의 필드들이 선택된다. 즉, DB테이블 선택수단(31)은 DB테이블 이름 및 DB테이블의 필드명을 포함하는 DB테이블의 메타정보를 보여주고, 하나의 선택된 DB테이블과, 상기 선택된 DB테이블에서 선택된 필드명들을 입력받는다.When the user 11 finally confirms, one DB table selected in the left screen and the fields in the right screen are selected. That is, the DB table selecting means 31 shows the meta information of the DB table including the DB table name and the field name of the DB table, and receives one selected DB table and field names selected from the selected DB table.

엑셀시트 생성부(32)는 명령버튼이 삽입된 엑셀시트(60)를 생성하고, 상기 엑셀시트(60)에 상기 선택된 DB테이블의 필드명을 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결한다.The Excel sheet generating unit 32 generates an Excel sheet 60 in which a command button is inserted, and displays a field name of the selected DB table in one row (hereinafter, title column) in the Excel sheet 60 (hereinafter, title). Cells).

도 5에서 보는 바와 같이, 엑셀시트 생성부(32)는 선택된 DB테이블에 해당하는 엑셀시트(60)를 생성하여 화면에 표시한다. 엑셀시트 생성부(32)는 엑셀이 실행되지 않았으면 엑셀을 실행시키고, 엑셀에 새로운 엑셀문서를 생성하고 그 엑셀문서에 하나의 엑셀시트를 생성한다.As shown in FIG. 5, the Excel sheet generator 32 generates an Excel sheet 60 corresponding to the selected DB table and displays it on the screen. The Excel sheet generator 32 executes Excel if it is not executed, generates a new Excel document in Excel, and generates one Excel sheet in the Excel document.

엑셀시트 생성부(32)는 도 5와 같이 명령버튼(61)을 엑셀시트에 삽입한다. 명령버튼(61)은 조회 버튼, 명령 버튼, 닫기 버튼 등을 포함한다. 또, DB테이블의 메타정보를 조회하는 버튼도 포함될 수 있다.The Excel sheet generating unit 32 inserts the command button 61 into the Excel sheet as shown in FIG. 5. The command button 61 includes an inquiry button, a command button, a close button, and the like. In addition, a button for searching meta information of a DB table may be included.

엑셀시트 생성부(32)는 상기 명령버튼에 상기 동적연결함수를 연결시킨다. 이하에서 설명하는 바와 같이, DB테이블 조회부(33) 및 DB테이블 갱신부(34)는 동적연결함수로 구현된다. 엑셀시트 생성부(32)는 상기 명령버튼에 상기 동적연결함수를 연결시킴으로써, 명령버튼이 눌려지면 DB테이블 조회부(33) 및 DB테이블 갱신부(34)이 수행된다.The Excel sheet generator 32 connects the dynamic link function to the command button. As will be described below, the DB table inquiry section 33 and the DB table update section 34 are implemented with a dynamic link function. The Excel sheet generating unit 32 connects the dynamic link function to the command button, so that when the command button is pressed, the DB table inquiry unit 33 and the DB table update unit 34 are performed.

또, 엑셀시트 생성부(32)는 엑셀시트(60)에 선택된 DB테이블의 필드명을 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결한다. 제목 행(62)은 엑셀시트(60)의 임의 행으로 정해지며, 상기 제목 행(62)의 각 셀들이 곧 제목 셀(63)들로 정해진다. 제목 셀(63)은 선택된 DB테이블의 필드와 연결된다. 특히, 앞서 DB테이블 선택수단(31)에서 선택된 필드들만 제목 셀(63)에 연결된다.In addition, the Excel sheet generating unit 32 links the field names of the DB table selected in the Excel sheet 60 to cells (hereinafter, title cells) in one row (hereinafter, title row). The title row 62 is defined as any row in the Excel sheet 60, and each of the cells in the title row 62 is designated as the title cell 63. The title cell 63 is linked to the field of the selected DB table. In particular, only the fields previously selected by the DB table selecting means 31 are linked to the title cell 63.

예를 들어, 선택된 DB테이블이 "실적분석용장표"테이블이므로, 엑셀시트(60)에 표시된 것은 "실적분석용장표"테이블에 대한 것들이고, 제목 행(62)에는 각각 "실적분석용장표"테이블의 필드인, "기준일자", "구분", "대리점명" 등이 기록된다. 이 필드명들이 기록된 셀들이 제목 셀(63)이다.For example, since the selected DB table is a "Performance Analysis Statement" table, what is displayed in the Excel sheet 60 is for the "Performance Analysis Statement" table, and in the title row 62, each of the "Performance Analysis Statement". The fields of the table, "reference date", "division", "agent name", and the like are recorded. The cells in which these field names are recorded are the title cells 63.

바람직하게는 엑셀시트 생성부(32)는 제목 셀(63)의 이름을 필드명으로 설정하여 제목 셀(63)과 필드명을 연결한다. 제목 셀(63)의 이름(셀 이름)을 필드명으로 설정함으로써, 제목 셀(63)의 셀 값이 변경되더라도 그 제목 셀(63)이 어느 필드와 연결되는지를 확인할 수 있다.Preferably, the Excel generating unit 32 sets the name of the title cell 63 as a field name, thereby connecting the title cell 63 and the field name. By setting the name (cell name) of the title cell 63 as the field name, it is possible to confirm which field the title cell 63 is associated with even if the cell value of the title cell 63 is changed.

또한, 엑셀시트 생성부(32)는 상기 제목 행(62)의 하나의 셀을 갱신타입 제목 셀(64)로 설정한다. 갱신타입은 DB테이블에서 레코드를 갱신하는 작업종류를 나타낸다. 갱신타입은 변경(Update), 삭제(Delete), 삽입(Insert)을 포함한다. 변경은 레코드의 내용을 업데이트하는 것이고, 삭제는 DB테이블에서 해당 레코드를 삭제하는 작업, 삽입은 DB테이블에서 해당 레코드를 삽입하는 작업을 의미한다.In addition, the Excel sheet generating unit 32 sets one cell of the title row 62 as the update type title cell 64. Update type indicates the type of work that updates records in the DB table. Update types include Update, Delete, and Insert. Change means updating the contents of a record, deleting means deleting the corresponding record in the DB table, and inserting means inserting the corresponding record in the DB table.

엑셀시트 생성부(32)는 갱신타입 제목 셀(64)에 해당하는 열의 셀에는 변경, 삭제, 삽입 중 어느 하나만 입력될 수 있도록 설정한다. 즉, 상기 열의 셀 서식을 "유효성 검사"로 설정하고, 셀에 들어갈 수 있는 셀값을 변경, 삭제, 삽입의 3가지로 설정한다. 갱신타입이 상기 3가지 이외에 더 포함된다면 갱신타입의 종류별로 유효성 검사의 제한 값을 설정한다.The Excel sheet generator 32 sets only one of a change, a deletion, and an insertion into a cell of a column corresponding to the update type title cell 64. That is, the cell format of the column is set to " validation check ", and the cell value that can fit in the cell is set to three types of change, deletion, and insertion. If the update type is further included in addition to the above three, the limit value of the validation check is set for each type of update type.

또한, 엑셀시트 생성부(32)는 필드 특성에 따라 제목 셀(63)의 셀 표시방식을 달리한다. 상기 필드 특성은 키 필드, 널(Null)금지 필드, 일반 필드를 포함한다. 필드 특성은 DB테이블의 각 필드의 필드 속성에 의해 정해진다. 예를 들어, 키 필드인지 여부, 반드시 필드값을 가져야 하는 필드인지 여부, 일반적인 필드인지 여부 등이다. 상기와 같은 필드의 속성에 따라 제목 셀(62)의 셀 표시방식을 달리한다. 표시방식은 글자 색깔 또는 바탕색깔, 글자크기 등의 표시형식이다.In addition, the Excel sheet generation unit 32 changes the cell display method of the title cell 63 according to the field characteristics. The field properties include key fields, null inhibit fields, and general fields. Field characteristics are determined by the field attributes of each field of the DB table. For example, whether it is a key field, whether the field must have a field value, or whether it is a general field. The cell display method of the title cell 62 is changed according to the attribute of the field as described above. The display method is a display format such as a text color or a background color, and a font size.

바람직하게는, 엑셀시트 생성부(32)는 명령버튼(61) 및 갱신타입 제목 셀(64)에 관한 셀 설정이 된 엑셀시트 템플릿을 가져와서 상기 엑셀시트(60)를 생성한다. 즉, 명령버튼(61) 및 갱신타입 제목 셀(64)에 관한 셀 설정이 된 엑셀시트 템플릿이 이미 만들어져 저장되어 있다가, 엑셀시트 생성부(32)가 상기 엑셀시트 템플릿을 불러와 엑셀시트를 만든다. 상기와 같이 템플릿을 이용하면, 명령버튼 생성 등의 작업을 하지 않아도 되므로 빠른 시간 내에 엑셀시트(60)를 생성할 수 있다.Preferably, the Excel sheet generating unit 32 generates the Excel sheet 60 by importing the Excel template with the cell settings related to the command button 61 and the update type title cell 64. That is, an Excel sheet template having cell settings for the command button 61 and the update type title cell 64 has already been created and stored, and the Excel sheet generating unit 32 loads the Excel sheet template and opens the Excel sheet. Make. By using the template as described above, it is possible to generate the Excel sheet 60 in a short time since it is not necessary to work such as generating a command button.

한편, 도 6에서 보는 바와 같이, 엑셀시트(60)에 DB테이블의 메타정보를 조회하는 버튼을 입력하면, DB테이블의 메타정보를 팝업창 등을 통해 보여준다. 도 6a는 접속정보 및 선택된 DB테이블의 메타정보를 보여주는 팝업창의 일례이고, 도 6b는 선택된 DB테이블의 필드에 관한 메타정보를 보여주는 팝업창의 일례이다.On the other hand, as shown in Figure 6, when the button for querying the meta information of the DB table into the Excel sheet 60, the meta information of the DB table is shown through a pop-up window. FIG. 6A is an example of a popup window showing access information and meta information of a selected DB table, and FIG. 6B is an example of a popup window showing meta information about a field of a selected DB table.

DB테이블 조회부(33)는 조회 명령버튼(61)이 입력되면, 상기 선택된 DB테이블의 레코드를 상기 데이터베이스(50)로부터 가져와서, 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀)(66)에 기록하되, 상기 레코드 셀에 기록된 필드값의 필드명이 상기 레코드 셀의 열에 해당하는 제목 셀의 필드명과 일치한다.When the inquiry command button 61 is input, the DB table inquiry unit 33 fetches a record of the selected DB table from the database 50, and stores the field values of the record in units of rows (hereinafter, referred to as record cells). The field name of the field value recorded in the record cell matches the field name of the title cell corresponding to the column of the record cell.

DB테이블 조회부(33)는 하나의 행이 하나의 레코드에 해당되도록 행에 필드값을 기록한다. 이때, 도 7에 보는 바와 같이, 기록되는 행을 레코드 행(65)이라 하고, 필드값이 기록되는 셀을 레코드 셀(66)이라고 칭하기로 한다.The DB table inquiry unit 33 records the field values in the rows so that one row corresponds to one record. At this time, as shown in Fig. 7, the row to be recorded is called a record row 65, and the cell on which a field value is recorded will be referred to as a record cell 66.

레코드 셀(66)에 기록되는 필드값의 필드는 상기 레코드 셀(66)의 열에 해당하는 제목 셀에 연결된 필드와 같다. 즉, 도 7의 9번째 레코드의 필드값인 "신규제품1"의 필드는 이 열의 제목 셀(63)에 연결된 필드인 "제품명"에 해당한다. 즉, 필드값 "신규제품1"의 필드명이 제목 셀(63)의 이름인 "제품명"과 일치한다.The field of the field value recorded in the record cell 66 is the same as the field linked to the title cell corresponding to the column of the record cell 66. That is, the field of "new product 1" which is the field value of the ninth record of FIG. 7 corresponds to "product name" which is a field connected to the title cell 63 of this column. That is, the field name of the field value "new product 1" matches the "product name" which is the name of the title cell 63.

한편, 각 레코드 행(65)에는 갱신타입 제목 셀(64)에 해당하는 갱신타입 셀(67)이 있다. 갱신타입 셀(67)은 제목 셀(64)이 속하는 열에 속하는 셀이므로, 변경, 삭제, 삽입 중 어느 하나만 입력이 가능한 셀 표시형식을 갖는다.On the other hand, each record row 65 has an update type cell 67 corresponding to an update type title cell 64. Since the update type cell 67 belongs to a column to which the title cell 64 belongs, the update type cell 67 has a cell display format in which any one of change, deletion, and insertion can be input.

사용자(11)는 엑셀시트 상에서 갱신타입 셀(67)의 셀값을 변경, 삭제, 삽입 중 어느 하나로 설정함으로써, 해당 레코드의 갱신타입을 정한다. 즉, 갱신타입 셀(67)의 셀값을 삭제로 선택하면, 상기 갱신타입 셀을 포함하는 레코드 행(65)은 DB테이블에서 삭제된다.The user 11 sets the update type of the corresponding record by setting the cell value of the update type cell 67 to one of change, deletion, and insertion on the Excel sheet. That is, if the cell value of the update type cell 67 is selected to be deleted, the record row 65 including the update type cell is deleted from the DB table.

또, 사용자(11)가 특정 레코드를 (삽입)변경하고자 하면, 해당 레코드의 레코드 행(65)에서 (삽입)변경하고자 하는 필드의 해당 필드값을 (삽입)변경한다. 그리고 상기 레코드 행(65)의 갱신타입 셀(76)의 셀값을 "삽입(Insert)"으로 선택한다. 예를 들어, 도 7에서, 9번째 레코드의 "제품명"이 "신규제품1"인 삽입하고, 갱신타입 셀(67)을 "삽입(Insert)"로 정한다.When the user 11 wants to (insert) change a specific record, the corresponding field value of the field to be inserted is changed in the record row 65 of the record. The cell value of the update type cell 76 of the record row 65 is selected as " Insert. &Quot; For example, in Fig. 7, the " product name " of the ninth record is " new product 1 ", and the update type cell 67 is designated as " Insert. &Quot;

DB테이블 갱신부(34)는 갱신 명령버튼(61)이 입력되면, 상기 엑셀시트(60)의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신한다. 갱신 명령버튼은 명령버튼(61) 중 하나로서, 레코드 갱신을 명령하는 버튼이다. 갱신 명령버튼(61)은 사용자(11)에 의해 클릭되면 버튼에 연결된 기능이 실행된다.When the update command button 61 is input, the DB table updater 34 updates the record of the selected DB table with the field value of the record recorded in the cell of the Excel sheet 60. The update command button is one of the command buttons 61 and is a button for commanding record update. When the update command button 61 is clicked by the user 11, a function connected to the button is executed.

상기 DB테이블 조회부(33) 및 상기 DB테이블 갱신부(34)는 동적연결함수, 예를 들어, DLL(Dynamic Link Library) 함수로 구현되고, 상기 엑셀시트(60)에 삽입된 명령버튼(61)에 상기 동적연결함수가 연결된다. 따라서 명령버튼(61)이 클릭되는 등 이벤트가 발생하면, 명령버튼(61)의 이벤트에 연결된 동적연결함수가 실행된다.
The DB table inquiry unit 33 and the DB table update unit 34 are implemented as a dynamic link function, for example, a DLL (Dynamic Link Library) function, and a command button 61 inserted into the Excel sheet 60. ) Is connected to the dynamic link function. Therefore, when an event occurs, such as the command button 61 being clicked, the dynamic link function connected to the event of the command button 61 is executed.

한편, DB테이블 갱신부(34)는 갱신타입 셀(67)의 셀값(변경, 삽입, 삭제)에 따라, 엑셀시트(60)의 레코드 셀(66)에 기록된 필드값으로 DB테이블의 레코드를 갱신(변경, 삽입, 삭제)한다. 또한, DB테이블 갱신부(34)는 레코드 셀(66)을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스(50)에 요청한다.On the other hand, the DB table updater 34 records the DB table record with the field values recorded in the record cell 66 of the Excel sheet 60 according to the cell value (change, insert, delete) of the update type cell 67. Update (change, insert, delete). In addition, the DB table updater 34 creates a DB query for updating the DB table by grouping the record cells 66 in rows, and requests the DB query from the database 50.

DB테이블 갱신부(34)는 각 레코드 행(65)별로, 레코드 행(65)의 각 레코드 셀(66)별로, "<필드명> = <필드값>"의 형태로 갱신하는 조건을 만든다. 이때 <필드명>은 레코드 셀(66)의 열에 해당하는 제목 셀(63)의 이름으로 정하고, <필드값>은 레코드 셀(66)의 셀값으로 정한다.The DB table updating unit 34 creates a condition for updating each record row 65 in the form of &quot; <field name> = &lt; field value> &quot; for each record cell 66 of the record row 65. FIG. At this time, the <field name> is determined by the name of the title cell 63 corresponding to the column of the record cell 66, and the <field value> is determined by the cell value of the record cell 66.

예를 들면, 도 8에서 보는 바와 같이, 도 7의 1, 2, 9번째 레코드에 대하여 갱신하기 위한 SQL문으로 각각 작성한다.For example, as shown in FIG. 8, the first, second, and ninth records of FIG. 7 are written in SQL statements for updating.

DB테이블 갱신부(34)는 데이터베이스(50)로부터 상기 DB쿼리에 대한 에러 메시지를 수신하면, 상기 행단위에 해당하는 행(이하 에러 행)의 색을 달리 표시하거나, 상기 에러 메시지를 상기 에러 행의 하나의 셀에 기록한다.When the DB table updater 34 receives an error message for the DB query from the database 50, the DB table updater 34 displays a different color of a row corresponding to the row unit (hereinafter, referred to as an error row) or displays the error message as the error row. In one cell.

DB테이블 갱신부(34)는 DB쿼리의 정합성 검사를 특별히 하지 않는다. 다만, DB테이블 갱신부(34)는 DB쿼리를 데이터베이스(50)에 전송하고, DB쿼리가 잘못된 경우, 데이터베이스(50)에서 받은 에러 메시지를 출력하여 보여주거나, 해당 행의 색깔을 달리 표시하여 에러가 발생되었음을 표시한다. 또는 에러 메시지의 셀을 정하여, 에러 메시지 내용을 기록한다. 도 9는 에러메시지의 일례이다.
The DB table updater 34 does not specifically check the consistency of the DB query. However, the DB table updater 34 transmits the DB query to the database 50, and if the DB query is incorrect, outputs and shows an error message received from the database 50 or displays the color of the corresponding row differently. Indicates that has occurred. Alternatively, the cell of the error message is specified and the content of the error message is recorded. 9 is an example of an error message.

다음으로, 본 발명의 일실시예에 따른 엑셀기반 DB테이블 갱신 방법을 도 8을 참조하여 설명한다.Next, an Excel-based DB table update method according to an embodiment of the present invention will be described with reference to FIG. 8.

도 8에서 보는 바와 같이, 상기 엑셀기반 DB테이블 갱신 방법은 (a) 데이터베이스(50)에 접속하여 DB테이블의 메타정보를 가져와서 보여주고, DB테이블의 선택을 입력받는 단계(S10); (b) 명령버튼(61)이 삽입된 엑셀시트(60)를 생성하고, 상기 엑셀시트(60)에 상기 선택된 DB테이블의 필드명을 하나의 행(이하 제목 행, 62)의 셀(이하 제목 셀, 63)들에 연결하는 단계(S20); (c) 조회 명령버튼이 입력되면, 상기 선택된 DB테이블의 레코드를 상기 데이터베이스로부터 가져와서, 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀, 66)에 기록하되, 상기 레코드 셀(66)에 기록된 필드값의 필드명이 상기 레코드 셀(66)의 열에 해당하는 제목 셀(63)의 필드명과 일치하는 단계(S30); 및 (d) 갱신 명령버튼이 입력되면, 상기 엑셀시트(60)의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신하는 단계(S40)로 구분된다.As shown in FIG. 8, the method for updating an Excel-based DB table may include: (a) accessing a database 50 to obtain and display meta information of a DB table, and receiving a selection of a DB table (S10); (b) Create an Excel sheet 60 in which the command button 61 is inserted, and insert a field name of the selected DB table into one row (hereinafter, title row and 62) in the Excel sheet 60 (hereafter, title). Connecting to cells 63 (S20); (c) When an inquiry command button is input, the record of the selected DB table is taken from the database, and the field value of the record is recorded in the cell of the Excel sheet (hereinafter, record cell) 66 in units of rows, and the record cell ( Step S30, in which the field name of the field value recorded in 66) matches the field name of the title cell 63 corresponding to the column of the record cell 66; And (d) updating the record of the selected DB table with the field value of the record recorded in the cell of the Excel sheet 60 when the update command button is input (S40).

특히, 상기 (b)단계에서, 상기 제목 행(62)의 하나의 셀을 갱신타입 제목 셀(64)로 설정하고, 제목 셀(63)의 이름을 필드명으로 설정하여 제목 셀(63)과 필드를 연결한다.In particular, in the step (b), one cell of the title row 62 is set as the update type title cell 64, and the name of the title cell 63 is set as the field name to match the title cell 63. Connect the fields.

또한, 상기 (d)단계에서, 상기 갱신타입 제목 셀(64)의 열에 해당하는 레코드 셀(이하 갱신타입 셀, 64)의 갱신타입에 따라 갱신 방식을 달리한다. 또, 상기 레코드 셀(66)을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스(50)에 요청한다. 또, 데이터베이스(50)로부터 상기 DB쿼리에 대한 에러 메시지를 수신하면, 상기 행단위에 해당하는 행(이하 에러 행)의 색을 달리 표시하거나, 상기 에러 메시지를 상기 에러 행의 하나의 셀에 기록한다.
In addition, in the step (d), the update method is changed according to the update type of the record cell (hereinafter, the update type cell 64) corresponding to the column of the update type title cell 64. In addition, a DB query for updating the DB table by grouping the record cells 66 in rows is made, and the DB query is requested to the database 50. In addition, when an error message for the DB query is received from the database 50, the color of a row corresponding to the row unit (hereinafter referred to as an error row) is displayed differently, or the error message is recorded in one cell of the error row. do.

상기 엑셀기반 DB테이블 갱신 방법에 대한 설명 중 생략된 부분은 앞서 설명한 엑셀기반 DB테이블 갱신 시스템에 대한 설명을 참고한다.For the omitted parts of the description of the Excel-based DB table update method, refer to the description of the Excel-based DB table update system described above.

이상, 본 발명자에 의해서 이루어진 발명을 상기 실시 예에 따라 구체적으로 설명하였지만, 본 발명은 상기 실시 예에 한정되는 것은 아니고, 그 요지를 이탈하지 않는 범위에서 여러 가지로 변경 가능한 것은 물론이다.As mentioned above, although the invention made by this inventor was demonstrated concretely according to the said Example, this invention is not limited to the said Example, Of course, a various change is possible in the range which does not deviate from the summary.

본 발명은 데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템 개발에 적용이 가능하다. 특히, 본 발명은 데이터베이스의 DB테이블의 레코드의 필드값들을 행 단위로 엑셀시트의 셀에 기록하고, 엑셀시트의 셀에 기록된 필드값으로 데이터베이스를 갱신하는 엑셀기반 DB테이블 갱신 시스템 개발에 적용이 가능하다.The present invention is applicable to the development of an Excel-based DB table update system that performs a record update operation of a DB table of a database in Excel. In particular, the present invention is applicable to the development of an Excel-based DB table update system for recording field values of a record of a DB table of a database in a cell of an Excel sheet and updating a database with field values recorded in a cell of an Excel sheet. It is possible.

Claims (16)

데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템에 있어서,
상기 데이터베이스의 DB테이블의 선택을 입력받는 DB테이블 선택수단;
엑셀시트를 생성하고, 상기 엑셀시트에 명령버튼을 삽입하는 엑셀시트 생성부;
조회 명령버튼이 입력되면, 선택된 DB테이블의 레코드를 상기 데이터베이스로부터 가져와서 상기 레코드의 필드값을 엑셀시트의 셀에 기록하는 DB테이블 조회부; 및
갱신 명령버튼이 입력되면, 상기 엑셀시트의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신하는 DB테이블 갱신부를 포함하되,
상기 DB테이블 조회부 및 상기 DB테이블 갱신부는 동적연결함수로 구현되고, 상기 DB테이블 생성부는 상기 명령버튼에 상기 동적연결함수를 연결시키고,
상기 엑셀시트 생성부는 선택된 DB테이블의 필드명을 상기 엑셀시트의 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결하고,
상기 DB테이블 조회부는 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀)에 기록하되, 상기 레코드 셀에 기록된 필드값의 필드명이 상기 레코드 셀의 열에 해당하는 제목 셀의 필드명과 일치시키는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
In Excel-based DB table update system that performs a record update operation of the DB table of the database in Excel,
DB table selecting means for receiving a selection of the DB table of the database;
An Excel sheet generator for generating an Excel sheet and inserting a command button into the Excel sheet;
A DB table inquiry unit which, when an inquiry command button is input, takes a record of a selected DB table from the database and records a field value of the record in a cell of an Excel sheet; And
When the update command button is input, includes a DB table updating unit for updating the record of the selected DB table with the field value of the record recorded in the cell of the Excel sheet,
The DB table query unit and the DB table update unit are implemented as a dynamic link function, the DB table generator connects the dynamic link function to the command button,
The Excel spreadsheet generation unit connects the field names of the selected DB table to cells (hereinafter title cells) of one row (hereinafter title row) of the Excel sheet,
The DB table query unit records the field value of the record in rows of cells in an Excel sheet (hereinafter, referred to as a record cell), wherein a field name of a field value recorded in the record cell matches a field name of a title cell corresponding to a column of the record cell. Excel-based DB table update system, characterized in that.
삭제delete 제1항에 있어서,
상기 엑셀시트 생성부는 상기 제목 행의 하나의 셀을 갱신타입 제목 셀로 설정하고,
상기 DB테이블 갱신부는 상기 갱신타입 제목 셀의 열에 해당하는 레코드 셀(이하 갱신타입 셀)의 갱신타입에 따라 갱신 방식을 달리하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The Excel sheet generator sets one cell of the title row as an update type title cell,
And the DB table updating unit changes an update method according to an update type of a record cell (hereinafter, referred to as update type cell) corresponding to a column of the update type title cell.
제3항에 있어서,
상기 엑셀시트 생성부는 명령버튼 및 갱신타입 제목 셀에 관한 셀 설정이 된 엑셀시트 템플릿을 가져와서 상기 엑셀시트를 생성하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 3,
Wherein the Excel sheet generating unit Excel-based DB table update system, characterized in that for generating an Excel sheet by importing an Excel template template has been set for the command button and the update type title cell.
제1항에 있어서,
상기 엑셀시트 생성부는 제목 셀의 이름을 필드명으로 설정하여 제목 셀과 필드명을 연결하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The Excel sheet generating unit sets the name of the title cell to the field name and connects the title cell to the field name.
제1항에 있어서,
상기 DB테이블 선택수단은 DB테이블 이름 및 DB테이블의 필드명을 포함하는 DB테이블의 메타정보를 보여주고, 하나의 선택된 DB테이블과, 상기 선택된 DB테이블에서 선택된 필드명들을 입력받고,
상기 엑셀시트 생성부는 선택된 필드명만 제목 셀에 연결하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The DB table selecting means shows meta information of a DB table including a DB table name and a field name of the DB table, receives one selected DB table and field names selected from the selected DB table,
The Excel sheet generation unit Excel-based DB table update system, characterized in that for connecting only the selected field name to the title cell.
제1항에 있어서,
상기 엑셀시트 생성부는 필드명의 필드 특성에 따라 제목 셀의 셀 표시방식을 달리하고, 상기 필드 특성은 키 필드, 널(Null)금지 필드, 일반 필드를 포함하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The Excel sheet generating unit changes the cell display method of the title cell according to the field characteristics of the field name, and the field characteristics include a key field, a null prohibition field, and a general field. .
제1항에 있어서,
상기 DB테이블 갱신부는 상기 레코드 셀을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스에 요청하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The DB table updating unit creates a DB query that updates the DB table by binding the record cells in rows, and requests the DB query from the database.
제8항에 있어서,
상기 DB테이블 갱신부는 상기 데이터베이스로부터 상기 DB쿼리에 대한 에러 메시지를 수신하면, 상기 행단위에 해당하는 행(이하 에러 행)의 색을 달리 표시하거나, 상기 에러 메시지를 상기 에러 행의 하나의 셀에 기록하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 8,
When the DB table updater receives an error message for the DB query from the database, the DB table updater displays a different color of a row corresponding to the row unit (hereinafter, referred to as an error row) or displays the error message in one cell of the error row. Excel-based DB table update system, characterized in that for recording.
제1항에 있어서,
상기 DB테이블 조회부 및 상기 DB테이블 갱신부는 DLL(Dynamic Link Library) 함수로 구현되는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 시스템.
The method of claim 1,
The DB table querying unit and the DB table updating unit are implemented as a DLL (Dynamic Link Library) function.
데이터베이스의 DB테이블의 레코드 갱신작업을 엑셀에서 수행하는 엑셀기반 DB테이블 갱신 시스템의 DB테이블 갱신 방법에 있어서,
(a) 상기 데이터베이스의 DB테이블의 선택을 입력받는 단계;
(b) 엑셀시트를 생성하고, 상기 엑셀시트에 명령버튼을 삽입하는 단계;
(c) 조회 명령버튼이 입력되면, 선택된 DB테이블의 레코드를 상기 데이터베이스로부터 가져와서 상기 레코드의 필드값을 엑셀시트의 셀에 기록하는 단계; 및
(d) 갱신 명령버튼이 입력되면, 상기 엑셀시트의 셀에 기록된 레코드의 필드값으로 상기 선택된 DB테이블의 레코드를 갱신하는 단계를 포함하되,
상기 (c)단계 및 상기 (d)단계의 기능은 동적연결함수로 구현되고, 상기 (b)단계에서, 상기 명령버튼에 상기 동적연결함수를 연결시키고,
상기 (b)단계는 선택된 DB테이블의 필드명을 상기 엑셀시트의 하나의 행(이하 제목 행)의 셀(이하 제목 셀)들에 연결하고,
상기 (c)단계는 상기 레코드의 필드값을 행단위로 엑셀시트의 셀(이하 레코드 셀)에 기록하되, 상기 레코드 셀에 기록된 필드값의 필드명이 상기 레코드 셀의 열에 해당하는 제목 셀의 필드명과 일치시키는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 방법.
In the DB table update method of the Excel-based DB table update system for performing a record update operation of the DB table of the database in Excel,
(a) receiving a selection of a DB table of the database;
(b) generating an Excel sheet and inserting a command button into the Excel sheet;
(c) when an inquiry command button is input, taking a record of a selected DB table from the database and recording a field value of the record in a cell of an Excel sheet; And
(d) if an update command button is input, updating a record of the selected DB table with a field value of a record recorded in a cell of the Excel sheet,
The functions of steps (c) and (d) are implemented as a dynamic linking function, and in step (b), the dynamic linking function is connected to the command button,
In step (b), the field names of the selected DB table are linked to the cells (hereinafter, title cells) of one row (hereinafter, title row) of the Excel sheet.
In the step (c), the field value of the record is recorded in a cell of an Excel sheet (hereinafter, referred to as a record cell) in a row unit, and the field name of the field value of the field value recorded in the record cell corresponds to the column of the record cell. Excel-based DB table update method characterized in that the matching.
삭제delete 제11항에 있어서,
상기 (b)단계에서, 상기 제목 행의 하나의 셀을 갱신타입 제목 셀로 설정하고, 상기 (d)단계에서, 상기 갱신타입 제목 셀의 열에 해당하는 레코드 셀(이하 갱신타입 셀)의 갱신타입에 따라 갱신 방식을 달리하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 방법.
The method of claim 11,
In step (b), one cell of the title row is set as an update type title cell, and in step (d), an update type of a record cell (hereinafter referred to as update type cell) corresponding to a column of the update type title cell is set. Excel-based DB table update method, characterized in that the update method according to.
제11항에 있어서,
상기 (b)단계에서, 제목 셀의 이름을 필드명으로 설정하여 제목 셀과 필드명을 연결하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 방법.
The method of claim 11,
In the step (b), Excel-based DB table update method, characterized in that by setting the name of the title cell to the field name to connect the title cell and the field name.
제11항에 있어서,
상기 (d)단계에서, 상기 레코드 셀을 행단위로 묶어 DB테이블을 갱신하는 DB쿼리를 작성하고, 상기 DB쿼리를 상기 데이터베이스에 요청하는 것을 특징으로 하는 엑셀기반 DB테이블 갱신 방법.
The method of claim 11,
In step (d), create a DB query for updating a DB table by binding the record cells in rows, and requesting the DB query from the database.
제11항, 제13항 내지 제15항 중 어느 한 항의 엑셀기반 DB테이블 갱신 방법을 수행하는 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.
A computer-readable recording medium having recorded thereon a program for executing the method of updating an Excel-based DB table according to any one of claims 11 and 13.
KR1020100003784A 2010-01-15 2010-01-15 An excel-based management system for updating db tables and the method thereof KR101013810B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100003784A KR101013810B1 (en) 2010-01-15 2010-01-15 An excel-based management system for updating db tables and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100003784A KR101013810B1 (en) 2010-01-15 2010-01-15 An excel-based management system for updating db tables and the method thereof

Publications (1)

Publication Number Publication Date
KR101013810B1 true KR101013810B1 (en) 2011-02-14

Family

ID=43777311

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100003784A KR101013810B1 (en) 2010-01-15 2010-01-15 An excel-based management system for updating db tables and the method thereof

Country Status (1)

Country Link
KR (1) KR101013810B1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970736A (en) * 2013-01-25 2014-08-06 苏州精易会信息技术有限公司 Method for converting Excel sheet to database table
CN104239366A (en) * 2013-06-21 2014-12-24 苏州精易会信息技术有限公司 Spreadsheet data management method based on C/S mode
KR101769853B1 (en) * 2015-12-28 2017-08-22 (주)비아이매트릭스 A batch update system based on spreadsheet interface for the database by using query templates
KR101769857B1 (en) * 2015-12-28 2017-08-22 (주)비아이매트릭스 An update system for the database by using spreadsheet interface
KR20180080423A (en) * 2017-01-03 2018-07-12 (주)비아이매트릭스 A database update system based on spreadsheet interface by finding out updated records automatically
KR101864700B1 (en) * 2016-07-04 2018-07-13 한다시스템 주식회사 Method and computer program for integrating spread sheet with database
KR101899055B1 (en) 2017-02-20 2018-09-17 (주)비아이매트릭스 A database update method based on spreadsheet interface by making queries optimized for updated records
KR101906170B1 (en) * 2017-11-28 2018-10-11 (주)에스엠시스템 Method for providing grid handling service massive data processing management based on cloud service using ria
KR101949337B1 (en) * 2017-11-11 2019-02-19 (주)에스엠시스템 METHOD FOR PROVIDING aPaaS BASED ON CLOUD SERVICE USING RIA
CN109829143A (en) * 2018-12-28 2019-05-31 陈德芹 A kind of online table method of summary and device
CN112632101A (en) * 2020-12-22 2021-04-09 平安普惠企业管理有限公司 Script generation method and device, computer equipment and storage medium
CN113590697A (en) * 2021-06-18 2021-11-02 中国煤炭地质总局勘查研究总院 excel import access database system
CN113704257A (en) * 2021-08-06 2021-11-26 网易(杭州)网络有限公司 Data table updating method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651216B1 (en) * 1999-05-10 2003-11-18 Dave Sullivan Efficiently navigating a workbook linked to a database

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6651216B1 (en) * 1999-05-10 2003-11-18 Dave Sullivan Efficiently navigating a workbook linked to a database

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970736A (en) * 2013-01-25 2014-08-06 苏州精易会信息技术有限公司 Method for converting Excel sheet to database table
CN104239366A (en) * 2013-06-21 2014-12-24 苏州精易会信息技术有限公司 Spreadsheet data management method based on C/S mode
KR101769853B1 (en) * 2015-12-28 2017-08-22 (주)비아이매트릭스 A batch update system based on spreadsheet interface for the database by using query templates
KR101769857B1 (en) * 2015-12-28 2017-08-22 (주)비아이매트릭스 An update system for the database by using spreadsheet interface
KR101864700B1 (en) * 2016-07-04 2018-07-13 한다시스템 주식회사 Method and computer program for integrating spread sheet with database
KR101908556B1 (en) * 2017-01-03 2018-10-17 (주)비아이매트릭스 A database update system based on spreadsheet interface by finding out updated records automatically
KR20180080423A (en) * 2017-01-03 2018-07-12 (주)비아이매트릭스 A database update system based on spreadsheet interface by finding out updated records automatically
KR101899055B1 (en) 2017-02-20 2018-09-17 (주)비아이매트릭스 A database update method based on spreadsheet interface by making queries optimized for updated records
KR101949337B1 (en) * 2017-11-11 2019-02-19 (주)에스엠시스템 METHOD FOR PROVIDING aPaaS BASED ON CLOUD SERVICE USING RIA
KR101906170B1 (en) * 2017-11-28 2018-10-11 (주)에스엠시스템 Method for providing grid handling service massive data processing management based on cloud service using ria
CN109829143A (en) * 2018-12-28 2019-05-31 陈德芹 A kind of online table method of summary and device
CN109829143B (en) * 2018-12-28 2023-06-20 陈德芹 Online form summarizing method and device
CN112632101A (en) * 2020-12-22 2021-04-09 平安普惠企业管理有限公司 Script generation method and device, computer equipment and storage medium
CN113590697A (en) * 2021-06-18 2021-11-02 中国煤炭地质总局勘查研究总院 excel import access database system
CN113704257A (en) * 2021-08-06 2021-11-26 网易(杭州)网络有限公司 Data table updating method and device
CN113704257B (en) * 2021-08-06 2023-09-26 网易(杭州)网络有限公司 Data table updating method and device

Similar Documents

Publication Publication Date Title
KR101013810B1 (en) An excel-based management system for updating db tables and the method thereof
US7743071B2 (en) Efficient data handling representations
RU2406115C2 (en) Accessing complex data
US8190555B2 (en) Method and system for collecting and distributing user-created content within a data-warehouse-based computational system
CN105144080B (en) System for metadata management
US20170316183A1 (en) Clinical data management system
US8645332B1 (en) Systems and methods for capturing data refinement actions based on visualized search of information
US8666960B2 (en) Schema-based data transfer between a data-based application and a document application
US7720831B2 (en) Handling multi-dimensional data including writeback data
EP1585036A2 (en) Management of parameterized database queries
US9710529B2 (en) Data construction for extract, transform and load operations for a database
US20100280990A1 (en) Etl for process data warehouse
US20090187530A1 (en) Enabling users to edit very large xml data
US20140214753A1 (en) Systems and methods for multi-source data-warehousing
KR102034679B1 (en) A data input/output system using grid interface
US20160321231A1 (en) Computer Implemented Systems and Methods for Automatic Generation of Data Transformations
US11176175B1 (en) System and method for computing and managing datasets using hierarchical analytics
US9727550B2 (en) Presenting a selected table of data as a spreadsheet and transforming the data using a data flow graph
US20090049060A1 (en) Method and Apparatus for Managing Database Records Rejected Due to Referential Constraints
US7424495B2 (en) Handling uniqueness constraints in a database system with versioned data
US20160321232A1 (en) Computer Implemented Systems and Methods for Data Usage Monitoring
US20120209887A1 (en) System, Process and Article of Manufacture for Automatic Generation of Subsets of Existing Databases
US20240036890A1 (en) System and method of a modular framework for configuration and reuse of web components
US11704094B2 (en) Data integrity analysis tool
CN113672626B (en) Data structure changing method and device and electronic equipment

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140127

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160201

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170120

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180119

Year of fee payment: 8