Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Proper Case the data in the Table

By Vidyadhar Pandekar,

Persons Names,Addresses or any other master information if not entered with proper case . I mean if some records are with All caps ,some with all small or any other combination.You may be able to convert this data to proper case. Which will help you to show it in better looks on websites or in the reports.
You give two parameters "table name" and "column name of same table" of which to want to proper case the data

Total article views: 447 | Views in the last 30 days: 3
 
Related Articles
FORUM

Proper Case Problem

Proper Case Problem

FORUM

SQL Proper Case Command

Proper Casing query issues with multiple names

SCRIPT

Function to return proper case

This function returns the proper case of any given string.

FORUM

Family Name Issue with Proper Case

Family Name Issue with Proper Case

SCRIPT

Set Proper Name Case Function

This script sets the proper case in a "full name" field

 
Contribute