Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!216.196.98.146.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: Problem with casting value under 64-bit sql server 2005 vs under 32-bit sql server 2005 Date: Sat, 13 Aug 2011 12:59:37 +0200 Organization: Erland Sommarskog Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="DD6dU+BfJNjsjSP4/K/V7w"; logging-data="9435"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cMmciNoUbmRCfB/2wTVuz" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:q2g677F3KvD1jEpCTsYuyv2phwo= Xref: x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:598 xo (xo5555ox@gmail.com) writes: > I am bound by the decision maker not to change the structure of the > view but to find out why it is working on the old 32-bit SQL server > 2005 but not working the new 64-bit SQL server. Thanks And you have gotten the answer: by chance. It could start failing on the old server tomorrow. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx