Database structure for Adaptive Sybase.

Structrure is actually taken from MS SQL and
slightly changed.

