可能是建立数据库之间数据的连接关系吧!!!也就是A库的数据是B库里已有的数据!从数学上说是A从属于B!

解决方案 »

  1.   

    多数据库是不是就是要很多种的数据库?比如Access,Paradox,MySQL等等?
    说错的话别怪我啊。
      

  2.   

    to lnxydl(网络呆呆虫)
    你说的是表的同步吗?
      

  3.   

    大概是说把异种数据库的表放在一个select语句中。
    bde有这个功能,查查help吧
      

  4.   

    找到了,如下:TQuery supports heterogeneous queries against more than one server or table type (for example, data from an Oracle table and a Paradox table). When you execute a heterogeneous query, the BDE parses and processes the query using Local SQL. Because BDE uses Local SQL, extended, server-specific SQL syntax is not supported.
    To perform a heterogeneous query, follow these steps:1 Define separate BDE aliases for each database accessed in the query using the BDE BDE Administration tool or the SQL explorer.
    2 Leave the DatabaseName property of the TQuery blank; the names of the databases used will be specified in the SQL statement.
    3 In the SQL property, specify the SQL statement to execute. Precede each table name in the statement with the BDE alias for the table抯 database, enclosed in colons. This whole reference is then enclosed in quotation s.4 Set any parameters for the query in the Params property.
    5 Call Prepare to prepare the query for execution prior to executing it for the first time.
    6 Call Open or ExecSQL depending on the type of query you are executing.For example, suppose you define an alias called Oracle1 for an Oracle database that has a CUSTOMER table, and Sybase1 for a Sybase database that has an ORDERS table. A simple query against these two tables would be:SELECT Customer.CustNo, Orders.OrderNo FROM ":Oracle1:CUSTOMER"
      JOIN ":Sybase1:ORDERS"
        ON (Customer.CustNo = Orders.CustNo)
    WHERE (Customer.CustNo = 1503)As an alternative to using a BDE alias to specify the database in a heterogeneous query, you can use a TDatabase component. Configure the TDatabase as normal to point to the database, set the TDatabase.DatabaseName to an arbitrary but unique value, and then use that value in the SQL statement instead of a BDE alias name.
      

  5.   

    这些话另人很迷惑,因为:
    “多数据库”如果单一字面上理解,应该同时有Foxpro、Paradox、SQL Server、Access、Oracle……等其中两种以上的数据库混合在一起。
    但如果说到在数据库管理系统中的应用,一般都只用一种数据库。就算现在市场上很多大的应用软件都是用只用一种的数据库(如用友软件等,而不同的数据库都会用版本来分开,卖给客户的通常只是其中一种版本的)。而用多种数据库的情况多数是对一些旧的软件系统进行升级,是为了减免麻烦及过渡需要所致。
    所以这里的多数据库是否指同一种数据库的多表操作?但如果是这样,作为考试题目不会如此缺乏严谨性吧(除非是一些非正规考试)?而数据库之间的链接操作,那可大可小了,必先搞清楚这里所说的多数据是指哪一意思了?如果确是同时使用不同的数据库的话,那应该是对这些数据的数据交换及联接,如果只是指数据表,那就是数据表之间的关联了!
    (个人意见紧供参考,顺便问一下这是什么自考的考试)
      

  6.   

    to DD88(咖啡杯里的毛巾) :
    1:类似SqlBuilder.可由控件实现。(Inforpower,sqlbuilder都行但你得把它翻译成中文的)
    2:就是多个表例如雇员,订单,客户,产品等。每个表与表之间通过foreign key可以关连。
      

  7.   

    To Jiao_he(◆〓◆) 
    这是国防科技大学的自考本科毕业设计题目:
    要求是他们在《关于自考毕业设计的有关规定》(只有一页)中提到的:毕业设计难度及工作量:
    1。毕业设计的工作量与难度要和普通高校本科毕业设计相当,即相当于一个学期的工作量
    和相应难度。
    2。对数据库管理系统,要求有多条件查询,多数据库及数据库之间的连接操作。
    3。对毕业设计选用的工具,语言没有限制,鼓励学员采用先进的工具。
      

  8.   

    to wangzh(独孤求问)
    第一点我已经实现了,就是第二点还不太清楚。
      

  9.   

    to wangzh(独孤求问)
    如果是表的话,通过foreign key可以关连是什么意思?
      

  10.   

    foreign key 是指外部关键字,可能通过表与表之间的关键字进行关连,很简单!
    我建议你还是去找一下有参加辅导的同学问一问或叫他们帮忙问一问多数据库的意思吧!