wt is the diff b/w greast and max ,least and min?
wt is the diff b/w case and decod?
Answers were Sorted based on User's Feedback
Answer / satya
simply greatest,least are rowlevel functions
max,min are the column level functions
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / shivaindu
greatest/Least: we can pass any no. of exp
Max/Min: we can pass one exp that may a column
Case: is a statement function, cannot process null
Decode: is a function, can process null, we can use in
update statement.
Is This Answer Correct ? | 10 Yes | 3 No |
Answer / jyothi
greatest gives largest value from the list of values passed
where as max gives maximum value in that column.similarly
least and min too.
decode performs only equality conditions and it doesn't work
in plsql.process null.
case compares all the cases.null cannot processed. case
performs all the actions of decode and it works in pl/sql.
Is This Answer Correct ? | 4 Yes | 0 No |
What is percent sign in sql?
what is acid property in database? : Sql dba
What is sqlerrm?
what is schema? : Sql dba
what's the difference between a primary key and a unique key? : Sql dba
What are the possible values that can be stored in a boolean data field?
How do I edit a trigger in sql developer?
What is left join example?
if i perform any operation on views such as insert, delete etc will my base table get affected?????
what is the difference between rownum pseudo column and row_number() function? : Sql dba
There is a table, In one column it has implemented a index, but the index is disturbed by the regular dml statements.. but still we need to keep the index. how it is possible?
what is clause? : Sql dba