Unix Technical Forum

RE: Naming Convention for Informix Database Objects

This is a discussion on RE: Naming Convention for Informix Database Objects within the Informix forums, part of the Database Server Software category; --> Shouldn't indices be - this_is_an_index_called_ instead of a_index_? Just a curious thought -----Original Message----- From: Obnoxio The Clown [SMTP ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:30 PM
Dusty Haas
 
Posts: n/a
Default RE: Naming Convention for Informix Database Objects


Shouldn't indices be - this_is_an_index_called_ instead of a_index_?

Just a curious thought

-----Original Message-----
From: Obnoxio The Clown [SMTPbnoxio@hotmail.com]
Sent: Thursday, November 20, 2003 12:50 PM
To: informix-list@iiug.org
Subject: Re: Naming Convention for Informix Database Objects

Christopher wrote:

> Can anyone recommend a good naming convention for database objects in
> Informix?
>
> Generally, I use my own variation on Hungarian, but I wondered if
> there is an equivalent of the RVBA (also known as Leszynski/Reddick)
> standard among Informix developers.
>
> I would also be thrilled to find a write-up I can reuse or just plain
> plagiarize.
>
> As an aside, this is to be implemented on IDS 9.4, so long identifiers
> are not an issue.


I generally prefix tables with this_is_a_table_called_, views with
this_is_a_view_called_, indexes with this_is_a_index_called_ ...

--
"C'est pas parce qu'on n'a rien a dire qu'il faut fermer sa gueule"
- Coluche

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:30 PM
Obnoxio The Clown
 
Posts: n/a
Default RE: Naming Convention for Informix Database Objects

Dusty Haas wrote:

> Shouldn't indices be - this_is_an_index_called_ instead of a_index_?
>
> Just a curious thought


You're quite right to do that nit pick
and I do feel just like a right dick
your razor sharp eyes
affirm the surmise
"to cut and paste is lazy and thick"

> -----Original Message-----
> From: Obnoxio The Clown [SMTPbnoxio@hotmail.com]
> Sent: Thursday, November 20, 2003 12:50 PM
> To: informix-list@iiug.org
> Subject: Re: Naming Convention for Informix Database Objects
>
> Christopher wrote:
>
>> Can anyone recommend a good naming convention for database objects in
>> Informix?
>>
>> Generally, I use my own variation on Hungarian, but I wondered if
>> there is an equivalent of the RVBA (also known as Leszynski/Reddick)
>> standard among Informix developers.
>>
>> I would also be thrilled to find a write-up I can reuse or just plain
>> plagiarize.
>>
>> As an aside, this is to be implemented on IDS 9.4, so long identifiers
>> are not an issue.

>
> I generally prefix tables with this_is_a_table_called_, views with
> this_is_a_view_called_, indexes with this_is_a_index_called_ ...
>


--
"C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule"
- Coluche
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 07:31 PM
Richard Kofler
 
Posts: n/a
Default Re: Naming Convention for Informix Database Objects

Obnoxio The Clown wrote:
>
> Dusty Haas wrote:
>
> > Shouldn't indices be - this_is_an_index_called_ instead of a_index_?
> >
> > Just a curious thought

>
> You're quite right to do that nit pick
> and I do feel just like a right dick
> your razor sharp eyes
> affirm the surmise
> "to cut and paste is lazy and thick"


Justy is right - almost.
you need at least 2 different praefixes (and their variations)

this_is_an_unique_index_(not_)used_as_primary_key_ later_on_after_we_done_with_alter_table_
this_is_a_compound_index-.......

and so on.

Of course when IFX dev ppl are done with auto change of
praefix_part_of_index_name
when you insert into a table with a cluster index in such a way, that
is is no more
truely clustered, they might concentrate on indexes having an entry
lenth of
greater than 16 TeraByte

I hope this answeres another posting I had to read today

dic_k

PS: if you do not stop top posting, I might turn on my HTML feature
here
this is usenet & if you want to learn about netiquette the rough
way, then
TOFU post into a more fundamentalistic group like clpm.
This is still the fastest way to learn all about links to
netiquette
--
Richard Kofler
SOLID STATE EDV
Dienstleistungen GmbH
Vienna/Austria/Europe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-19-2008, 07:31 PM
Obnoxio The Clown
 
Posts: n/a
Default Re: Naming Convention for Informix Database Objects

Richard Kofler wrote:

> Obnoxio The Clown wrote:
>>
>> Dusty Haas wrote:
>>
>> > Shouldn't indices be - this_is_an_index_called_ instead of a_index_?
>> >
>> > Just a curious thought

>>
>> You're quite right to do that nit pick
>> and I do feel just like a right dick
>> your razor sharp eyes
>> affirm the surmise
>> "to cut and paste is lazy and thick"

>
> Justy is right - almost.
> you need at least 2 different praefixes (and their variations)
>
>

this_is_an_unique_index_(not_)used_as_primary_key_ later_on_after_we_done_with_alter_table_
> this_is_a_compound_index-.......
>
> and so on.
>
> Of course when IFX dev ppl are done with auto change of
> praefix_part_of_index_name
> when you insert into a table with a cluster index in such a way, that
> is is no more
> truely clustered, they might concentrate on indexes having an entry
> lenth of
> greater than 16 TeraByte
>
> I hope this answeres another posting I had to read today
>
> dic_k
>
> PS: if you do not stop top posting, I might turn on my HTML feature
> here
> this is usenet & if you want to learn about netiquette the rough
> way, then
> TOFU post into a more fundamentalistic group like clpm.
> This is still the fastest way to learn all about links to
> netiquette


Where did I top post?

--
"C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule"
- Coluche
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-19-2008, 07:31 PM
Richard Kofler
 
Posts: n/a
Default Re: Naming Convention for Informix Database Objects

Obnoxio The Clown wrote:

[ ... stuff snipped .. ]

> Where did I top post?
>


I apologize.
You did not top post.
I must learn all about that buttons scrolling down the pages ....

The good thing is: I will not use HTML (for now

dic_k
--
Richard Kofler
SOLID STATE EDV
Dienstleistungen GmbH
Vienna/Austria/Europe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-19-2008, 07:31 PM
Obnoxio The Clown
 
Posts: n/a
Default Re: Naming Convention for Informix Database Objects

Richard Kofler wrote:

> Obnoxio The Clown wrote:
>
> [ ... stuff snipped .. ]
>
>> Where did I top post?
>>

>
> I apologize.
> You did not top post.
> I must learn all about that buttons scrolling down the pages ....
>
> The good thing is: I will not use HTML (for now


Just as well, too. I would have hated to humiliate you twice in a public
forum. )

--
"C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule"
- Coluche
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:56 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com