Update tbfacilityreceiptitems set itemID = 9345, Batchno = ' ' , mfgdate = 1/1/2012, expdate = 1/1/2020 , MRP =100.0000, SingleUnitPrice= 80.0000, marginPercentage = 20.00, sellingprice = 80.00, SaletaxID = 30, TaxPercentage = ' ' , TaxPercentage =' ' , SaleTaxPercentage =' ' , SaleTaxType ='' , sellingpricesku ='' where facreceiptitemid = 2291
please help me..
Pankaj Kumar ChoudharyPosted Apr 6, 2015, 11:43 AM
Update tbfacilityreceiptitems set itemID = 9345, Batchno = NULL , mfgdate = 1/1/2012, expdate = 1/1/2020 , MRP =100.0000, SingleUnitPrice= 80.0000, marginPercentage = 20.00, sellingprice = 80.00, SaletaxID = 30, TaxPercentage = NULL , TaxPercentage =NULL , SaleTaxPercentage =NULL , SaleTaxType =NULL , sellingpricesku = NULL where facreceiptitemid = 2291
if you get any type of problem then you can post that
Tom MohanPosted Apr 6, 2015, 8:57 AM
I gave expdate and SingleUnitPrice as null
aravinth kandasamyPosted Apr 6, 2015, 7:29 AM
Tom MohanPosted Apr 6, 2015, 7:24 AM
if you want learn more about null in postgresql refer http://www.tutorialspoint.com/postgresql/postgresql_null_values.htm