turtle Posted November 8, 2005 Posted November 8, 2005 Hi,I have a SQL table where one field (Booktitle) contains many records which are all UPPER CASE. I wish to run an update statement which updates all in Booktitle to Mixed Case. I've scoured Google but can't find anything... can you help?
Kcarson Posted November 8, 2005 Posted November 8, 2005 How familiar are you with SQL? If you feel fairly confident with your skills you might venture into T-SQL and using T-SQL you can create a script that could do this.Also, are you at least inserting all of your BookTitles as mixed case now, or are you continueing to insert them all as upper-case?
vijay Posted November 9, 2005 Posted November 9, 2005 Hi,For This Add One More Field and Write queryto get All RecordSeT of that Column in that Table And then Write Query On the basis Some Primary Key Criteraand Using With the Help of String Function U can Do thisi.e USA -->UsaFrom this U can.Vijay
Prakash Posted November 12, 2005 Posted November 12, 2005 Hi I'm Prakash.I suggest one Query. just try it once and send me the reply.SQL>Update <table_name> set <col_name>=Initcap(Col_name);
vijay Posted November 12, 2005 Posted November 12, 2005 Hi,PrakashIs this Function runs on SQL Server 2000?I tried but not any result.Vijay
Kcarson Posted November 12, 2005 Posted November 12, 2005 Great suggestion Prakash, but from what I can tell when I searched for it is that it is limited to SQL scripts such as T-SQL, PL/SQL, nad it looks like Oracle may allow it as well. But unfortunately, not MS SQL or MySQL.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now