CAMEL
Sintaxis
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> CAMEL[CAMEL]:::quoted
CAMEL --> End((END))
Propósito
La función SQL CAMEL convierte un identificador a notación «camel case». Las mayúsculas se mantienen como tales, y los guiones bajos (_) se eliminan y se sustituyen por la mayúscula del carácter siguiente.
Parámetros:
- Entrada (
varchar2): el identificador que se convertirá a notación «camel case».
Devuelve: un identificador convertido a notación «camel case», como varchar2.
Ejemplos
En el siguiente ejemplo se aplica el formato «camel case» al identificador set_project_code:
select camel('set_project_code')
--------------------
SetProjectCode
En el siguiente ejemplo, se convierte el identificador abcd al formato «camel case», poniendo en mayúscula solo el primer carácter:
select camel('abcd')
--------
Abcd