DATETIME DATA TYPE

Total Post:16

Points:112
 1672  View(s)
Ratings:
Rate this:
How to insert data into a datetime type column by using sql.................
  1. Post:127

    Points:915
    Re: Datetime data type

    insert into tableName values('" + DateTime.Now.ToString("yyyy-MM-dd") + "');

    You can also use getdate() function.


      Modified On Mar-29-2018 04:16:22 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!