Unix Technical Forum

Use ODBC API to retrieve indexes and keys on AS/400

This is a discussion on Use ODBC API to retrieve indexes and keys on AS/400 within the DB2 forums, part of the Database Server Software category; --> hi, i need to retrieve all indexes and keys from tables and files. right now i'm using SQLStatistics, but ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:36 AM
D.R.
 
Posts: n/a
Default Use ODBC API to retrieve indexes and keys on AS/400

hi,
i need to retrieve all indexes and keys from tables and files.
right now i'm using SQLStatistics, but it retrieve only the indexes on
tables (indexes that appear on the catalog sysindexes).
i need to retrieve also the key fields in physical file.

1. how can i retrieve the key field in physical file through ODBC?
2. Is there another AUTOMATIC way retrieving the key field? for example
a way to AUTOMATICLY transofrm the key field into index (so that
SQLStatistics will retrieve it)?


Thanks,
Dror

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:25 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com