Skip to main content
Inspiring
May 26, 2006 9:37 AM UTC
Question

Very difficult dtabase query - EXPERTS ONLY!

I have very large database (about 50 records!!) and I must perform query
that I cannot do even though I have lots of experience. Here it is:
I must get all the data from a record where the record ID (ID) is 39. This
must get ALL data attached to this record.
I have been awake all night trying this and it will not work. Would a fellow
expert please help me please. EXPERTS ONLY - NO NOVICE.

Thanks.

My moto - If your best is not good enough then try even better, or go and
drink lots and lots of alcohol. If that does not work then do both together
XX.


This topic is closed to new replies. Start a new post to keep the conversation going.

27 replies

Inspiring
May 26, 2006 3:14 PM UTC
Yes, it's obvious now.

"Murray *ACE*" <forums@HAHAgreat-web-sights.com> wrote in message
news:e573ik$jsp$1@forums.macromedia.com...
> Note - I am deeply suspicious about the OP here. Answer at your own risk.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "THE WEBDEV KING" <DO NOT EMAIL ME@ME.COM> wrote in message


Translate
Inspiring
May 26, 2006 2:43 PM UTC
'Tis indeed possible ;-)

~C


Translate
Inspiring
May 26, 2006 2:43 PM UTC
Fellow expert,

The answer provided was exactly correct for the question you asked. So
perhaps you're not providing enough detail or are not using the proper
terminology. So, I'll ask a few questions in return:

What database system are you using?
How many tables are in that database?
How many rows/records are in each table that you're trying to recover?
Does your database support views?
If you're trying to get data from multiple tables, have you tried using
INNER JOIN?

A few more details would be helpful.

Best regards,
Chris


Translate
Inspiring
May 26, 2006 2:32 PM UTC
Note - I am deeply suspicious about the OP here. Answer at your own risk.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"THE WEBDEV KING" <DO NOT EMAIL ME@ME.COM> wrote in message
news:e573f0$jl1$1@forums.macromedia.com...
> Hello Mr DownWithBugs. Thank you for your kindest reply but this does not
> work. This is the reason I ask for Expert and not novice. Only expert such
> as myself can help me with this question. Your experiences in web dev are
> obviously limited and your knowledge is not enough to help me here. I ask
> again - EXPERTS ONLY PLEASE. NO NOVICES SUCH AS MR DOWNWITHBUGS. Thankyou
> for your attention.
>
> My moto - If your best is not good enough then try even better, or go and
> drink lots and lots of alcohol. If that does not work then do both
> together XX.
>
> "DownWithBugs" <Bugs@TMM.com> wrote in message
> news:e570ct$fmc$1@forums.macromedia.com...
>> SELECT *
>> FROM theTable
>> WHERE theID=39
>>
>>
>> "THE WEBDEV KING" <DO NOT EMAIL ME@ME.COM> wrote in message
>> news:e56i9c$rpg$1@forums.macromedia.com...
>>>I have very large database (about 50 records!!) and I must perform query
>>>that I cannot do even though I have lots of experience. Here it is:
>>> I must get all the data from a record where the record ID (ID) is 39.
>>> This must get ALL data attached to this record.
>>> I have been awake all night trying this and it will not work. Would a
>>> fellow expert please help me please. EXPERTS ONLY - NO NOVICE.
>>>
>>> Thanks.
>>>
>>> My moto - If your best is not good enough then try even better, or go
>>> and drink lots and lots of alcohol. If that does not work then do both
>>> together XX.
>>>
>>
>>
>
>


Translate
Inspiring
May 26, 2006 2:30 PM UTC
Hello Mr DownWithBugs. Thank you for your kindest reply but this does not
work. This is the reason I ask for Expert and not novice. Only expert such
as myself can help me with this question. Your experiences in web dev are
obviously limited and your knowledge is not enough to help me here. I ask
again - EXPERTS ONLY PLEASE. NO NOVICES SUCH AS MR DOWNWITHBUGS. Thankyou
for your attention.

My moto - If your best is not good enough then try even better, or go and
drink lots and lots of alcohol. If that does not work then do both together
XX.

"DownWithBugs" <Bugs@TMM.com> wrote in message
news:e570ct$fmc$1@forums.macromedia.com...
> SELECT *
> FROM theTable
> WHERE theID=39
>
>
> "THE WEBDEV KING" <DO NOT EMAIL ME@ME.COM> wrote in message
> news:e56i9c$rpg$1@forums.macromedia.com...
>>I have very large database (about 50 records!!) and I must perform query
>>that I cannot do even though I have lots of experience. Here it is:
>> I must get all the data from a record where the record ID (ID) is 39.
>> This must get ALL data attached to this record.
>> I have been awake all night trying this and it will not work. Would a
>> fellow expert please help me please. EXPERTS ONLY - NO NOVICE.
>>
>> Thanks.
>>
>> My moto - If your best is not good enough then try even better, or go and
>> drink lots and lots of alcohol. If that does not work then do both
>> together XX.
>>
>
>


Translate
Inspiring
May 26, 2006 1:38 PM UTC
SELECT *
FROM theTable
WHERE theID=39


"THE WEBDEV KING" <DO NOT EMAIL ME@ME.COM> wrote in message
news:e56i9c$rpg$1@forums.macromedia.com...
>I have very large database (about 50 records!!) and I must perform query
>that I cannot do even though I have lots of experience. Here it is:
> I must get all the data from a record where the record ID (ID) is 39. This
> must get ALL data attached to this record.
> I have been awake all night trying this and it will not work. Would a
> fellow expert please help me please. EXPERTS ONLY - NO NOVICE.
>
> Thanks.
>
> My moto - If your best is not good enough then try even better, or go and
> drink lots and lots of alcohol. If that does not work then do both
> together XX.
>


Translate
May 26, 2006 11:29 AM UTC
You can't possibly have a database with that many records. Of course it won't work. And 39 is a reserved word so fogedaboutit
Translate