-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added NLS_UPPER function as per DOCS-295
- Loading branch information
1 parent
ff76f78
commit 9e81513
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...s/docs/epas/17/reference/sql_reference/03_functions_and_operators/nls_upper.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: "NLS_UPPER function" | ||
--- | ||
|
||
`NLS_UPPER` returns char with all letters in uppercase. | ||
|
||
```sql | ||
NLS_UPPER(char [, 'nlsparam']) | ||
``` | ||
|
||
where char and 'nlsparam' can be any of the data types like CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. The returned string is of VARCHAR2 data type if char is a character datatype and a LOB if char is a LOB data type. The return string is in the same character set as char. | ||
|
||
## Examples | ||
|
||
```sql | ||
SELECT nls_upper('abcDef', 'NLS_SORT = XGERMAN'); | ||
__OUTPUT__ | ||
nls_upper | ||
----------- | ||
ABCDEF | ||
(1 row) | ||
``` | ||
|
||
```sql | ||
SELECT nls_upper('Gloße', 'NLS_SORT = XDANISH'); | ||
__OUTPUT__ | ||
nls_upper | ||
----------- | ||
GLOSSE | ||
(1 row) | ||
``` |