How to find all indexes available on table in db2?
db2 "select * from syscat.indexes where tabname = 'your table name here' \ and tabschema = 'your schema name here'"
I'm coming from a MSSQL background, and when I ask people at my company if they've created Indexes on certain columns they'll say yes but point me to these things call Logical Files. In the iSeries Navigator these Logical Files …
Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?
In Python, how do you get the last element of a list?