|
-
Apr 14th, 2010, 10:34 AM
#1
Thread Starter
PowerPoster
Clausole WHERE in select with summ of fileds
How to filter witha where condition is a summ of fileds?
example "select filed1,filed2,filed3, from Table where summ of filed4+filed8+filed10<>0"
Tks.
-
Apr 14th, 2010, 10:41 AM
#2
Re: Clausole WHERE in select with summ of fileds
You have it... just too many words:
select filed1,filed2,filed3, from Table where filed4+filed8+filed10<>0
-tg
-
Apr 14th, 2010, 01:30 PM
#3
Thread Starter
PowerPoster
Re: Clausole WHERE in select with summ of fileds
 Originally Posted by techgnome
You have it... just too many words:
select filed1,filed2,filed3, from Table where filed4+filed8+filed10<>0
-tg
Hi tg all ok!
But i have see the query take a lot of time to extract the result!!!
Wath is the best code to open table and extract the valu of fileds in question...
Suggest me a good cursor a goo data type (KEYSET, DIRECT KEYSET ECC...)...
Note:
- i use acces database
- the number of value in fileds are approx 4.500.000
- i use tipcal ado conn
- the acces database is located on a server dir similar \\myserver\mydir\mydb.mdb
- i need only to read value in fileds
-
Apr 14th, 2010, 04:07 PM
#4
Re: Clausole WHERE in select with summ of fileds
The same as you have been told multiple times before... if you need a reminder, read the FAQ article What do the parameters of the recordset.Open method mean? for some of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|