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

mysql - where clause in inner join query -

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

php - MySQL Query for Advanced Search multiple criteria -