Select Query on 2 tables, on different database servers

前端 未结 3 2050
一个人的身影
一个人的身影 2021-01-06 05:34

I am trying to generate a report by querying 2 databases (Sybase) in classic ASP.

I have created 2 connection strings:

connA for databaseA

3条回答
  •  一向
    一向 (楼主)
    2021-01-06 06:04

    your temp table is out of scope, it is only 'alive' during the first connection and will not be available in the 2nd connection Just move all of it in one block of code and execute it inside one conection

提交回复
热议问题