Documente Academic
Documente Profesional
Documente Cultură
Table created.
1 row created.
SQL> ed
Wrote file afiedt.buf
1 row created.
SQL> ed
Wrote file afiedt.buf
SQL> ed
Wrote file afiedt.buf
SQL> ed
Wrote file afiedt.buf
BRANCH_NO NAME
---------- --------------------
1001 SRNAG
1001 NULL
1 select constraint_name,constraint_type
2 from user_constraints
3* where table_name='branch_mstr'
4 /
no rows selected
SQL> ed
Wrote file afiedt.buf
1 select constraint_name,constraint_type
2 from user_constraints
3* where table_name='BRANCH_MSTR'
SQL> /
CONSTRAINT_NAME C
------------------------------ -
BRANCHNO_NN C
NAME_NN C
SQL> ed
Wrote file afiedt.buf
1 select constraint_name,constraint_type
2 from user_constraints
3* where table_name='BRANCH_MSTR'
4
SQL>
SQL> ed
Wrote file afiedt.buf
1 select constraint_name,column_name
2 from user_cons_columns
3* where table_name='BRANCH_MSTR'
4 /
CONSTRAINT_NAME
------------------------------
COLUMN_NAME
-----------------------------------------------------------------------------
-----------------------
BRANCHNO_NN
BRANCH_NO
NAME_NN
NAME
CONSTRAINT_NAME
------------------------------
COLUMN_NAME
-----------------------------------------------------------------------------
-----------------------
BRANCHNO_NN
BRANCH_NO
NAME_NN
NAME
SQL>