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 do I create a stored procedure in dbml?

928


How to create a trigger for insert only?

982


What is a trigger and types of a trigger?

926


where can you add custom error messages to sql server? : Sql server administration

1048


What do you understand by mirroring and mention the advantages of the mirroring?

1009


What is the difference between varchar and nvarchar datatypes?

1037


How to create a user name in a database?

996


What are the differences between local and global temporary tables?

1016


Do you know the cursor types?

1113


How to list all triggers in the database with sys.triggers in ms sql server?

1016


How to select true false based on column value in sql server?

956


Explain the difference between clustered and non-clustered index?

872


Where are stored procedures in sql server?

1010


Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

915


What is the difference between for trigger and after trigger?

1028