I'm trying to do an insert query like follow:
Insert Into table1 (column1, column2)
Values (#value1#, #value2#)
But let's say, I want to default column2 to 2/19/2013 when the parameter #value2# is null. How would I achieve that?
I'm using Ibatis framework, and the insert statement is in a XML file, which is used in a db file that is called from the controller.