Hi @Anil_G
Thanks :). i can able to insert the data in sql server…
but i have on issue… wrong data inserted to sql server…
Time is missing…
Thanks
Shyam
Hi @Anil_G
Thanks :). i can able to insert the data in sql server…
but i have on issue… wrong data inserted to sql server…
Time is missing…
Thanks
Shyam
Thanks All
Finally we found the soluation to import Null data with specificed variable types in sql server.
If ( String.IsNullOrEmpty(Exl_Created_At), New Nullable(Of Date), System.Convert.ToDateTime(Exl_Created_At))
Variable Type : Nullable.System.Datetime
Thanks
Shyam
The simplest method to insert the current date and time in MySQL is to use the now() function. Once you call the function, it returns the current date and time in the system’s configured time zone as a string. The value returned from the now() function is YYYY-MM-DD for the date and HH-MM-SS-UU for the time record.
Regards,
Will
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.