|
Name |
abasysobjects |
|
Code |
ap_sob |
|
Creation Date |
13 december 2000 13:53:05 |
|
Modification Date |
23 november 2011 13:56:51 |
|
Comment |
All existing objects in the database according to AbaPerls |
|
This table supplements sysobjects with information about how the object was loaded and by whom. The purpose of the table is to serve as an audit table so that a DBA can see what AbaPerls thinks should be in the database. He can use the stored procedure ap_sob_report_suspects_sp to find deviations, for instance cases where someone has changed a stored procedure without using the AbaPerls tools. The table is also use when the environment is set to TEST or PROD to check version numbers. |
|
|
|
Data |
NOT |
F |
|
|
|
sysname |
X |
|
Name of the object. |
|
|
|
datetime |
X |
|
When object was loaded. |
|
|
char(3) |
X |
X |
Object type. |
||
|
varchar(30) |
|
X |
Subsystem object belongs to. |
||
|
|
int |
|
|
Version number in source control. |
|
|
varchar(15) |
|
|
Version-control label. |
||
|
nvarchar(250) |
|
X |
Path to VC repository |
||
|
nvarchar(250) |
X |
|
Path on disk of VC. |
||
|
varchar(64) |
X |
|
Load script/tool that loaded object. |
||
|
username |
nvarchar(40) |
X |
|
Name of NT user that loaded the object. |
|
|
hostname |
nvarchar(40) |
X |
|
Name of host from which the object was loaded. |
|
|
domain |
nvarchar(40) |
X |
|
On which domain the user was logged into. |
|
|
nvarchar(180) |
X |
|
Filename in AbaPerls directory structure. |
||
|
varchar(10) |
X |
|
File extension. |
||
|
|
datetime |
|
|
When object was altered in SQL Server. |
|
|
|
int |
|
|
sysobjects.schema_ver |
|
|
|
sysname |
|
X |
Parent object. |
|
|
|
int |
|
|
Certificate for privileged module. |
|
Name |
Columns |
Options |
PK |
|
pk_ap_sob |
objname | clustered |
X |
|
Name |
Columns |
Unique |
Clu |
PK |
FK |
AK |
|
aba_sob_parent_ix |
parent |
|
|
|
|
|
|
aba_sob_filename_ix |
filename, subsystem |
|
|
|
|
|
|
The name of the object. The object name is the primary key. Since AbaPerls regards indexes as top-level objects, this means that names of indexes must be unique in the database, although this is not a requirement in SQL Server. |
|
Date and time when the object last was created or altered in the database. (Through AbaPerls, that is.) |
|
What kind of object. See abaobjecttypes for a list of the object types that AbaPerls handles. |
|
Which subsystem the object belongs to. If NULL, this could be because the object was loaded with ABASQL without specification of the -subsystem switch, or beause the object was loaded into abasysobjects with ap_zz_sob_load_sp. |
|
The version number in the version-control of the file from which the object was loaded. NULL if the object was loaded from disk, typically by ABASQL. If the value is NULL, but ss_label has a value this indicates that someone has forcefully set ss_version to NULL. |
|
The argument specifed with the -label switch with the load tool (ABASQL, DBBUILD or an update script generated by DBUPDGEN). Most of the time it will be an AbaPerls labels on the form LetterMajor.Middle.Minor, but it does have to be. |
|
Path to the VC repository from which the file was loaded. This is the normalised path taken from abarepositorymappings. NULL if the file was loaded from disk. |
|
The path to the directory in of the file from which the object was loaded. This can either be an path in the version-control system (in which case you can also expect a value in the column repository), or the path to a disk directory. |
|
The name of the update/patch script or the build tool that loaded the current version of the SQL object. |
|
Name of the file from which the object was loaded. This is a name within the AbaPerls directory structure, for instance SUB/SOME_SP.SP. |
|
The file extenstion of filename, extracted to a column of its own to permit filtering, sorting etc. Is XXX for entries loaded by ap_zz_sob_load_sp. |
|
For SQL 2005, this column is copied from the column modify_date in the appropriate catalog view (e.g sys.objects) for the object when the object is written to abassobjects. Thus, if modify_date in the catalog view is different from abasysobjects.crdate, this indicates that the object has been loaded outside AbaPerls, and this is used by ap_report_suspects_sp. For tables, the value is copied from sys.objects.create_date, as modify_date for a table is also updated for operations like reindexing that happen outside AbaPerls. |
|
This column is always set to NULL on SQL 2005. |
|
Parent object, for instance the table for an index or a constraint. |
|
If this column is none-NULL, the object has been granted special permissions through the macros $DBPERM or $SERVERPERM. cert_id is the id in sys.certificates for the certificate with which the object was signed. |
|
Child Table |
Foreign Key Columns |
|
objname |
|
|
parent |
|
Parent Table |
Foreign Key Columns |
|
objtype |
|
|
vc_repository |
|
|
subsystem |
|
|
parent |
|
|