write a query allow only 4 characters in name column using sql server?

 Posted by aswinialuri-19361 on 7/29/2013 | Category: .NET Framework Interview questions | Views: 1516 | Points: 40
Answer:

select name from salary where name like '____'
after like 4 dashes with in single quote
Output:ashu
siri
hari

the output will shown like that it can show only 4 characters


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Yesda on: 8/20/2013 | Points: 10
Good sharing...............

Login to post response