0% found this document useful (0 votes)
57 views2 pages

Ce Vor Afisa Pe Ecran Urmatoarele Functii?: Anexa 1

The document contains examples of SQL functions such as LOWER, UPPER, INITCAP, CONCAT, SUBSTR, INSTR, LENGTH, LPAD, RPAD, TRIM, REPLACE and what results they would return when applied to given text strings. Each example is a SELECT statement applied to the function and text that would return the result.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

Ce Vor Afisa Pe Ecran Urmatoarele Functii?: Anexa 1

The document contains examples of SQL functions such as LOWER, UPPER, INITCAP, CONCAT, SUBSTR, INSTR, LENGTH, LPAD, RPAD, TRIM, REPLACE and what results they would return when applied to given text strings. Each example is a SELECT statement applied to the function and text that would return the result.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ANEXA 1

Ce vor afisa pe ecran urmatoarele functii?


1)Select LOWER ('abc123ABC)
From dual;

2)Select LOWER (abracadaBRA)


From dual;

3)Select UPPER (abc123ABC)


From dual;

4)Select UPPER ('maria)


From dual;

5)Select INITCAP (aBc def*ghi)


From dual;

6)Select INITCAP (ana are mere)


From dual;

7)Select CONCAT (abc, def)


From dual;

8)Select CONCAT (mate, matica)


From dual;

9)Select SUBSTR (abcdef,3,2)


From dual;

10)Select SUBSTR (abcdef,3,7)


From dual;

11)Select INSTR (abcdabcdabc, cd)


From dual;

12)Select INSTR (abcd, ef)


From dual;

13)Select LENGTH (abcd)


From dual;

14)Select LENGTH (informatica)


From dual;

15)Select LPAD (abcd,10, *.)


From dual;

16)Select LPAD (abracadabra, 15, /)


From dual;

17)Select RPAD (abcd,10, *.)


From dual;

18)Select RPAD (abracadabra, 15, \)


From dual;

19)Select TRIM (a from axaxa)


From dual;

20)Select TRIM (c from carte)


From dual;

21)Select REPLACE (abracadabra, ab, xy)


From dual;

22)Select REPLACE (georgescu, ge, io)


From dual;

You might also like