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.
The current database is the default current database, which is the primary database specified in the Replication Agent pds_database_name configuration parameter.
The pdb_get_sql_database command is valid when the Replication Agent instance is in the Admin, Replicating, or Replication Down state.