Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Data Conversion error in Azure SQL Server 2008 R2

$
0
0

Hi,

I have two Azure envirironment (Staging and Test), both have same configuration as below:

Version: Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)   Apr  2 2010 15:48:46   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

But the below query runs successfully in Test and throws Datetime conversion in Staging. Please provide some help.

DECLARE @StartDate1 DATETIME
SET @StartDate1 = '2013-07-31 19:08:07.000'
SELECT @StartDate1


Viewing all articles
Browse latest Browse all 15889

Trending Articles