Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: How to join tables in different database on the same Sybase server

$
0
0

Just discovered something. There are a few tables with DatabaseB that i can access from DatabaseA, but not all tables.

 

 

 

For example, there is TableA, TableB, TableC, and TableD in DatabaseB. Out of which TableB and TableD can be queried from DatabaseA using

 

 

 

    USE DatabaseA

    GO

    SELECT * from DatabaseB.User.TableB

    GO

    SELECT * from DatabaseB.User.TableD

    GO

 

 

 

which is sucessful. And

 

 

 

    USE DatabaseA

    GO

    SELECT * from DatabaseB.User.TableA

    GO

    SELECT * from DatabaseB.User.TableC

    GO

 

 

 

fails.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>