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

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 03/13/2013 :  03:51:12  Show Profile  Reply with Quote
Hi team
I have been facing an issue of MSG 257

"Msg 257, Level 16, State 3, Line 1
Implicit conversion from data type varchar to timestamp is not allowed. Use the CONVERT function to run this query."

I have to fetch certain data by executing this query
Select * from <tablenamexyz> where columnnameabc = '0000000%XYZ110.2'

kindly sugest me which convert function should I use to resolve this issue.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 03/13/2013 :  04:26:23  Show Profile  Reply with Quote
where convert(varchar(32),columnnameabc) like '0000000%XYZ110.2'

SQL Server MVP

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.09 seconds. Powered By: Snitz Forums 2000