Returns the name of the current database, if any.
When pdb_get_sql_database is invoked, it returns the name of the current database.
If the pdb_set_sql_database command has not been invoked to set the current database, it returns the default current database.
To set or change the current database, use the pdb_set_sql_database command.
The pdb_get_sql_database command is valid when the Replication Agent instance is in the Admin, Replicating, or Replication Down state.