Professional Documents
Culture Documents
2
SQL>
SQL> ed
Wrote file afiedt.buf
SQL> ed
Wrote file afiedt.buf
1 row created.
SQL>
SQL> ed
Wrote file afiedt.buf
line 1 truncated.
1* insert into student values(1003,'CLARK',null,null,'08-dec-15',null,'M'
SQL>
SQL>
SQL>
SQL> select *from student;
1 row created.
SQL> ed
Wrote file afiedt.buf
line 1 truncated.
1* insert into student values(1004,user,null,null,sysdate,2000,'M'
SQL>
SQL>
SQL> clear screen
SQL> select *from student;
1 row created.
SQL> /
Enter value for sid: 1006
Enter value for fn: JAN
Enter value for ln: user
Enter value for dob: '12-jan-91'
Enter value for doj: sysdate
Enter value for sg: M
old 1: insert into student values(&sid,'&fn',&ln,&dob,&doj,&&sf,'&sg')
new 1: insert into student values(1006,'JAN',user,'12-jan-
91',sysdate,2000,'M')
1 row created.
6 rows selected.
1 row created.
SQL> ed
Wrote file afiedt.buf