Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
required_key_def Structure
C++
typedef struct required_key_def DB_KEY_DEF;
typedef struct required_key_def * PDB_KEY_DEF;
struct required_key_def {
  struct {
    BIT_FIELD bPrimary : 1;
    BIT_FIELD bUnique : 1;
  } flags;
  CTEXTSTR name;
  CTEXTSTR colnames[MAX_KEY_COLUMNS];
  CTEXTSTR null;
};
required_key_def(int bPrimary, int bUnique, CTEXTSTR _name, CTEXTSTR colname1);
required_key_def(int bPrimary, int bUnique, CTEXTSTR _name, CTEXTSTR colname1, CTEXTSTR colname2);

Describes a key column of a table.

      
DB_KEY_DEF keys[] = { { "lockey", KEY_COLUMNS("hall_id","charity_id") } };
      
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!