Created
December 29, 2012 01:06
-
-
Save nobuhito/4403657 to your computer and use it in GitHub Desktop.
SQLをバッチファイル一つで実行
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set SQL=select sysdate from dual; | |
@echo off | |
echo %SQL% > sql.sql | |
echo exit >> sql.sql | |
sqlplus XXXX/XXXX@XXXX @sql.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment