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 

Index information from SQLQuery

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
praveen jalem
Guest





PostPosted: Thu Feb 02, 2006 12:04 pm    Post subject: Index information from SQLQuery Reply with quote



Hi,

Is there any property in TSQLQuery, through which I can access the
index information of the table that I am querying?

thanx
Praveen.
Back to top
Martijn Tonies
Guest





PostPosted: Thu Feb 02, 2006 3:17 pm    Post subject: Re: Index information from SQLQuery Reply with quote



Quote:
Is there any property in TSQLQuery, through which I can access the
index information of the table that I am querying?

Why?


--
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Back to top
praveen jalem
Guest





PostPosted: Thu Feb 02, 2006 5:24 pm    Post subject: Re: Index information from SQLQuery Reply with quote



I need to use upWhereKey as the UpdateMode, for which I am required to
specify the key fields in the SQLQuery. Since I need to do this at
run-time, I was planning to use the index information to identify
the keyfields.

FYI: We use Unique Indexes instead of Primary Keys in all our tables.

thanx,
Praveen.

Martijn Tonies wrote:
Quote:
Is there any property in TSQLQuery, through which I can access the
index information of the table that I am querying?


Why?

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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.