sql server - Compare varchar to int in ASP.NET -


I am trying to find all the entries that have SALARIO more than 10,000 The SQL Server table has SALARIO column varchar and the query I am trying to write is like this

  E DB In SALRIDODS, where InPeter (E. Salyio) & gt; Select 10000;   

But I do not get a supported exception. How should I manage this situation?

  to DB Where in SASLRIADOS convert: OINT 32 (E. cellario) & gt; Select 10000;    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -