Hi Guys,
Im writing a stored procedure with a couple of date inputs. It returns rows with dates that are equal to those inputs. My problem is that if I put a date such as:
15/12/2005
it overflows as it interprets it in US format (eg month 15...). If I add:
12/15/2005
everything works fine and it returns all records with a date of 15/12/2005.
I have looked into change my SQL Server login languages to English British to no avail. Does anyone have any solution to this problem?
Thanks in advance.
Phil
Im writing a stored procedure with a couple of date inputs. It returns rows with dates that are equal to those inputs. My problem is that if I put a date such as:
15/12/2005
it overflows as it interprets it in US format (eg month 15...). If I add:
12/15/2005
everything works fine and it returns all records with a date of 15/12/2005.
I have looked into change my SQL Server login languages to English British to no avail. Does anyone have any solution to this problem?
Thanks in advance.
Phil