--文件genins.sql
-- #############################################################################################
--
-- %Purpose: Generate INSERT statements for existing data in a table
--
-- #############################################################################################
--
PROMPT ==========================================================================
PROMPT Generate INSERT statements for existing data in a table
PROMPT ==========================================================================
PROMPT
PROMPT You'll be prompted for the following:
PROMPT - table_name: The name of the table to generate statements (case insensitive)
PROMPT - col1: The name of a column you want to fill with fixed data (case insensitive)
PROMPT . - [ENTER]: do not use this functionality
PROMPT - col1_value: The value for the column above (case sensitive)
PROMPT . - Enter String Values within two single quotes: ''example''
PROMPT . - [ENTER]: do not use this functionality
PROMPT - col2: The name of a column you want to fill with fixed data (case insensitive)
PROMPT . - [ENTER]: do not use this functionality
PROMPT - col2_value: The value for the column above (case sensitive)
PROMPT . - Enter String Values within two single quotes: ''example''
PROMPT