Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

usage: refreshdbmeta [options]

This command is used to refresh the metadata for existing Database profiles.

  Options:
    -p, --profile   		State a specific profile to be refreshed. 
							The name should be entered in the following format: 
							Folder.ProfileName 
							If no profile is set, all existing profiles will be refreshed. 
                            Default: []
    -v, --verbose           More detailed output from the refreshdbmeta command.
                            Default: []


This command is used to refresh the metadata for existing Database profiles.

Options

OptionDescription

[-p, --profile]

This option can be used if you want to state a specific profile to be refreshed. If this option is not used, all profiles will be refreshed.

[ -v --verbose ]

Use this flag for detailed output from the refreshdbmeta command.

Example - Using the -v flag

$ mzsh <username>/<password> refreshdbmeta -v

Output:

Database profile <db_profile> metadata has been refreshed
 Added table: mzadmin.table1
 Added procedure: mzadmin.procedure1
 Removed table: mzadmin.table2
 Removed procedure: mzadmin.procedure2
Execution has been completed
  • No labels