Вот пример простого скрипта:
select 'Database nls_numeric_characters = "' || value || '"'
from nls_database_parameters
where parameter = 'NLS_NUMERIC_CHARACTERS'
union all
select 'Instance nls_numeric_characters = "' || value || '"'
from nls_instance_parameters
where parameter = 'NLS_NUMERIC_CHARACTERS'
union all
select 'Session nls_numeric_characters = "' || value || '"'
from nls_session_parameters
where parameter = 'NLS_NUMERIC_CHARACTERS'
/