Invention Grant
- Patent Title: Data migration in a database management system
- Patent Title (中): 数据库管理系统中的数据迁移
-
Application No.: US13843446Application Date: 2013-03-15
-
Publication No.: US09378254B2Publication Date: 2016-06-28
- Inventor: Karla Bester , Allan T. Chandler , Mark A. Shewell , Stephen J. Yates
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Van Leeuwen & Van Leeuwen
- Agent David Zwick
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F7/00 ; G06F11/20

Abstract:
An approach is provided to copy records between tables in a relational database. In the approach, a Structured Query Language (SQL) table COPY statement is received with the COPY statement identifying a source table and a target table. Table column names are retrieved from a metadata that corresponds to the source table. The retrieved table column names are used to generate an SQL statement that includes an INSERT INTO clause pertaining to the target table and a SELECT clause pertaining to the source table, wherein the INSERT INTO clause includes a set of target column names and wherein the SELECT clause includes a set of corresponding source column names.
Public/Granted literature
- US20140279914A1 Data Migration in a Database Management System Public/Granted day:2014-09-18
Information query