Database Administration Questions


Q:

The multi part identifier could not be bound is

Answer

One of the most common errors that you might face in join statements is 


 


Server: Msg 4104, Level 16, State 1, Line 1
The multi-part identifier could not be bound.


 


A multipart identifier is any description of a field or table that contains multiple parts - for instance MyTable.SomeRow - if it can't be bound that means there's something wrong with it - either you've got a simple typo, or a confusion between table and column. It can also be caused by using reserved words in your table or field names and not surrounding them with [].


 


The main reason for this error is that the source table cannot be found, for example if you have statement such as Table1.OrderDate, and then if you get error above, this means that Table1 cannot be found in the query. Sometimes you can see that source table exists in the query, but T-SQL cannot understand it, especially when you write join statements.

Report Error

View answer Workspace Report Error Discuss

0 2503
Q:

What can you break but not touch?

A) Mirror B) Word
C) Promise D) All of the above
 
Answer & Explanation Answer: C) Promise

Explanation:

A promise. 

 

The Promise made to somebody by you can be break but you cannot touch it.

Report Error

View Answer Report Error Discuss

4 2500
Q:

The more you take the more you leave behind. What is it?

Answer

Footsteps. 


Yes, as you walk forward, you will leave the footstep behind you.

Report Error

View answer Workspace Report Error Discuss

8 2494
Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss

1 2482
Q:

What is inheritance?

Answer

Inheritance is the ability to create new classes based on existing classes. It is useful to reuse existing code.

Report Error

View answer Workspace Report Error Discuss

0 2473
Q:

Which sentence is punctuated correctly?

A) One question you should always ask yourself: “Am I pleased with the results?” B) Always ask yourself this question: “Am I pleased with the results?
C) Always ask yourself a question like: “Am I pleased with the results?” D) One question you should always ask yourself is: “Am I pleased with the results?”
 
Answer & Explanation Answer: A) One question you should always ask yourself: “Am I pleased with the results?”

Explanation:

The second would employ a comma, or semi-colon, and not a colon so it is not properly punctuated.

 

The third sentence would not be correct because it uses 'like', usually used for comparison. Since you are not comparing two questions, it would not be appropriate.

 

The fourth sentence has 'is' before the colon, which is a implies declaration and not listing. So, again, it would not be appropriate.

 

Hence, the first sentence, however, is punctuated correctly.

Report Error

View Answer Report Error Discuss

7 2464
Q:

Jio is a big shot at reducing the cost of Internet access in India. The U.S., despite being the richest country in the world, lags far behind in terms of cost and penetration of Internet access. Cheap access to the Internet is an important step in bridging the access gap – access to good education, good healthcare, etc. But the market reaction to Jio is similar to the U.S. market’s reaction to firms announcing their intention to diversify.

(A) The final group of losers is the current shareholders of RIL. On announcement of Jio, the stock price of RIL fell.

(B) It shows that the market’s short-term reaction is usually proven correct in the long-run.

(C) On losing end, the first groups of losers are the shareholders of other telecom companies.

(D) The large amount of revenue the Government of India gets from auctioning off the nation’s natural resources is not necessarily a good thing because the Government does not have a stellar track record when it comes to spending the money. A large fraction of Government spending is wasted.

(E) The second loser is the Government of India. The big money the Indian Government was raking in selling cellular bandwidth was actually coming from the pockets of the cellular consumers. 

(F) The first obvious winners of this scheme are customers.

(G) The second winner is Mr. Ambani; he can potentially make a lasting impact as the man who brought Internet to millions of Indians.

 

Question:

Which of the following supports the decision of other companies opposing Reliance JIO Scheme?

A) Only A B) Both A & B
C) Only C D) Both C & E
 
Answer & Explanation Answer: D) Both C & E

Explanation:

As the arguments C and E states that other companies are on the losing end with this scheme, it is the only appropriate answer to this question.

Report Error

View Answer Report Error Discuss

4 2460
Q:

Define Executive Plan in Database SQL ?

Answer

Executive plan can be defined as:


* SQL Server caches collected procedure or the plan of query execution and used thereafter by subsequent calls.


* An important feature in relation to performance enhancement.


* Data execution plan can be viewed textually or graphically.

Report Error

View answer Workspace Report Error Discuss

7 2460