WebDec 3, 2009 · select sds_initcap3 ( 'new reporT') from dual New ReporT Or create or replace Function Initcap2 ( P_string In Varchar2) Return Varchar2 Is L_string Varchar2 (4000); L_string_left Varchar2 (4000); L_substr Varchar2 (4000); Begin L_string_left := P_string; Loop If Instr (L_string_left,' ') > 0 Then WebMar 23, 2024 · SELECT INITCAP ('sourav kumar patra') "Capitalized" FROM Dual; b) Display 2 - 6 characters of your name. SELECT SUBSTR ('SOURAV KUMAR PATRA',2,6) FROM DUAL; …
INITCAP
WebSELECT TRUNC(29.99, 2) FROM dual; c. SELECT ROUND(29.01, -1) FROM dual; d. SELECT TRUNC(29.99, -1) FROM dual; A. is the only valid SQL statement b. is missing a right parenthesis and the * in c. should be single quotes. d … WebJun 30, 2024 · CREATE OR REPLACE FUNCTION title_case ( string VARCHAR2 ) RETURN VARCHAR2 IS BEGIN /* Change upper case to title case. */ RETURN UPPER(SUBSTR( string,1,1)) LOWER(SUBSTR( string,2,LENGTH( string))) ; END title_case; /. Then, we tested it with a query from the pseudo dual table: SELECT title_case ('incredible') AS "Proper … diamond baby 1987
INITCAP - docs.oracle.com
WebJul 25, 2024 · SET NULL 'null'; SELECT INITCAP (null) FROM DUAL; Result: INITCAP (NULL) ________________ null. By default, SQLcl and SQL*Plus return a blank space whenever null … WebAug 19, 2024 · The Oracle INITCAP () function sets the first letter of each word in uppercase, all other letters in lowercase. Words are delimited by white space or characters that are … WebJan 3, 2011 · New Post. using initcap. user9093700 Jan 3 2011 — edited Jan 4 2011. select initcap('hi how are you') from dual result: Hi How Are You but i need the output as : Hi how are you . This post has been answered by Billy Verreynne on … circle moves to avctl 4