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 > Query needs dynamic database:table code

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-04-09, 13:18
al91206 al91206 is offline
Registered User
 
Join Date: Mar 2009
Posts: 6
Question Query needs dynamic database:table code

Hi,

We have an informix environment where we have several customer databases:

Customer001
Customer002
Customer003

Obviously this is not a great way to do things, and we have a long-term project to combine them into 1 database, but for the meantime I need to come up w/ sql to get information out of each one for a report.

select item
from customer001:item <-- this is where I need the dynamic "db selector"

Any help is appreciated.

Thanks,

Al in SoCal
Reply With Quote
Reply

Thread Tools
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