Syntax for dropdb.pl
| OS | Command |
|---|---|
| Windows | dropdb.pl -dbase dbname@ODBC_DNS |
| Linux | dropdb.pl -dbase dbname@SID |
| Switch | Description |
|---|---|
Windows: dbname@ODBC_DSN —or— Linux: dbname@SID | Required: dbname The name of the Contenta database to be dropped or deleted. |
Optional: ODBC_DSN (Windows) The ODBC data source name. If not specified, the default is used—as defined in the registry for XYV_PDM_ODBC_DSN | |
Optional: SID (Linux) The system identifier. If not specified, the default is used—as defined in the registry for XYV_PDM_DATABASE_SID | |
| -pdmpwd db_passwd | Optional if password is the default, pcmuser. Required if password is not default; see Adding and Changing the Database Passwords. This is the password for the Contenta database. |
| -xyadminpwd xyadmin_pwd | Optional if password is default, manager. Required if password is not default; see Adding and Changing the Database Passwords. This is the password for the Oracle or MSSQL database. |
| -y | Optional Specify to confirm drop; suppresses the display of the dialog box to confirm, defaults to yes/ok. |
| -help | Use to display usage (syntax). |