Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had faced an interview with this question

select 'choicesollution' +1 ---> what will be the out put of this query
Posted
Comments
[no name] 8-Mar-14 4:27am    
What is choicesollution datatype..??

1 solution

SQL
Conversion failed when converting the varchar value 'choicesollution' to data type int.: select 'choicesollution' + 1
 
Share this answer
 
Comments
[no name] 8-Mar-14 4:29am    
Yes...5+
Naveen Kumar Malli 8-Mar-14 4:33am    
actual query is select 'some string' + 1
Peter Leow 8-Mar-14 4:35am    
then substitute 'choicesollution' with 'some string'.
Peter Leow 8-Mar-14 4:39am    
Thanks, Snehasish.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900