:: waves to the tech'fistas ::
hillarious Linux movie [loud audio warning].
'Lineage'
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
My webhost is driving me batty. After migrating my control panel unexpectedly to Plesk, they are now incapable of giving me more than one ftp user with access to my web controls. I need to have the control panel login for myself with full control and a web developer login with limited control. Surely this is not that unusual a situation? And anyway, it used to work just fine.
Someone help me see what's right in front of my face. I'm running this query:
SELECT colA, colB, * FROM TableA WHERE colAcolB;
and it returns me nothing. However, the following queries do not return the same number of results:
SELECT colA, colB, * FROM TableA;
and
SELECT colA, colB, * FROM TableA WHERE colA=colB;
I'm running Access 2003 on an Access 2000 database. All columns are text.
The first one of the two returns 4K+ more records than the second.
What am I missing? The underlying table is a linked table I can't play with structurally.
I don't understand the question.
Why wouldn't SELECT colA, colB, * FROM TableA return more rows than SELECT colA, colB, * FROM TableA WHERE colA=colB? What is the issue?
Just guessing/hoping that Access query structure isn't totally kinked - wouldn't:
SELECT colA, colB, * FROM TableA;
Return everything from each column
and
SELECT colA, colB, * FROM TableA WHERE colA=colB;
Return matches?
What are you trying to query?
Why wouldn't SELECT colA, colB, * FROM TableA return more rows than SELECT colA, colB, * FROM TableA WHERE colA=colB?
If there are no rows where colAcolB (as implied by the first query returning nothing), then those two queries should return the same results, yes?
My big problem is that I know records satisfy the very first query. I can see them. I just can't work out how to return only those.
Oh! Right! The board ate my <> in the first query. It should read
SELECT colA, colB, * FROM TableA WHERE colA<>colB;
That makes sense now.
How about SELECT colA, colB, * FROM TableA WHERE NOT(colA=colB)?
How about SELECT colA, colB, * FROM TableA WHERE NOT(colA=colB)?
Empty set, I'm afraid.
Am I making an error in translation or syntax? I do hate Access, but this is extra frustrating.
Are there null values involved frelling things up somehow?
Null values would screw up
SELECT colA, colB, * FROM TableA WHERE colA=colB
too though, no?
eta: Apparently not...