In a Distributed Database System Can we execute two queries
simultaneously ? Justify ?
Answers were Sorted based on User's Feedback
Answer / swapna
As Distributed database system based on 2 phase commit,one
query is independent of 2 nd query so of course we can run.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / vishal
Yes It is possible only when commit is applied for two different tables, but when the same table is used on diff environemnt then It is not possible.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / g sivanagaraju
No, server will do only one operation at a time
Is This Answer Correct ? | 0 Yes | 2 No |
What is aggregate function in sql?
In pl/sql, what is bulk binding, and when/how would it help performance?
Types of cursors and explanation each of them ?
What is a trigger ?
11 Answers Accenture, BirlaSoft,
How do you exit in sql?
Create table emp (id number(9), name varchar2(20),salary number(9,2)); The table has 100 records after table created.Now i nee to change id's Datatype is to be Varchar2(15). now Alter table emp modify(id varchar2(15),name varchar2(20), salary number(9,2)); Whether it will work or returns error? post answer with explanation.
How to remove duplicate rows from a table?.
What is full join?
How do you optimize a stored procedure query?
What is pl sql script?
What is a CTE (Common Table Expression), and how is it different from a subquery?
Hi Guys, I have a situation where I need to access the column values from rowtype variable. However, the column names are dynamic. below is sample code: declare Cursor c1 is select * from emp; Cursor c2 is select column_name from xyztable; v_c2 c2%rowtype; v_str varchar2 v_value varchar2(200); begin for rec in c1 loop open c2;---this cursor has column names like EMPLOYEE_ID, FIRST_NAME, LAST_NAME etc. loop fetch c2 into v_c2; exit when c2%notfound; /* now lets say i want to access value of LAST_NAME from cursor c1, so I am writing below code, however it does not work as expected */ v_str:= 'rec.'|| v_c2.column_name; -- this will give me string like "rec.EMPLOYEE_ID" v_value:=v_str; end loop; end loop; end; / Plz help ASAP.Thanks.