Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle nls instance

SELECT *
FROM (SELECT 'SESSION' SCOPE, nsp.* FROM NLS_SESSION_PARAMETERS nsp
      UNION ALL
      SELECT 'DATABASE' SCOPE, ndp.* FROM NLS_DATABASE_PARAMETERS ndp
      UNION ALL
      SELECT 'INSTANCE' SCOPE, nip.* FROM NLS_INSTANCE_PARAMETERS nip) a
PIVOT (listagg(VALUE) WITHIN GROUP (ORDER BY SCOPE) FOR SCOPE IN (
    'SESSION' AS "SESSION" ,'DATABASE' AS DATABASE ,'INSTANCE' AS INSTANCE));
-- ⇓ Test it ⇓ (Fiddle source link)
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle apex prevent initial load 
Sql :: edate dax 
Sql :: sql set no lmit 
Sql :: mysql drop column 
Sql :: postgresql get last day of month 
Sql :: postgresql make each element in array distinct 
Sql :: moodle query first user access 
Sql :: sql list users and roles 
Sql :: get ddl materialized view oracle 
Sql :: oracle list dates between 
Sql :: change name of colum in sql table 
Sql :: how to get the ddl for datafile in oracle tablespace 
Sql :: oracle user quota unlimited 
Sql :: mysqldump password 
Sql :: oracle add month 
Sql :: Sql creating roles 
Sql :: how to print longest name in sql 
Sql :: how to find the most occuring in SQL 
Sql :: get first 3 letters name in sql 
Sql :: postgres date difference seconds 
Sql :: backup mysql data only 
Sql :: oracle ORA-00054 origin 
Sql :: get monday of current week sql 
Sql :: create function in microsoft sql server 
Sql :: oracle add proxy 
Sql :: real world example of nosql 
Sql :: sql update table based on another table 
Sql :: epoch time converter in snowflake 
Sql :: sql insert inserted id 
Sql :: replace all numbers in mysql 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =