Help for this page

Select Code to Download


  1. or download this
    $ cat sharan.txt 
    apple <= banana;
    cat := dog;
    elephant <= flag;
    
  2. or download this
    $ perl -ne '
     chomp;
    ...
      create table sharan_txt(col1 text, col2 text);
      copy sharan_txt from stdin csv delimiter E'\t';
     "
    
  3. or download this
    $ psql -d test -c "select * from sharan_txt"
       col1   |  col2  
    ...
     elephant | flag
    (3 rows)