Mercurial > sqlpython
diff docs/source/comparison.rst @ 342:80a1976decf2
no changes i hope
author | Catherine Devlin <catherine.devlin@gmail.com> |
---|---|
date | Tue, 14 Apr 2009 16:11:59 -0400 |
parents | ed02c8b1a9b6 |
children |
line wrap: on
line diff
--- a/docs/source/comparison.rst Thu Apr 09 00:15:09 2009 -0400 +++ b/docs/source/comparison.rst Tue Apr 14 16:11:59 2009 -0400 @@ -476,7 +476,30 @@ old connection. It keeps both connections alive, and switching between them is far more convenient than creating new connections:: - Enter sample here + 0:jrrt@orcl> connect -a scott/tiger@orcl + 1:scott@orcl> select * from dept; + + DEPTNO DNAME LOC + ------ ---------- -------- + 10 ACCOUNTING NEW YORK + 20 RESEARCH DALLAS + 30 SALES CHICAGO + 40 OPERATIONS BOSTON + + 4 rows selected. + + 1:scott@orcl> 0:select * from party; + + NAME STR INT WIS DEX CON CHA + ------- --- --- --- --- --- --- + Frodo 8 14 16 15 14 16 + Gimli 17 12 10 11 17 11 + Legolas 13 15 14 18 15 17 + Sam 11 9 14 11 16 13 + + 4 rows selected. + + 1:scott@orcl> 0: psql-like shortcuts -------------------