Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: a user to use only import

Re: a user to use only import

From: Matthias Hoys <anti_at_spam.com>
Date: Tue, 22 Aug 2006 19:28:18 +0200
Message-ID: <44eb3eb2$0$28401$ba620e4c@news.skynet.be>

"delcenserie christophe" <tof_at_debian.linux> wrote in message news:pan.2006.08.22.04.56.39.425199_at_debian.linux...
> thanks for your help.
>
> I have the solution. (from the forum oracle.com)
>
> http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a90842/ch10.htm#1005767
>
> for example :
>
> At system user
>
> SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH',
> 'CONNECT',null,null, 'DISABLED', NULL, NULL);
>
> 1 ligne créée.
>
> SQL> grant create session to batch;
>
> Autorisation de privilèges (GRANT) acceptée.
>
> SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH',
> 'SELECT',null,null, 'DISABLED', NULL, NULL);
>
> 1 ligne créée.
>
> the result
>
> oracle_at_debian:~$ sqlplus batch/batch;
>
> SQL*Plus: Release 10.2.0.1.0 - Production on Mar. Août 22 06:53:00 2006
>
> Copyright (c) 1982, 2005, Oracle. All rights reserved.
>
>
> Connecté à :
> Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
> With the Partitioning, OLAP and Data Mining options
>
> SQL> select user from dual;
> SP2-0544: Commande "select" désactivée dans le profil utilisateur du
> produit
> SQL>
>
> oracle_at_debian:~$ exp batch/batch owner=batch file=test.dump
>
> Export: Release 10.2.0.1.0 - Production on Mar. Août 22 06:54:32 2006
>
> Copyright (c) 1982, 2005, Oracle. All rights reserved.
>
>
> Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -
> Production
> With the Partitioning, OLAP and Data Mining options
> Export fait dans le jeu de car WE8DEC et jeu de car NCHAR AL16UTF16
> le serveur utilise le jeu de caractères WE8ISO8859P1 (conversion possible)
>
> Prêt à exporter les utilisateurs spécifiés ...
> . export des actions et objets procéduraux de pré-schéma
> . export des noms de bibliothèque de fonctions étrangères pour
> l'utilisateur BATCH
> . export des synonymes de type PUBLIC
> . export des synonymes de type PRIVATE
> ...
>
>
>
> Thanks for all

Nice, I even didn't know (or remember :-)) that this existed. I learned something new today :-)

Matthias Received on Tue Aug 22 2006 - 12:28:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US