BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using TQuery to Access DB2 File with Members?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Shayler Rychlick
Guest





PostPosted: Thu Jun 26, 2003 5:55 pm    Post subject: Using TQuery to Access DB2 File with Members? Reply with quote



I am trying to get data out of a DB2 File (Table) that has different Members
inside the File. Does anyone know how to specify a different member inside
the file?
For examble: " Select * from MyLibrary.MyFile.MyMember where field1 = 1 "
I tried this SQL statement but it does not work.


Back to top
Shayler Rychlick
Guest





PostPosted: Fri Jun 27, 2003 5:55 pm    Post subject: Re: Using TQuery to Access DB2 File with Members? Reply with quote



I Figured it out. I had to create an alias in DB2 (not in ODBC or BDE) that
stays on the DB2 in a library you specify which points at the library, file,
member that you want and you access it the same way you access a DB2 File.
.......Long Live DB2 ;-)

"Shayler Rychlick" <shaylerr (AT) netzero (DOT) com> wrote

Quote:
I am trying to get data out of a DB2 File (Table) that has different
Members
inside the File. Does anyone know how to specify a different member
inside
the file?
For examble: " Select * from MyLibrary.MyFile.MyMember where field1 = 1 "
I tried this SQL statement but it does not work.





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.