Oracle sql script list of all countries of the world
only 5$
yasser.hassan@yandex.com
only 5$
yasser.hassan@yandex.com
DELETE FROM your_table
WHERE rowid not in
(SELECT MIN(rowid)
FROM your_table
GROUP BY column1, column2, column3);
Oracle Database 11g Express Edition has no provisions to change/use other charactersets than AL32UTF8 as NLS_CHARACTERSET and AL16UTF16 as NLS_NCHAR_CHARACTERSETSo, if you migrate data from any previous version of Database like 10g with special character, you will see the bellow problem when importing.
The NLS_CHARACTERSET is used for CHAR, VARCHAR2, LONG and CLOB columns;
The NLS_NCHAR_CHARACTERSET is used for NCHAR, NVARCHAR2 and NCLOB columns.
SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET' ; |
SELECT * FROM NLS_DATABASE_PARAMETERS |
net_service_name=
(DESCRIPTION=
(ADDRESS=(protocol_address_information))
(CONNECT_DATA=
(SERVICE_NAME=service_name)))
select * from
(
select sal, rank() over (order by sal DESC/ASC) rnk
from emp
)
where rnk = 1/2/3/4/5/6/...;