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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...