cannot insert NULL into PRICE_DATE
Posted: Mon Sep 18, 2006 1:06 am
Hi Folks,
Actually from source i am getting price_date as varchar.First i need to ftp'ed the file and then should load into database.But while loading database i need to convert the price_date of string format to date.
i had defined price_date as
If IsNull(Lnk_Sp_ims_investec.PRICE_DATE) Then '' Else (Oconv(Iconv(Lnk_Sp_ims_investec.PRICE_DATE,"D/ MDY"),"DMDY"))
But i am getting a warning like cannot insert null into Price_date.
Could any body suggest me to solve this.
Thnaks i advance.
Sateesh.M
Actually from source i am getting price_date as varchar.First i need to ftp'ed the file and then should load into database.But while loading database i need to convert the price_date of string format to date.
i had defined price_date as
If IsNull(Lnk_Sp_ims_investec.PRICE_DATE) Then '' Else (Oconv(Iconv(Lnk_Sp_ims_investec.PRICE_DATE,"D/ MDY"),"DMDY"))
But i am getting a warning like cannot insert null into Price_date.
Could any body suggest me to solve this.
Thnaks i advance.
Sateesh.M