How to insert random unique values in 2 columns ?


Posted on 16th Feb 2014 07:03 pm by admin

I have table with 2 columns

Create Table code_for_code (
first_code varchar2(10) unique not null,
Did you know?Explore Trending and Topic pages for more stories like this.
second_code varchar2(10) unique not null );

and i want to make PL/SQL code to insert random unique values in both columns , for instance 20 records ........ how can i do something like that ?
No comments posted yet

Your Answer:

Login to answer
262 Like 17 Dislike
Previous forums Next forums
Other forums

Not showing whole name with mail () script
I sent up a simple mail form with the PHP mail() script. One problem is when it sends an email with

Help Optimizing code
Good Morning,

I wrote a small import function for a website of mine and I know there has to b

PHP url branch??
Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

"SEO" URLs
Hey, I'm wondering how to go about creating and using these types of URLs. I'm presuming it's PHP th

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

quotes changing
hi all

in my content

opening quotes " changes to “

close qu

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash