Q:

Write a query to calculate number of T in string ‘TECHSTUDY’.

0

Write a query to calculate number of T in string ‘TECHSTUDY’.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Select LEN('TECHSTUDY') - LEN (REPLACE('TECHSTUDY', 'T', ''))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 SQL server queries Interview questions

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the result of the query below?... >>
<< Write a query to create a clone of existing table ...