I am having n number of records in a table which consists of emp-name is one of the field among them. Now i want to change the first letter of every name with capital.



I am having n number of records in a table which consists of emp-name is one of the field among them..

Answer / chandra

Use INITCAP() Function

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is the database descriptor?

2 Answers  


which authority can be granted to group of users using the GRANT stmt? A) SYSCTRL B) SYSADM C) DBCTRL D) DB ADM

3 Answers   Accenture,


SI Stud name Subject Marks Pass/Fail 1 Sham Maths 40 P 1 Sham Physics 50 P 1 Sham Bio 20 F 2 Ram Maths 40 P 2 Ram Physics 50 P 2 Ram Bio 60 P For the above data , write the SQL query for the student who passed in all the subjects . For eg : I want the data of only Ram coz he passed all subjects .

2 Answers   Cognizant,


how can we retrieve the 100 records of the file ?

2 Answers   IBM,


How do I delete a table in db2?

1 Answers  


what is the maximum number of tables that can be joined ?

8 Answers   IBM, TCS,


Name some fields from SQLCA.

2 Answers  


What is the max length of sqlca?

1 Answers  


how can u nderstand the sql stmts executed successfully or not ?

1 Answers   TCS,


What are db2 objects?

1 Answers  


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

5 Answers   Mphasis,


What is an EXPLAIN in DB2. How and what is the steps followed in EXPLAIN command. Can all the queries be used in EXPLAIN command to check the performance.

3 Answers   IBM,


Categories