Can you Average the Characters ?

Answers were Sorted based on User's Feedback



Can you Average the Characters ?..

Answer / knight

will return sqlcode= -171

Is This Answer Correct ?    2 Yes 0 No

Can you Average the Characters ?..

Answer / sudhakar

No will get an Error -
-420
The value of a string argument was not acceptable to the function-name function

Is This Answer Correct ?    0 Yes 0 No

Can you Average the Characters ?..

Answer / naveen87ginjupalli

Yes,we can Average the characters
SELECT AVG(EMP-NAME) FROM EMP;

Is This Answer Correct ?    4 Yes 9 No

Post New Answer

More DB2 Interview Questions

Shall i use this query to retrieve first 4 records, Select empno, sal from emptbl where empno < 5. like this can we fetch first 100 records?

3 Answers  


What is the difference between Primary key and unique index?

6 Answers  


Why select is not preferred in embedded sql programs?

0 Answers  


Is it possible using max on a char column?

0 Answers  


Select empno, sal from emptbl where empno < 101.By this query can we fetch first 100 recs? where empno is primary key.It won't throw -811 error? if it wont,then what is use of cursor technique while fetching first 100 recs. Please need more clarification.

2 Answers  






What is universal database?

0 Answers  


What is read-only cursor?

1 Answers  


What is the purpose of coding FETCH in a SQL SELECT query? Explain with an example in Detail?

4 Answers  


Who uses db2?

0 Answers  


Explain about cursor stability?

0 Answers  


Can there be more than one cursor open for any program?

0 Answers  


What is explain plan in db2?

0 Answers  


Categories