What will be the output of the following

String S = 1+2+"abc" S = ?
String S1 = 1+2+"abc"+5+6 S1 = ?

Answer Posted / shwetha

it will through the error..as Invalid number.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of index in sql?

613


how can we know the number of days between two given dates using mysql? : Sql dba

623


Write a sql query to find the names of employees that begin with ‘a’?

636


Is a secondary key the same as a foreign key?

559


What is an index in sql with example?

580






How to create a menu in sqlplus or pl/sql?

672


Does truncate table reset auto increment?

594


Why left join is used in sql?

592


Does sql require a server?

589


How many types of cursors supported in pl/sql?

659


mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql

641


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

614


How to rename a column in the output of sql query?

599


What are the different operators available in sql?

639


What is the difference between Union and Union all. Which is faster.

915