"You wouldn't have some code that does something like that"if you are sure that the client application will present the data in UK format then use CONVERT to change it to datetime datatype, or use SET DATEFORMAT DMY as MVJ suggested, for example:DECLARE @MyDate datetime, @MyStringYY varchar(50), @MyStringYYYY varchar(50)SELECT @MyDate = '20030201', @MyStringYY = '01/02/03', @MyStringYYYY = '01/02/2003'SELECT [Native] = @MyDate, [Type 3] = CONVERT(varchar(50), @MyDate, 3), [Type 103] = CONVERT(varchar(50), @MyDate, 103)SELECT [MyString to 3] = CONVERT(datetime, @MyStringYY, 3), [MyString to 103] = CONVERT(datetime, @MyStringYYYY, 103)SET DATEFORMAT dmy -- Indicate that date conversions should assume D...M...Y styleSELECT [DATEFORMAT YY] = CONVERT(datetime, @MyStringYY), [DATEFORMAT YYYY] = CONVERT(datetime, @MyStringYYYY)
Kristen