Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > compare string ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 29832 of 31576
Post > Topic >>

compare string to a number in sql

by "sigava77 via AccessMonster.com" <u11137@[EMAIL PROTECTED] > Apr 3, 2008 at 09:03 AM

Hi,

I have a table with a string field that can store numeric field. How do I
make a query to compare this field with a numeric value.
Example:
Select * from table1 where field1="condition" and field2>1000
Do I have to convert field2 to numeric at sql? If so what function do i
have
to use?

Thanks,

Carla

-- 
Message posted via http://www.accessmonster.com
 




 10 Posts in Topic:
compare string to a number in sql
"sigava77 via Access  2008-04-03 09:03:58 
Re: compare string to a number in sql
"Allen Browne"   2008-04-03 17:35:44 
Re: compare string to a number in sql
"sigava77 via Access  2008-04-03 12:23:53 
Re: compare string to a number in sql
lyle <lyle.fairfield@[  2008-04-03 06:22:57 
Re: compare string to a number in sql
"Larry Linson"   2008-04-03 20:32:24 
Re: compare string to a number in sql
lyle fairfield <lylefa  2008-04-03 21:06:01 
Re: compare string to a number in sql
"Allen Browne"   2008-04-04 10:33:20 
Re: compare string to a number in sql
"Larry Linson"   2008-04-04 03:15:14 
Re: compare string to a number in sql
"Allen Browne"   2008-04-04 12:33:46 
Re: compare string to a number in sql
lyle <lyle.fairfield@[  2008-04-03 06:13:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:41:04 CST 2008.