I am trying to insert value into a table by selecting from another table.
say into table1 from table2
table1-field1,field2,field3(nullable and type date),field4
table2-fld1,fld2
If I give
Insert into table1
select fld1,'abc',NULL,fld2
from table2
I get an error NULL is not a field in the inserted or selected table.
If I give
Insert into table1
select fld1,'abc','',fld2
from table2
It gives invalid date format error message.
Could someone please tell me how I can insert Null value to date field by using select statement??????????