SELECT NAME FROM db2.EMP;
am trying something like this . in sql base
eagerly waiting for someones help
Select * from db2.table (sql base) how to do
Select * from db2.table (sql base) how to do
Last edited by JOHN on 01 Sep 2021, 07:57, edited 2 times in total.
Re: Select * from db2.table (sql base) how to do
Set SqlDatabase = Database1
SqlConnect( hSqlDB1 )
Set SqlDatabase = Database2
SqlConnect( hSqlDB2 )
hSqlDB1 will always access DB1 and hSqlDB2 will always access DB2.
SqlConnect( hSqlDB1 )
Set SqlDatabase = Database2
SqlConnect( hSqlDB2 )
hSqlDB1 will always access DB1 and hSqlDB2 will always access DB2.
Re: Select * from db2.table (sql base) how to do
so we cannot access data with single statement or there is no way to acces other database tables
Re: Select * from db2.table (sql base) how to do
No.
You already got the answer how to do it from FRBhote
And you can also use
Code: Select all
SqlConnectEx( hSql1, sDatabase1, sUser, sPassword)
SqlConnectEx( hSql2, sDatabase2, sUser, sPassword)
Igor Ivanovic
Re: Select * from db2.table (sql base) how to do
Igor Ivanovic wrote: ↑02 Sep 2021, 05:41No.You already got the answer how to do it from FRBhote
And you can also useCode: Select all
SqlConnectEx( hSql1, sDatabase1, sUser, sPassword) SqlConnectEx( hSql2, sDatabase2, sUser, sPassword)
many thanks.. but i am concerned about sqlbase only not from TD app. it is working with TD app. just need in sqlbase as a statement
Who is online
Users browsing this forum: [Ccbot] and 0 guests