Multi Sybase-Database Connection

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
User avatar
kaiserilich
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 19.03.2014, 11:02

Multi Sybase-Database Connection

Post by kaiserilich »

HI,

I need to execute a query using two or more different database on the same saver or not.

when execute the query this error message appear:

"Table qualifier must be name of current database"

this it's the query:

Code: Select all

SELECT 
    t1.fld1,
	t1.fld2,
	t1.fld3,
	t2.fld6,
    t2.fld7
FROM  DB1.dbo.table1 t1,
    DB2.dbo.table2 t2
WHERE t2.fld1 *= t1.fld1
please, how can fix this


stay working with:
Delphi 6 up 2
ASE 12.5.4
Zeos 6.6.0



thanks :up:

:sorry: for my bad english
:sorry: for my bad English
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Multi Sybase-Database Connection

Post by marsupilami »

Hello kaiserilich,

I looked for that error message in the code of Zeos 6.6 and cannot find it. So maybe this is an error message raised by the sybase client library? Did you try that statement in SQL Advantage and does it work as expected there?
Best regards,

Jan
Post Reply