Home          welcome : Guest          Log In      
  Xpode.com Beta version

Click here to Search Article

Categories/Articles

 

Case change in sql server

 

Submitted By:


Rohit kakria

Detail : I am software developer

If you want to change the case of  content in table in sqlserver or in some condition where needs to compare items then you may need to change the case of content. if you want to change in UPPER case then write

print Upper('india')

It wil show INDIA

Condition may be like this

select * from tbl_product where productname=Upper('Oven')

if you want to change in Lower case then write

print Lower('INDIA')

It will show india

Condition may be like this

select * from tbl_product where productname=Lower('Oven')






Comments
Share this article   |    Print   
Guest      Wednesday, August 25, 2010
Good article .. keep it up 
 
*  Name         *   Comments :ar 8) :cry: 8)
:shock: :shock: :evil: :!:
:( :idea: :lol: :x
:green: :| :question: :P
:oops: :roll: :) :o
:twisted: :wink:
*  Email          
                          (will not publish)
     
  Location           
  Website            
Enter the code *
(as shown below)