Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
JimmyBoy Trusted Contributor.
Trusted Contributor.
467 views

How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1

How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1

0 Likes
3 Replies
JimmyBoy Trusted Contributor.
Trusted Contributor.

RE: How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1

sorry that should have been TableNum and tableId
0 Likes
Micro Focus Expert
Micro Focus Expert

RE: How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1

The first locking table is called AcuLocks; it holds the record locks. The columns in this table are the DBID, the Table ID, the Process ID of the process holding the lock, and the primary key of the record that is locked. There is a unique index on the DBID, the Table ID, and the Key Value, so that inserts into this table are automatically rejected if another user holds a lock on the row in question. This also provides the Database Administrator the information needed to determine who has locks set, and whether the user in question still has a connection to the server.
0 Likes
DougP Outstanding Contributor.
Outstanding Contributor.

RE: How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1

And to get the table name execute this query:
select Object_Name(<TableID>)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.