MS SQL and .net Development
DECLARE @longWord varchar(28)='AntiDisEstablishmentArianism'SELECT CountCharacters =DATALENGTH(@longWord)- DATALENGTH (REPLACE(REPLACE(LOWER(@longWord),'a',''),'i',''))
No comments:
Post a Comment