|
Name |
abasysobjects |
|
Code |
ap_sob |
|
Creation Date |
13 december 2000 13:53:05 |
|
Modification Date |
27 april 2010 17:17:13 |
|
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(15) |
|
X |
Subsystem object belongs to. |
||
|
|
smallint |
|
|
Version number in SourceSafe. |
|
|
varchar(15) |
|
|
SourceSafe label. |
||
|
varchar(80) |
X |
|
Path to SS project or disk directory. |
||
|
varchar(64) |
X |
|
Load script/tool that loaded object. |
||
|
username |
varchar(40) |
X |
|
Name of NT user that loaded the object. |
|
|
hostname |
varchar(40) |
X |
|
Name of host from which the object was loaded. |
|
|
domain |
varchar(40) |
X |
|
On which domain the user was logged into. |
|
|
varchar(80) |
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, ss_version, path |
|
|
|
|
|
|
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 SourceSafe of the file from which the object was loaded. NULL if the object was loaded from disk by ABASQL. |
|
The SourceSafe label that was specified with the load tool (ABASQL, DBBUILD or update script). |
|
The path to the directory in of the file from which the object was loaded. This can either be an SS-path to a SourceSafe project, 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 |
|
|
subsystem |
|
|
parent |
|
|