Not globally that I am aware of. Why would you want to?
Your code can have an impact on locking.
SQL uses multigranular locking. SQL will choose the locking level appropriate to the task.
The available levels are (lowest to highest granularity:
RID
Key
Page
Extent
Table
DB
The lower levels (RID) require more server resources. If your table has 10,000 records, it will require more memory to hold 10,000 record locks than 1 table lock.
Comments
Examples:
Customer.GET(CustID);
Customer.SETRANGE("No.", CustID)
Customer.FIND
IF you are accessing several records with a repeat, SQL may change to a page lock.
Your code can have an impact on locking.
SQL uses multigranular locking. SQL will choose the locking level appropriate to the task.
The available levels are (lowest to highest granularity:
RID
Key
Page
Extent
Table
DB
The lower levels (RID) require more server resources. If your table has 10,000 records, it will require more memory to hold 10,000 record locks than 1 table lock.