# spxref2.sql was originally generated by the autoSql program, which also 
# generated spxref2.c and spxref2.h.  This creates the database representation of
# an object which can be loaded and saved from RAM in a fairly 
# automatic way.

#A xref table between SWISS-PROT ids and other databases.
CREATE TABLE spXref2 (
    accession varchar(40) not null,	# SWISS-PROT accession number
    displayID varchar(40) not null,	# SWISS-PROT display ID
    division varchar(40) not null,	# SWISS-PROT division
    extDB varchar(40) not null,	# external database
    extAC varchar(40) not null,	# externa Accession number
    bioentryID int not null,	# biosql bioentry ID
    biodatabaseID int not null	# biosql biodatabase ID
);
