Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to select a field with firstletter as capital and
remaining are small letters

Answer Posted / bobby

select ascii('a')as a,ascii('z')as z

select ascii('A')as A,ascii('Z')as Z

select * from Table_name where (ascii(<COLUMNNAME>))
between 65 and 90)and
ascii(substring(<COLUMNNAME>,2,1)) between 97 and 122

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is plan freezing?

953


Can a function call a stored procedure in sql server?

939


What is the difference between deallocate cursor and close cursor?

1231


What are the instances when triggers are appropriate?

971


How to rename an existing column with sql server management studio?

984


What is the difference between clustered index and primary key?

900


What do you understand by intent locks?

995


What are the benefits of filtered indexes?

1024


What does the on delete cascade option do?

1004


In which tcp/ip port does sql server run? Can it be changed?

977


What is an etl file?

943


What is normalization? Describe its different types.

1087


How can I add Reporting Services reports to my application?

129


What is cursor in ms sql server?

1127


Explain the xml support sql server extends?

1023