Answer Posted / vijay kumar jakkam
1. A CHECK constraint evaluates to TRUE when the resulting value of the CHECK constraint expression is unknown, e.g. when the expression contains NULL.
Example: A CHECK constraint that enforces the value of a particular column to be >0 evaluates to TRUE if NULL passed while inserting.
2. CHECK Constraints are not evaluated for delete statements.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain cascading triggers.
How to write a query with a left outer join in oracle?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
How to delete a column in an existing table?
What is the difference between sharding and partitioning?
How to upsert (update or insert into a table)?
what's query optimization and without use of IN AND Exist can we get another way data from query
How to store pictures on to the database?
What is the difference between count (*), count (expression), count (distinct expression)?
How to create an oracle database?
What are the restrictions on external table columns?
> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?
Is there an oracle sql query that aggregates multiple rows into one row?
How to manage transaction isolation level?
How to create id with auto_increment on oracle?