Ask a Question related to Coldfusion Database Access, Design and Development.
-
MartinThorpe #1
Two database query
Hello.
I have adopted 2 systems both with their own databases with similar data.? I
have been asked to make a query that requires comparing data from one database
with data from the other. ?I will eventually consolidate the two databases.?
But for now I need to run a Q over the two databases, they both sit under the
same datasource, this is Oracle 9i.?
I have done it like this but can?t help feeling there should be a better way,
any advice?#
Select profile.profileId
From profile, otherDatabase.company
Where
Profile.profileid = otherDatabase.company.profileid
Thanks for reading
Cheers
Martin
MartinThorpe Guest
-
Trouble with database query
Hi, THIS (Below) error keeps coming. I'm just trying to make a normal login page. It LOOKS fine to me, I've groomed it for bad spaces and... -
Need help with database query.
:confused; Hi all, I'm having trouble coming up with the correct MS SQL statement to do the following operation. I have two tables: Participants... -
A true database query
Hello All, I am try to create a dynamic search page where the admin would create the fields or dropdowns for the user to select. For this example,... -
Modifying a Database query
I would like to know if there is a way to track modifications to an invoice. I am using Order entry Database format. At any time, the orders/order... -
How do you link to a database query?
I have a database and would like to somehow link to a query in that database, that would show up in a table on the page. I'm using ASP. How can I... -
MikerRoo #2
Re: Two database query
The current scheme is probably not what you want.
IF the product ID's are somehow coordinated between the databases, then you
could use a full outer join to see entries that were different -- or in one DB
but not the other.
More typically, you would have to do the full outer join on the NATURAL keys
for each table (Company stock symbol or HQ address, maybe) since the same
company might have different profileids in each DB.
The smartest thing to do is to invest in a good comparison tool, like
[url]http://www.toadsoft.com/feats.html[/url], for example.
MikerRoo Guest



Reply With Quote

