Uhum.... I just start using Delphi7 and i want to make some program that have a database relationship, and this is where the problem is coming up ..... i can create a simple database but how can i RELATIONSHIP THEM ? I hope the Professional programmer here can help me with this simple things , thank you :) and i really appreciate it
Hello ! this is my first problem on delphi !
Started by KuonThe_Newbie_Programmer, May 26 2011 10:39 PM
5 replies to this topic
#1
Posted 26 May 2011 - 10:39 PM
|
|
|
#2
Posted 27 May 2011 - 05:11 PM
Can you clarify what you're trying to do?
#3
Posted 28 May 2011 - 07:49 AM
i want to making relationship to other database so it can connect with each other like relationship on microsoft access
#4
Posted 28 May 2011 - 08:33 AM
Again, this is not clear.
If you are using SQL Server, you can do cross-database queries by doing things like:
Oracle has a similar concept, but you would specify the schema instead of the database/owner pair.
For file-based databases, such as sybase, it's just a matter of having the proper ODBC connections defined in a meaningful way.
For some databases, like Firebird, it really may depend on how you're connecting to the database as to whether this is even possible.
More importantly, however, is whether you want to establish relationships between multiple databases, or just between tables within a database. Again the details will depend on the database type.
With all that in mind, what, exactly, are you trying to do? What databases are involved? What tables are involved? What RDMS systems are you using? How are you connecting to them? etc, etc, etc.
If you are using SQL Server, you can do cross-database queries by doing things like:
select * from db1.owner1.table1 join db2.owner2.table2 on (whatever fields)
Oracle has a similar concept, but you would specify the schema instead of the database/owner pair.
For file-based databases, such as sybase, it's just a matter of having the proper ODBC connections defined in a meaningful way.
For some databases, like Firebird, it really may depend on how you're connecting to the database as to whether this is even possible.
More importantly, however, is whether you want to establish relationships between multiple databases, or just between tables within a database. Again the details will depend on the database type.
With all that in mind, what, exactly, are you trying to do? What databases are involved? What tables are involved? What RDMS systems are you using? How are you connecting to them? etc, etc, etc.
#5
Posted 28 May 2011 - 09:17 PM
Quote
connecting to the database as to whether this is even possible.
#6
Posted 29 May 2011 - 05:54 AM
I would strongly suggest you use something other than Paradox. It is not an RDBMS, and is quite limited.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









