Re: Automatic random number on row creation
- From: "Mark C. Stock" <mcstockX@Xenquery .com>
- Date: Thu, 29 Dec 2005 13:05:41 -0500
"Cris Carampa" <cris119@xxxxxxxxxxxxx> wrote in message
news:43b40de0$0$329$5fc30a8@xxxxxxxxxxxxxxxxxx
> Cris Carampa wrote:
>
>> insert into myTable (key,otherInfos) values
>> (dbms_random.string('U',20),"myotherinfos");
>>
>> Or am I missing something?
>
> Yes, I missed the word "unique" in the original post. Mladen's response is
> perfect, then.
>
> --
>
looks like concatenating a sequence or just trapping UK violation would
finish the story
++ mcs
.
- Follow-Ups:
- Re: Automatic random number on row creation
- From: Mladen Gogala
- Re: Automatic random number on row creation
- References:
- Automatic random number on row creation
- From: Kuon
- Re: Automatic random number on row creation
- From: Cris Carampa
- Re: Automatic random number on row creation
- From: Cris Carampa
- Automatic random number on row creation
- Prev by Date: Re: File transfer through the database
- Next by Date: Re: Use of TEMP TS with INSERT
- Previous by thread: Re: Automatic random number on row creation
- Next by thread: Re: Automatic random number on row creation
- Index(es):
Relevant Pages
|