Does anyone know where I could find a consensus (in mysql community) on
naming conventions? Is there a published standard? I mean primarily the
naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard
and fast rules that all or most people stick to. 6 11750
Matthew,
If you're just talking about how to make names look in general....:
If you're a OO guru you'll probably want to use FieldNamesThatLookLikeThis.
If you want it to be readable by everyone else use_names_that_look_like_this.
Honestly, the underscores look much better. Spacing out names looks easier
than the German method noun of JammingNamesIntoOneAnotherAchtung!
Besides, if someone forgets to capitalize something, it will take forever to
figure out
what's going on.
Just my 2 cents.
....Don...
Matthew Crouch wrote: Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
Matthew,
If you're just talking about how to make names look in general....:
If you're a OO guru you'll probably want to use FieldNamesThatLookLikeThis.
If you want it to be readable by everyone else use_names_that_look_like_this.
Honestly, the underscores look much better. Spacing out names looks easier
than the German method noun of JammingNamesIntoOneAnotherAchtung!
Besides, if someone forgets to capitalize something, it will take forever to
figure out
what's going on.
Just my 2 cents.
....Don...
Matthew Crouch wrote: Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
Matthew,
If you're just talking about how to make names look in general....:
If you're a OO guru you'll probably want to use FieldNamesThatLookLikeThis.
If you want it to be readable by everyone else use_names_that_look_like_this.
Honestly, the underscores look much better. Spacing out names looks easier
than the German method noun of JammingNamesIntoOneAnotherAchtung!
Besides, if someone forgets to capitalize something, it will take forever to
figure out
what's going on.
Just my 2 cents.
....Don...
Matthew Crouch wrote: Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
"Matthew Crouch" <ma************@spamlessverizon.net> wrote in message news:<uX*****************@nwrddc02.gnilink.net>... Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
If you're hosting the db on a case-sensitive file system, then table
names will be case-sensitive. For this reason, I prefer to always use
lowercase for all table names (and field names for consistency). Then
you don't have to remember what case to use when.
I normally use name prefixes of "tblcbo_" for lookup tables, "tbllnk_"
for many-many link tables, "tbl_" for other tables. For other ideas,
try googling for "database naming conventions" - you'll get plenty of
reading material.
Ray Gurganus
Community IT Innovators www.citidc.com
"Matthew Crouch" <ma************@spamlessverizon.net> wrote in message news:<uX*****************@nwrddc02.gnilink.net>... Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
If you're hosting the db on a case-sensitive file system, then table
names will be case-sensitive. For this reason, I prefer to always use
lowercase for all table names (and field names for consistency). Then
you don't have to remember what case to use when.
I normally use name prefixes of "tblcbo_" for lookup tables, "tbllnk_"
for many-many link tables, "tbl_" for other tables. For other ideas,
try googling for "database naming conventions" - you'll get plenty of
reading material.
Ray Gurganus
Community IT Innovators www.citidc.com
"Matthew Crouch" <ma************@spamlessverizon.net> wrote in message news:<uX*****************@nwrddc02.gnilink.net>... Does anyone know where I could find a consensus (in mysql community) on naming conventions? Is there a published standard? I mean primarily the naming of tables and fields.
Obviously, people use what works for them. But I'd like a look at any hard and fast rules that all or most people stick to.
If you're hosting the db on a case-sensitive file system, then table
names will be case-sensitive. For this reason, I prefer to always use
lowercase for all table names (and field names for consistency). Then
you don't have to remember what case to use when.
I normally use name prefixes of "tblcbo_" for lookup tables, "tbllnk_"
for many-many link tables, "tbl_" for other tables. For other ideas,
try googling for "database naming conventions" - you'll get plenty of
reading material.
Ray Gurganus
Community IT Innovators www.citidc.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Inada |
last post by:
Looking for any info on coding standards for ASP? Any tools that help
with the review/formatting of code?
Is it done mainly for the jscript/vbscript components?
David
|
by: Matthew Crouch |
last post by:
Does anyone know where I could find a consensus (in mysql community) on
naming conventions? Is there a published standard? I mean primarily the
naming of tables and fields.
Obviously, people use...
|
by: Dibyendu Basu |
last post by:
Hi,
We are developing a ASP.NET based
application with SQL Server 2000 as backend. Can you
please tell us some resources/URL in Internet/MSDN which
talks about naming standards and conventions...
|
by: BillyTheKid |
last post by:
I've noticed that there are many who like to prefix variable names with m
(module/member), n (number), s (string), g (global), etc., however this
seems to be unnecessary with C# IMO. Does anyone...
|
by: Mark Broadbent |
last post by:
stupid question time again to most of you experts but this is something that
continually bothers me.
I am trying to get into the habit of naming variables and controls in an
assembly as per...
|
by: shsandeep |
last post by:
Hi all,
I need a proper index naming standard for my database (datawarehouse).
This is what I have thought so far:
Table name: TGL_MTR_VHCL
Index name: XGL_MTR_VHCL
I am just replacing a...
|
by: Pieter |
last post by:
Hi,
I thouht that I read somewhere that Visual Studio .NET 2005 is able to force
naming conventions for controls etc., but I can't find it anymore :-/ did I
dream this or is this real? :-) If...
|
by: Smithers |
last post by:
Is it common practise to begin the name of form classes with "frm" (e.g.,
frmOneForm, frmAnotherForm).
Or is that generally considered an outdated convention?
If not "frm" what is a common or...
|
by: =?Utf-8?B?QmVu?= |
last post by:
Hi all,
Can you share with me the naming standards for the following :
VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |