Datetime data type

Total Post:16

Points:112

 1864  View(s)
Ratings:
Rate this:
How to insert data into a datetime type column by using sql.................
  1. 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

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.