Hey guys,I am trying to run the following from ASP.Net...INSERT INTO Metafile VALUES ('f002d4df-cf0e-4ea2-a2ab-b456a98875f9', 99999, 'iouhoiu', 'efgrergr', CONVERT(nvarchar(50),'01/01/2002 00:00:00',103), CONVERT(nvarchar(50),'01/01/2003 00:00:00',103), '', '',CONVERT(nvarchar(50),'01/03/2004',103), '', '999999', '999999', '999999', '999999', '001', 0.222, '007', '', CONVERT(nvarchar(50),'23/01/2008 00:00:00',103), 'UK GEMINI Standard', 'version 1')
... and get the following error...Server: Msg 8115, Level 16, State 2, Line 1Arithmetic overflow error converting expression to data type smalldatetime.The statement has been terminated.
Not sure what I am doing wrong with the date convert. FYI I am in the UK so using UK date format.Thanks for any help