Hi everyone,
I'm new to creating batch file. I want to create batch file to insert data from table to another table. Here is the sql statment:
insert into DEPT_HR(DEP_NO,DEPT_NAME,TOPMANAGER_NAME)
select DEP_NO,DEPT_NAME,TOPMANAGER_NAME from DEPARTMENT
and what I wrote in the batch file is:
@ECHO OFF
echo.
echo.
SET /P uname=Username:
echo.
echo.
SET /P pass=Password:
echo.
echo.
SET /P mydatabase=Database:
echo.
echo.
set oracle_sid=ins
Could anybody help??
I'm new to creating batch file. I want to create batch file to insert data from table to another table. Here is the sql statment:
insert into DEPT_HR(DEP_NO,DEPT_NAME,TOPMANAGER_NAME)
select DEP_NO,DEPT_NAME,TOPMANAGER_NAME from DEPARTMENT
and what I wrote in the batch file is:
@ECHO OFF
echo.
echo.
SET /P uname=Username:
echo.
echo.
SET /P pass=Password:
echo.
echo.
SET /P mydatabase=Database:
echo.
echo.
set oracle_sid=ins
Could anybody help??