Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8079647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:10:24+00:00 2026-06-05T16:10:24+00:00

I am working on a query, and have found minimal documentation from Microsoft on

  • 0

I am working on a query, and have found minimal documentation from Microsoft on the TSQL “FOR BROWSE” option on a select statement.

I have seen FOR BROWSE documented as an option to cursors, but I haven’t been able to find any good examples of using this, or reasons to use FOR BROWSE on a SELECT statement.

What are good reasons to use FOR BROWSE in a TSQL SELECT statement?

I am using SQL Server 2008 and 2012.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:10:26+00:00Added an answer on June 5, 2026 at 4:10 pm

    As far as I can tell. It appears to be an interface for implementing optimistic concurrency control within an application where one or more users will be accessing and updating data from the same source at the same time. It also appears to work in conjunction with a compatible front end library (DB-Library). However, it would appear that this is a somewhat deprecated mechanism as you can achieve all of the above without using the “For Browse” statement. This can be further confirmed by the necessity to create two DBPROCESS structures which are the results of the DB-Library (a deprecated C library) call “dbopen“.

    In addition, browse mode requires two DBPROCESS structures: one for
    selecting the data and another for updating based on the selected
    data. src

    Here is an example of using a “For Browse” query in conjunction with the DB-Library.

    Ultimately, it would be reasonable to conclude that this mechanism still exists for the purpose of backwards-compatibility. So unless you’re maintaining a C based client using the DB-Library, I wouldn’t worry too much about this sql “for clause“.

    Some other sources

    • SQL Server Reference Manual – Browse Mode
    • Additional information about the FOR BROWSE option
    • Using browse mode instead of cursors

    One more observation

    Cursors declared with FOR BROWSE must wait for uncommitted changes
    (made by anyone, including the cursor owner) only during the OPEN
    CURSOR operation. After the cursor is open, subsequent changes do not
    cause the cursor to wait. When a cursor is reopened, it can be blocked
    by uncommitted changes. src

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this working query: $q = $this->db->query('SELECT u.name FROM users u JOIN user_group
i have following query working.. select count(id) , case when age < 0 then
I have this working query that outputs URL and click counts from database. <?php
We're working on improving our query interdependencies, and have found that occasionally there will
I have this query working but it is not returning back exactly what I
I have below a working query that needs to be simplified. The reason is
i have been working on query which uses compute by clause for avg and
I need to have a query string in my crontab but it isn't working.
I have the following query which is working fine, but I also want to
I have the following xpath query which seems to be working but I just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.