Solved

Convert a database table column input to all small characters

Posted on 2014-11-13
7
121 Views
Last Modified: 2014-11-13
Hi,

How can i easily convert all of a table column's input to all small characters?
The column contains image names. These need to be converted to all small chars.

Thanks!
0
Comment
Question by:peps03
  • 4
  • 2
7 Comments
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
Comment Utility
if it is MS SQL Server, you can use LOWER:

select LOWER(yourColumnName) from YourTableName

Open in new window

0
 

Author Comment

by:peps03
Comment Utility
Thanks for your reply.

MS? meaning microsoft?

I have access to phpmyadmin. The os is cent os using directadmin.
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
Yes MS is Microsoft. So why did you select "MS SQL Server" as one of the topic if it isn't related?
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:peps03
Comment Utility
oh, that was done accidentally i think.
0
 
LVL 9

Accepted Solution

by:
Brian Tao earned 250 total points
Comment Utility
Do you mean you need to change the letter case for existing records in the database table column? or do you want to force all future incoming input for the column to be in lowercase?
0
 

Author Comment

by:peps03
Comment Utility
thanks, i was thinking of a db search and replace.
but lower casing the db input and output is also oke.
thanks!
0
 

Author Closing Comment

by:peps03
Comment Utility
:)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Viewers will learn how the fundamental information of how to create a table.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now