Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Structure to lowercase

Status
Not open for further replies.

jadoogar

Programmer
Oct 23, 2003
61
IN
I have created a data base with lot of tables but as now Java is case sensitive I want all the structure to be in lowercase only table name, field name
Is there any quick way (programming) to do this?
If so please help
Thanks in advance
 
now Java is case sensitive

it always has been!

Firstly I would not make everything lowercase as it will be hard to read and is bad practice.

Secondly... why are you not using Stored Procedures??? You should be!

I do not know the consequences of this so I am NOT recommending it but you could look into the sys catalog tables (sysobjects, syscolumns) and amend from here. You can only do this if the server is configured in this way.

Nick
 
You'll want to use [!]sp_rename[/!]

You can rename tables and columns. For more information, look it up in Books On Line.



-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top