Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: primary key & nlssort
stvchien0_at_gmail.com wrote:
> On Fri, 29 Jun 2007 14:00:00 -0700, DA Morgan <damorgan_at_psoug.org>
> wrote:
>
>> stvchien0_at_gmail.com wrote: >>> Hi, >>> >>> Since Oracel will create indexe for PRIMARY KEY constraint, can we >>> use the NLSSORT with the column(s) which is(are) part of the PRIMARY >>> KEY? >>> >>> Thanks! >>> >>> - STeve >> What version and please rewrite your inquiry and better describe what >> you are asking. An example might be helpful.
In addition:
SQL> SELECT keyword
2 FROM gv$reserved_words
3 WHERE keyword IN ('ID', 'TYPE', 'MSG');
KEYWORD
SQL> You are setting yourself up for failure.
There is no room in a relational database for a column named 'ID' or 'TYPE'. Perhaps what you intended was MSG_ID and MSG_TYPE.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Sat Jun 30 2007 - 09:23:57 CDT