如何使用sql从不同的数据库中查询 [英] how to use sql to query from different database

查看:219
本文介绍了如何使用sql从不同的数据库中查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在windows上使用db2 udb v8.1,我正在尝试使用联合

数据库对象来创建包装器,即使我有更新dbm cfg

使用联合yes,我仍然得到错误db的实例不是

启用指定的操作,我是否想念别的?

we use db2 udb v8.1 on windows, i am trying to use federated
database objects to create wrapper, even though i have update dbm cfg
using federated yes, i still get error "the instance for the db is not
enable for the specified action", do i miss sth else?

推荐答案

您是否停止并重新启动数据库管理器?联合参数

不能在线配置(也就是说,它不是动态的)。


xixi写道:
Did you stop and restart the database manager? The federated parameter
is not configurable online (that is, it is not dynamic).

xixi wrote:
我们在windows上使用db2 udb v8.1,我正在尝试使用联合数据库对象来创建包装器,即使我有更新dbm cfg
使用联合yes,我仍然会收到错误 ; db的实例不能为指定的操作启用,我是否会错过其他?
we use db2 udb v8.1 on windows, i am trying to use federated
database objects to create wrapper, even though i have update dbm cfg
using federated yes, i still get error "the instance for the db is not
enable for the specified action", do i miss sth else?






也许你还需要为多站点更新启用数据库。

(不确定)

检查cc / gui,你应该很快找到它。


PM


" xixi" <哒**** @ yahoo.com> écritdansle message de

news:c0 ************************** @ posting.google.c om ...
Maybe you also need do enable the db for multi-site-update.
(not sure though)
Check the cc/gui, you should find it pretty quickly.

PM

"xixi" <da****@yahoo.com> a écrit dans le message de
news:c0**************************@posting.google.c om...
我们在windows上使用db2 udb v8.1,我正在尝试使用联合数据库对象来创建包装器,即使我有更新dbm cfg
使用联合yes,我仍然得到错误db的实例不是
启用指定的操作,我是否想念别的?
we use db2 udb v8.1 on windows, i am trying to use federated
database objects to create wrapper, even though i have update dbm cfg
using federated yes, i still get error "the instance for the db is not
enable for the specified action", do i miss sth else?



我需要从同一台服务器上的不同数据库查询,所以在我创建db2包装器(我在其中一个数据库下创建)后,我应该这样做

其他数据库同样的事情?按照你的指示,我需要

创建服务器,所以当我这样做时,它会问我远程服务器

信息,我应该填写什么?谢谢
i need to query from different database on the same server, so after i
create db2 wrapper ( i created under one of the database), should i do
the same thing to the other database? as you instructed , i need to
create the server, so when i do that, it asks me the remote server
info, what should i fill out? thanks


这篇关于如何使用sql从不同的数据库中查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆