Skip to content

IBX Tip: Use the Schema Cache

I needed to know the primary key of a table for some code I was writing. Simple enough to get the information from the system tables, but this code would be called quite frequently, so I thought I would need to cache the information. Then I realized that IBX already does this. Look at TIBDatabase.In_Key. Saved me from reinventing the wheel.

{ 1 } Comments

  1. Carlos Alberto Solla | February 28, 2008 at 9:21 am | Permalink

    Craig, Tanks for the tip!

    One Question:

    Is there any way of knowing, at Delphi with IBX, if the database is shutdown?

    Using:
    Delphi 2007
    Interbase 2007

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 713 access attempts in the last 7 days.

Close