Changeset 4450:d995326e7fde in livinglogic.python.xist for src/ll/orasql/scripts/oragrant.py

Show
Ignore:
Timestamp:
04/05/11 17:38:02 (8 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add oragrant example.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/orasql/scripts/oragrant.py

    r4449 r4450  
    5656    ``-e``, ``--encoding`` : encoding 
    5757        The encoding of the output (if ``-x`` is not given; default is ``utf-8``). 
     58 
     59 
     60Example 
     61------- 
     62 
     63Grant all privileges that ``alice`` has in the schema ``user@db`` to ``bob`` in 
     64``user2@db2``:: 
     65 
     66    $ oragrant user/pwd@db -x user2/pwd2@db2 -m '{"alice": "bob"}' -v 
    5867""" 
    5968