📄 dropdatabase.cmd
字号:
@Echo Off
REM ***************************************************************************
REM ** File: _DropSposDB.cmd
REM ** Name: Database drop
REM ** Desc: Database uninstall batch file.
REM **
REM ** Date: 1/1/2003
REM **
REM **************************************************************************/
REM Use the following section to set the server and sa password
REM of the SQL Server on which you want to create the database.
set SERVER=localhost
set LOGIN=sa
set PWD=
set DBNAME=spos
@Echo.
@Echo *******************************************************************************
@Echo * SPOS Application Database Setup *
@Echo * *
@Echo * *
@Echo * This script will drop the SPOS database and database objects. *
@Echo * If you wish to cancel, press [CTRL]-C and terminate the batch job. *
@Echo * *
@Echo *******************************************************************************
@Echo.
@Echo.
@Echo.
@Echo *******************************************************************************
@Echo * Dropping the Database... *
@Echo *******************************************************************************
@Echo.
osql -S %SERVER% -U sa -P %PWD% -d master -i spos_DropDatabase.sql
@Echo.
@Echo *******************************************************************************
@Echo * *
@Echo * Script Complete *
@Echo * *
@Echo *******************************************************************************
@Echo.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -