You are on page 1of 2

SQL> INSERT INTO T2 VALUES (1,BINARY_FLOAT_INFINITY);

1 row created.
SQL> SELECT * FROM T2;
C1

C2

---------- ---------1 2.0E+000


1. Inf

SQL> select regexp_count('prashant','t') from dual;


REGEXP_COUNT('PRASHANT','T')
---------------------------1
*************************************************************************************
*************************************************************************************

SQL> create table t1 (c1 number, c2 number, c3 as (c1+c2) virtual);


Table created.
SQL> select * from t1;
no rows selected
SQL> desc t1;
Name

Null? Type

----------------------------------------- -------- ---------------------------C1

NUMBER

C2

NUMBER

C3

NUMBER

SQL> insert into t1 (c1, c2) values (10, 20);


1 row created.
SQL> select * from t1;
C1

C2

C3

---------- ---------- ---------10

20

30

You might also like