Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle nls parameters

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 :: duplicate column values sql 
Sql :: mysql column start with string 
Sql :: apex select list ORA-20999 
Sql :: get a list of table names and field names from SQL 
Sql :: group by mysql and concatenate string 
Sql :: Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates. 
Sql :: how to open closed port mysql in ubuntu 
Sql :: sql server user permissions and roles 
Sql :: ddl view 
Sql :: distincct sql 
Sql :: install mysql 8 ubuntu 18.04 
Sql :: sql sort column by date 
Sql :: mysql substract count and distinct count 
Sql :: ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 
Sql :: add days in oracle sql 
Sql :: sql server check table exists 
Sql :: sql query length of string the longest 
Sql :: create row number in sql 
Sql :: get first 2 letter in sql 
Sql :: mysql select where text contains 
Sql :: sous requete sql 
Sql :: postgres first_value in gropby 
Sql :: sql server reseed identity column 
Sql :: postgres concat_ws 
Sql :: oracle current date minus 1 day 
Sql :: sql server current date minus 5 years 
Sql :: sql update from different table 
Sql :: get last three characters in mysql column 
Sql :: show columns in sql 
Sql :: get ip from phpmyadmin 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =