SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Data conversion error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hemghe
Starting Member

1 Posts

Posted - 06/08/2011 :  06:33:04  Show Profile  Reply with Quote
Hi,

I am getting data conversion error while selecting from view in SQL Server 2008. i want to capture these error and need to put those records which are giving data conversion error into a error file. Can anybody help me?

AndrewMurphy
Flowing Fount of Yak Knowledge

Ireland
2916 Posts

Posted - 06/08/2011 :  08:08:01  Show Profile  Reply with Quote
you need to look at the underlying SQL behind the view, break it into simple pieces and look at the data being returned. somewhere you have a data conversion function being invoked which is operting on improper data ....lie a date fucntion on non-date data.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000