has anyone developed any SQL to convert table and column names to Camel Case? The reason I ask: I am planning to port my code to Visual Studio; one suggestion was that it would be much easier to port the code if the database was Camel Case.

asked 30 Jun, 10:02

MJSobol's gravatar image

MJSobol
2624
accept rate: 0%

2

one suggestion was that it would be much easier to port the code if the database was Camel Case

Seriously? Who said that?

What code are you talking about?

What programming language(s) are you talking about? "Visual Studio" is a GUI tool, not a language.

IMO when in Rome do as the Romans do, which is why I use camelCase to create identifiers local to JavaScript, and I extend that to CREATE SERVICE statements for web services to be requested via XMLHttpRequest (which, by the way, does not use camelCase for its name :)

However, camelCase is generally NOT used for SQL objects. Nor should it, IMO.

IMO it is an advantage to use different styles for vastly different objects, so you can easily tell local variables apart from database columns.

(30 Jun, 10:15) Breck Carter
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×45

question asked: 30 Jun, 10:02

question was seen: 220 times

last updated: 30 Jun, 10:15