My website working perfect on local, but not in host.
I wrote my queries with MSSQL 2008 on local , but our hosting company using 2005
Any solutions?
EDIT : Using DateTime instead of Date looking like solution thanks.
If anyone meets a problem like this i solved my problem with using this query instead of DATE type.
CONVERT(VARCHAR, GETDATE(),104) Output -> 15.03.2011
As Date columns aren’t available in Sql Server 2005 so you have two choices:
1) Ask your hosting company to use Sql Server 2008 (or choose another host which does)
2) Use DateTime columns instead of Date