[XQZone General] Query two databases.
jhunter at marklogic.com
Mon May 30 16:08:27 PDT 2005
As you know, each socket has associated with it a default database.
Within that execution environment, the trick to accessing a different
database is the xdmp:eval-in() function. This function accepts as its
second argument the database in which the eval should happen. Thus you
can from one database execute a query in another, and mix results to
John C. Landers wrote:
> I was wondering if and how one
> would setup MarkLogic to query 2 databases.
> Say one database was order entry data and the other was a
> reporting/archive database. Can one
> query both data sets together.
> Thanks for any feedback, jcl.
> General mailing list
> General at xqzone.marklogic.com
More information about the General