Connection Options Switches

For more information on each switch, click the respective link.

 

/server

Alias:

/s

Arguments:

/server:server_name[\instance_name]

Required:

-

Default:

(local)

Description:

Specifies the server and instance name to connect to

Example:

ApexSQLClean /s:(local)\VSNET ...

Top

/user

Alias:

/u

Arguments:

/user:login

Required:

-

Default:

-

Description:

Specifies login when you use SQL Server authentication. You must use this option together with /password option. Omitted means: the trusted connection

Example:

ApexSQLClean ... /u:sa ...

Top

/password

Alias:

/p

Arguments:

/password:password

Required:

-

Default:

-

Description:

Specifies login's password when you use SQL Server authentication. You must use this option together with /user option

Example:

ApexSQLClean ... /p:password ...

Top

/database

Alias:

/d

Arguments:

/database:database

Required:

If no project was specified

Default:

-

Description:

Specifies the name of the database to connect to

Example:

ApexSQLClean ... /d:pubs ...

Top