Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Conversion failed when converting date and/or time from character string.

$
0
0

I am having this error when I try to add data on this query.

Is there anything wrong, and which should be correct solution?

Create Table TB_ENTUserAccount
(ENTUserAccountID Int Primary Key,
WindowsAccountName Varchar(50) Not Null,
FirstName Varchar(50) Not Null,
LastName Varchar(50) Not Null,
Email Varchar(100) Not Null,
IsActive Bit,
InsertDate Datetime DEFAULT GETDATE(),
InsertENTUserAccountID Int,
UpdateDate Datetime DEFAULT GETDATE(),
UpdateENTUserAccountID Int

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>