Raju writes "I have a table called emp,dept. The structure of the table is Emp table-----------Empno varchar Not NULLEmpname varchar Not NullDateofbirth date/time Null Age numberic NullSalary numberic NullDeptno int Null -- foriegn key to Dept(allow to NULL)
My query is while inserting into Emp table , how to pass the NULL value for deptno.(int value)insert into emp(empno,empname,dateofbirth,age,salary,deptno)values('10','Raju','10/03/2001',27,6000,????)Dept Table----------Deptno int Not NullDeptname varchar Not NullLocation varchar Null
Expecting your answer ASAPThanks and RegardsRaju"