Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How do you nolock?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How do you nolock?
 Login/Join
 
Virtuoso
posted
I like to be a good programmer citizen, and that means issuing my SQL*Server requests with a nolock. Is there a way to do this in native FOCUS code?

This message has been edited. Last edited by: FP Mod Chuck,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Master
posted Hide Post
No sure what version of WF you are using. So, from the 8201M docs, this might answer your question. Syntax: How to Specify Transaction Isolation Level From a SET Command

NOLOCK Is equivalent to READUNCOMMITTED. So, you would use the RU option.


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report This Post
Guru
posted Hide Post
I doubt that being a good programmer citizen has anything to do with uncomitted / dirty reads


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by Hallway:
No sure what version of WF you are using. So, from the 8201M docs, this might answer your question. Syntax: How to Specify Transaction Isolation Level From a SET Command

NOLOCK Is equivalent to READUNCOMMITTED. So, you would use the RU option.



Yikes! So if I set using that command I can issue a TABLE FILE request and it will adhere to the restriction, yes? I should put SQL SQLMSS SET ISOLATION RU; at the beginning of the focexec to achieve the result? The documentation isn't very clear on that.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by Frans:
I doubt that being a good programmer citizen has anything to do with uncomitted / dirty reads


I recycle too.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
John

If you want this to be a global setting put it in the server profile (edasprof.prf) and all reports will use this setting.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How do you nolock?

Copyright © 1996-2020 Information Builders