Sql server like for Integer

Posted by Prashant on Stack Overflow See other posts from Stack Overflow or by Prashant
Published on 2010-05-27T21:02:17Z Indexed on 2010/05/27 21:21 UTC
Read the original article Hit count: 189

Filed under:
|

I have a column which is integer and I want to search all numbers starting with 1500. I know I could use something like left(accountid,4)= 1500. But is that an optimum solution or is there a better approach? I am using Sql Server 2005.

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2005