All Apps and Add-ons

Is it possible to use NOLOCK in DB Connect Queries?

thompsonsgg
New Member

Hello All,

My DBA is requesting that I use NOLOCK in all of my DB Connect queries, but I can't seem to figure out how to do so. Is it possible, and what would the syntax be if so?

Please find an example of the query I am using below.

Thanks,
Annmarie

SELECT DateCreated, DateSent, DateResponseCollected, ResponseCode FROM "Commissions"."disbursements"."HyperWalletFiles"
0 Karma

BenTan
Path Finder

Hi,

Not sure if this would work but you could try:

 SELECT DateCreated, DateSent, DateResponseCollected, ResponseCode FROM "Commissions"."disbursements"."HyperWalletFiles" WITH (NOLOCK)

Hope it helps!

Regards,
Ben

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...