nolock (Q5980036): Difference between revisions
From MaRDI portal
Created a new Item |
Added link to MaRDI item. |
||
(3 intermediate revisions by 2 users not shown) | |||
Property / programmed in | |||
Property / programmed in: R / rank | |||
Property / programmed in | |||
Property / programmed in: R / rank | |||
Normal rank | |||
Property / MaRDI profile type | |||
Property / MaRDI profile type: MaRDI software profile / rank | |||
Normal rank | |||
links / mardi / name | links / mardi / name | ||
Latest revision as of 19:10, 12 March 2024
Append 'WITH (NOLOCK)' to 'SQL' Queries, Get Packages in Active Script
Language | Label | Description | Also known as |
---|---|---|---|
English | nolock |
Append 'WITH (NOLOCK)' to 'SQL' Queries, Get Packages in Active Script |
Statements
Provides a suite of tools that can assist in enhancing the processing efficiency of 'SQL' and 'R' scripts. - The 'libr_unused()' retrieves a vector of package names that are called within an 'R' script but are never actually used in the script. - The 'libr_used()' retrieves a vector of package names actively utilized within an 'R' script; packages loaded using 'library()' but not actually used in the script will not be included. - The 'libr_called()' retrieves a vector of all package names which are called within an 'R' script. - 'nolock()' appends 'WITH (nolock)' to all tables in 'SQL' queries. This facilitates reading from databases in scenarios where non-blocking reads are preferable, such as in high-transaction environments.
0 references
15 November 2023
0 references