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 > views vows....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-07-04, 23:55
aditya aditya is offline
Registered User
 
Join Date: Dec 2003
Posts: 5
views vows....

i was just wondering is it possible to have views on tables in another database? i tried this query on database A when i was in database B:

select * from databaseA.table_name

both databases are on same database server. but the error that i get is that unable to locate table : databaseA.table_name

am i making some mistake while entering this query. cuz if i cant run this query i guess i wont even be able 2 have a view on a table in different database.
Reply With Quote
  #2 (permalink)  
Old 01-08-04, 01:55
vpshriyan vpshriyan is offline
Registered User
 
Join Date: Nov 2003
Location: Mumbai, India
Posts: 92
Hi,

There is a typo!

Query would look like:
select * from databaseA:table_name ;

Regards,
Shriyan
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