|
-
Sep 20th, 2002, 11:13 AM
#1
Thread Starter
Hyperactive Member
Database Question (Access SQL)
Sorry for the cross posting but I'm getting desperate!!!!
Can anybody help with these two database posts. One's nested select statements and the other is an error undefined function for a VB function I am trying to use in SQL.
http://www.vbforums.com/showthread.p...hreadid=200094
http://www.vbforums.com/showthread.p...hreadid=200078
See ya later,
-=XQ=-
"Reality is merely an illusion, albeit a very persistent one. "
- Albert Einstein (1879-1955)
This is the coolest site ever!!!
-
Sep 20th, 2002, 11:32 AM
#2
Member
On your first Question:
You can set aliases to tables in subqueries and perfix the alias to refer to nested table.
SELECT SomeFields
FROM FirstTable tA
WHERE tA.SomeFieldPrimaryKey = (SELECT tB.OtherFieldForeignKey
FROM OtherTable tB
WHERE ....)
The above works on an Oracle Db, not sure about Access.
-
Sep 20th, 2002, 11:42 AM
#3
Fanatic Member
-
Sep 20th, 2002, 01:11 PM
#4
Thread Starter
Hyperactive Member
Thankyou you've probably made me very happy I'll give it a go and post back if there is a problem.
Thanks
See ya later,
-=XQ=-
"Reality is merely an illusion, albeit a very persistent one. "
- Albert Einstein (1879-1955)
This is the coolest site ever!!!
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
|