If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SQL Statement Error.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-03-04, 01:01
Maruthi Maruthi is offline
Registered User
 
Join Date: Dec 2003
Posts: 11
SQL Statement Error.

Hi..All,


I have one problem.

Im using informix Dynamic Server v 9.4x on Windows NT System.

I have db_one,db_two databases in My instance ol_instance1

I connected to db_one database using dbaccess

How can i select the table table1 from db_two database where im in @db_one database.

i tried select * from db_two.table1

but getting syntax error.

what is the syntax for this.
Reply With Quote
  #2 (permalink)  
Old 06-03-04, 07:21
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Hi Maruthi,

The syntax is -

select * from db_two:table1
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On