Advance thanks .......
My table is TimeSheet:
-----------------------------------
CREATE TABLE [dbo].[TimeSheet](
[autoid] [int] IDENTITY(1,1) NOT NULL,
[UserId] [int] NOT NULL,
[starttime] [datetime] NOT NULL,
[endtime] [datetime] NOT NULL,
[summary] [nvarchar](50) NOT NULL,
[description] [nvarchar](50) NULL,
[dtOfEntry] [datetime] NOT NULL,
[Cancelled] [bit] NULL
) ON [PRIMARY]
My Query is
------------------
insert into timesheet
(UserId, StartTime,EndTime, Summary, Description,DtOfEntry)
values (2, '19/04/2008 2:05:06 PM', '19/04/2008 2:05:06 PM', '66', '6666','19/04/2008 2:05:06 PM')
i m not able to insert value
Error Message is
-------------------------
Msg 242, Level 16, State 3, Line 1
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
The statement has been terminated.
can any body give any solution