Skip to main content

Posts

Showing posts with the label How to see the Structure Of The table in SQL

Create table in SQL | How to see the Structure Of The table in SQL

 Create table in SQL For Explanation Watch Video:: EX:1: SQL> create table emp01(name varchar2(10),sal number(10)); Table created. How to see the Structure Of The table in SQL SQL> desc emp01;  Name                                      Null?    Type  ----------------------------------------- -------- ----------------------------  NAME                                               VARCHAR2(10)  SAL                                                NUMBER(10) EX2:: SQL> create table emp02(sno int,fname varchar2(10),lname varchar2(10),addr varchar2(10)); Table created. SQL> desc EMp02;  Name                                      Null?    Type  ----------------------------------------- -------- ----------------------------  SNO                                                 NUMBER(38)  FNAME                                           VARCHAR2(10)  LNAME                                           VARCHAR2(10)  ADDR                                              VARCHAR2(10)