Skip to content

rabbitson87/mssql_tiberius_schema_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mssql_tiberius_schema_parser

Generates the schema of all tables in mssql as a structure.

How to use

cargo install mssql_tiberius_schema_parser mssql_tiberius_schema_parser.exe [OPTIONS] -u -p -t

Options: --host A host or ip address to connect to. - Defaults to localhost

  --port <PORT>
      The server port.
      - Defaults to `61363`

-d The database to connect to. - Defaults to master

-a Sets the application name to the connection, queryable with the APP_NAME() command. - Defaults to no name specified.

-i The instance name as defined in the SQL Browser. Only available on Windows platforms. If specified, the port is replaced with the value returned from the browser. If you write win_auth, please write down except the computer name - Required for win_auth - Defaults to no name specified.

-u The user to connect with. If you write win_auth, please write down except the computer name - Required

-p The password to connect with. - Required

-t The authentication type to use. - Required

      Possible values:
      - win_auth:    Use Windows Authentication
      - server_auth: Use SQL Server Authentication

  --use_proto_parser
      Use date time to string. add cli option with --use_proto_parser.
      - Defaults to false

  --use_split_file
      Use split file. add cli option with --use_split_file.
      - Defaults to false

  --path <PATH>
      The path to the rs file to execute.
      - Defaults to structs.rs

  --proto_path <PROTO PATH>
      The path to the proto file to execute.
      - Defaults to structs.proto

-h, --help Print help (see a summary with '-h')

-V, --version Print version

About

Generates the schema of all tables in msql as a structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages