Database Administration Questions


Q:

I have four wings, but cannot fly, I never laugh and never cry; On the same spot I'm always found, toiling away with little sound.

 What am I?

Answer

A Windmill.

Report Error

View answer Workspace Report Error Discuss

3 2520
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 2518
Q:

CM is about managing the different items in the product, and changes in them.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Configuration Management is a support for software in managing the different items in the product, and changes in them.

Report Error

View Answer Workspace Report Error Discuss

6 2517
Q:

Is boiling water a chemical change?

Answer

No. Boiling water is not a chemical change. Because in this process it doesn't loss its properties. It just changes its state i.e, from liquid state to gaseous.


 


Hence, Boiling water is a Physiacl change and not a chemical change.

Report Error

View answer Workspace Report Error Discuss

0 2509
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 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 2499
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 2498
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 2488