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 the purpose of the tempdb database?

1003


What is filestream?

1007


Where the sql logs gets stored?

992


What is microsoft sql server?

979


What is the syntax to execute the sys.dm_db_missing_index_details?

1030


what is difference between view and Dip.

2415


How to execute the cursor queries with "open" statements?

1185


What is sql profiler. What are the default templates with it? : sql server database administration

1049


How is sql used in sql server?

1017


let's assume you have data that resides on sql server 6.5. You have to move it sql server 7.0. How are you going to do it? : Sql server database administration

962


Explain cdc and sql injection?

988


What is the need for group functions in sql?

1090


Do you know the capabilities of cursors?

1150


What happens if date-only values are provided as date and time literals?

1026


What is difference between delete & truncate commands?

1087