Help for this page

Select Code to Download


  1. or download this
    create table tbl_name (
        product_id      int,
        model_number    int,
        description     char[]
    );
    
  2. or download this
    create table new_tbl_name (
        product_id      int,
        model_number    int,
        description     text
    );
    
  3. or download this
    my $text = join('', <STDIN>);
    my $pg_array = 
    ...
        insert into tbl_name (product_id, model_number, description)
        values ($prod_id, $mod_num, $pg_array)
    ");