dpdbadmin dropschema
  • 08 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

dpdbadmin dropschema

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The dpdbadmin dropschema command is used to undo the ODBC schema extension. It removes all the tables added using dpdbadmin addschema.

The database administrator account used must have permissions to drop tables.

Syntax

dpdbadmin dropschema –d dsn [OPTION]...

where dsn is the ODBC data source name.

Command-line options

Table: dpdbadmin dropschema command-line options
OptionParameterDescription
‑audit Drop the auditing tables. By default, only the main tables used by OneSpan Authentication Server are dropped.
‑d, ‑dsndsnRequired. ODBC data source name (DSN), e.g. "IAS embedded database".
‑h, ‑help Show help and usage information.
‑l, ‑loglogfileWrite output to logfile.
‑noserver Do not drop the main tables used by OneSpan Authentication Server. This should only be used with ‑audit, when you only want to drop the auditing tables.
‑p, ‑passworddbpassword

Optional. Password of the database administrator.

This option can be omitted if the database administrator account has a blank password.

‑q, ‑quiet Quiet mode. Do not output commentary text.
‑u, ‑userdbusernameOptional. User name of a database administrator (if required).
‑v, ‑verbose Print verbose output. Can be specified twice to be more verbose.
‑vdscontroltablenameThe alternative name for the control table specified when creating the schema using dpdbadmin addschema.
‑y, ‑assume‑yes Run the command non-interactively and assume Yes as answer to all confirmation prompts.

Exit codes

Table: dpdbadmin dropschema exit codes
Exit codeDescription
0The command completed successfully.
1The command has been aborted by the user.
2The command failed due to an unspecified error.
3The specified parameters are invalid.
4The command failed due to an error.
5The database authentication failed.

Examples

To drop a schema from the database using the data source name IAS embedded database and the user credentials digipass and digipassword type:

dpdbadmin dropschema –u digipass –p digipassword –d "IAS embedded database"


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle