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

How can a database be repaired?

1034


Do you know what is sql service broker?

1163


Why do we use non clustered index?

1132


What is service broker? : sql server database administration

1031


Explain the concept of recursive stored procedure.

1023


User wants only to display only pdf as export option in report manager. How to achieve this?

269


Explain Geometry datatype in sql server 2008 with example

1049


How to find the version of sql server? : sql server database administration

1167


Can primary key be a foreign key?

1110


How to change parameter value inside the report?

169


What are system databases in ms sql server?

1124


Will sql server 2005 allow you to reduce the size of a column?

1056


What is instead of trigger sql server?

1079


What do you mean by an execution plan? Why is it used? How would you view it?

983


what is blocking? : Sql server database administration

1088