in Education by
Which global variables can be used to determine if a transaction is still open? (a) @@NESTLEVEL (b) @@FETCH_STATUS (c) @@TRANCOUNT (d) @@CONNECTIONS This question was addressed to me in an online quiz. The doubt is from Estimating Statistics of Expression Results topic in portion Query Processing Techniques of Database Management

1 Answer

0 votes
by
The correct choice is (c) @@TRANCOUNT Easy explanation - PRINT @@TRANCOUNT — The BEGIN TRAN statement will increment the — transaction count by 1.

Related questions

0 votes
    If database modifications occur while the transaction is still active, the transaction is said to use the ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Which of the following global variables is used to get parameters? (a) HTTP_GET_VAR[] (b) HTTP_GET_VARS() ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    ________ are a set of rules that determine the execution of a transaction. A. Program B. Instruction C. Tables D. Contracts...
asked Feb 23, 2023 in Technology by JackTerrance
0 votes
    Which component do you need to use in order to read data line by line from an input flow ... entries into iterative global variables? tIterateToFlow tFileList tFlowToIterate tLoop...
asked Mar 24, 2021 in Technology by JackTerrance
0 votes
    So I've got some C code: #include #include /* putting one of the "char*"s here causes a segfault ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    This smells buggy, but probably, someone can explain it: The following script doesn't work, the output is ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    In a function, How to create and use a global variable? How can I use it in other functions? Is it compulsory ... it in a function? Select the correct answer from above options...
asked Jan 24, 2022 in Education by JackTerrance
0 votes
    I want to set some global variables inside a function, how can I do that? Select the correct answer from above options...
asked Jan 23, 2022 in Education by JackTerrance
0 votes
    I am fairly new to Java, I wanted to know how can i define a global variable ? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    If there are more than one file(main.lua) which contains code and I declare some variables and functions ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    How to access global and context variables in Talend?...
asked May 30, 2021 in Technology by JackTerrance
0 votes
    What is the difference between global and static global variables?...
asked Jan 23, 2021 in Technology by JackTerrance
+1 vote
    What is the default value of local and global variables in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    If I want to hold a Teams meeting and invite “guests,” what happens if I select that only specific domains ... still able to join the Teams meeting from via a link?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    Your online activity can still be tracked even if you use different Tor services, but not in much detail. 1) True 2) False...
asked Dec 30, 2020 in Technology by JackTerrance
...