Generating database in the user schema other than the login user
I have to generate database into ESP schema.
But in my office the schema specific users don't have create privileges(ex: ESP user for ESP schema).
Cause, we usually have to work on more than one project at a time, so our DBA gives all the privileges to my own id(ex: navya) and only select privilege to schema specific users. So, when i have to generate a database, if i give ESP login details, i get error of insufficient privilege. And if i give my personal login the database is getting generated in my schema. All i am doing right now is generating ddl files and in those files adding schema name in front of the objects.
But, is there any better way to do it.
Thanks.
Navya.
Hai!
I belive it is not a license issue.
Please tell me the following things-
How can I mapped the period on the numbering series window ?
>> Their is a field in Numering window as Period Indiator (if, not enable using form settings)
this should be same as Period Indicator in Posting Period window of selected period
How can I set the default periodset for all users. where is the option to set it for all users?
>> First, click the Drop down box of Posting Period in Numbering Window
select the current period. Numbering window display only the Numbering series linked with current Period.
select any one Numbering series on those by cliking on it's row no.
Click to Set as Default Button in right coner of Numbering window.
Select second option For All Users
Now, try to open the Document for which you have done this settings.
Regards,
Thanga Raj.K
+91 9710445987
Similar Messages
-
How to connect to database with a schema other than current user?
Dear all,
I would like to know whether it is possible to specify a specific schema while connecting to a database directly by SQL*Plus command. Usually here is what I do (assuming that db01.WORLD is already in tnsnames.ora)
$ sqlplus scott/[email protected], in this case the user is SCOTT and the current schema is also SCOTT. If I want to change the current schema I have to use an ALTER SESSION SET CURRENT_SCHEMA command. So what I would like to know is that whether there is an alternative, that is, proceeding in a way where the user SCOTT connects directly (by using SQL*Plus shell) to a SCHEMA other than SCOTT (in other words, is it possible to specify the desired schema at the connection time, for example user SCOTT who connects under a schema named 'management')
Thanks in advance,
DariyooshThe ordinary way to do this is to
1 - grant object privileges from the other schema to scott (Refer to the GRANT command in the online documentation)
2 - create a private synonym in the Scott user (Look up CREATE SYNONYM in the documentation)
The only other solution would be to make sure to create an after login trigger running the alter session command.
Finally two words of advise
1 You are recommended to leave the user Scott alone, and not mess it up with your own additions.
2 You seem to treat this forum as a free Oracle class. As the people responding here are volunteers you are kindly advised to stop doing that and use the online documentation at http://tahiti.oracle.com and read at least the 'Getting Started' document and/or the '2-Day' document for your unknown version of Oracle.
Sybrand Bakker
Senior Oracle DBA -
Generating CDS artifacts in schema other than _SYS_BIC fails
Hello,
I am using a HANA cloud trial account and I am trying to generate XS Core Data Service (CDS) tables in a schema other than '_SYS_BIC'. The error message thrown during activation is
Failed to generate CDS artifact "p12345trial.myhanaxs.ivyrepxs::partner" to schema "XYZ" as index server config switch "view_activation_for_hcp" is set. In this mode only generation to schema "_SYS_BIC" is allowed.
Any suggestions please?
Regards
AjayI am facing the same challenge too.
1. Schema: The test shema can be activated with no error, but not show up in system catalog;
2. Table: same error. Then with the _SYS_BIC only message, I tried to activate the hdbtable under _SYS_BIC schema. It can, but _SYS_BIC is not listed in the system catalog.
Thanks,
Danny -
On an iPad, how do I :
Allow User To Enter Custom Text
(Dropdown only) Enables users to enter a value other than the ones in the list.'?Are you using the built-in Currency option under the Format tab? If so,
what you're describing should not happen. -
USERS OTHER THAN ORACLE DEFAULT USERS IN DATABASE
Hi,
I want to get users other than default oracle users.I used the below query still i get default users
select username from dba_users where username < >'SYS' ;
DIP
MDDATA
ORACLE_OCM
SCOTT
SYSMAN
CTXSYS
DBSNMP
EXFSYS
XDB
SI_INFORMTN_SCHEMA
ANONYMOUS
DMSYS
WMSYS
ORDSYS
OLAPSYS
ORDPLUGINS
MDSYS
MGMT_VIEW
SYSTEM
OUTLN
I want users that are created how to get that.
Pls help me with the query.
Thnx1* select username, created from dba_users order by 2
SQL> /
USERNAME CREATED
SYSTEM 15-AUG-09
SYS 15-AUG-09
OUTLN 15-AUG-09
DIP 15-AUG-09
ORACLE_OCM 15-AUG-09
DBSNMP 15-AUG-09
APPQOSSYS 15-AUG-09
WMSYS 15-AUG-09
EXFSYS 15-AUG-09
CTXSYS 15-AUG-09
ANONYMOUS 15-AUG-09
USERNAME CREATED
XDB 15-AUG-09
XS$NULL 15-AUG-09
MDSYS 15-AUG-09
ORDSYS 15-AUG-09
SI_INFORMTN_SCHEMA 15-AUG-09
ORDDATA 15-AUG-09
ORDPLUGINS 15-AUG-09
OLAPSYS 15-AUG-09
MDDATA 15-AUG-09
SPATIAL_WFS_ADMIN_USR 15-AUG-09
SPATIAL_CSW_ADMIN_USR 15-AUG-09
USERNAME CREATED
SYSMAN 15-AUG-09
MGMT_VIEW 15-AUG-09
APEX_030200 15-AUG-09
APEX_PUBLIC_USER 15-AUG-09
FLOWS_FILES 15-AUG-09
OWBSYS 15-AUG-09
OWBSYS_AUDIT 15-AUG-09
SCOTT 15-AUG-09
IX 07-MAY-10
BI 07-MAY-10
SH 07-MAY-10
USERNAME CREATED
HR 07-MAY-10
PM 07-MAY-10
OE 07-MAY-10
DBADMIN 07-MAY-10
BONGO 22-MAY-10
USER1 30-AUG-10
SAM 29-SEP-10
40 rows selected.
SQL> SELECT USERNAME FROM DBA_USERS WHERE CREATED > TO_DATE('2009-09-09','YYYY-MM-DD');
USERNAME
USER1
BONGO
DBADMIN
HR
SAM
OE
SH
PM
BI
IX
10 rows selected.
SQL> still confused?
Handle: newbie
Status Level: Newbie
Registered: Jul 1, 2010
Total Posts: 57
Total Questions: 44 (40 unresolved)
so many questions & so few answers.
Edited by: sb92075 on Oct 14, 2010 10:15 AM -
Is it possible to Install Lion while having the Application Folder and/or the User Folder on separate drives (other than the startup disk) Leopard didn't really support this as it would have errors with e-mail and other services that where not stored directly on the startup disk.
It's possible, but don't put the Applications folder elsewhere, and keep at least a miminal Admin account on your startup drive (so you can still log on to do troubleshooting, etc., if there's a problem with the other drive).
Many apps are expected to be in the Applications folder on the OSX drive; they may not work on a different drive and/or may not be found or updated when updates are available. Apple and Adobe apps, especially, are subject to this. Don't put them in folders, either, as similar things may happen.
Besides, apps don't take up much space anyway, it's the data that may.
It's often better to keep the home folders on the OSX drive, but put large data folders on a separate drive, such as iPhoto, iTunes, or large video collections. -
How to restrict the user(Schema) from deleting the data from a table
Hi All,
I have scenario here.
I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
Below is the example.
I have created a table employee in abc schema which has two values.
EMPLOYEE
ABC
XYZ
In the above scenario the abc user can only fire select query on the EMPLOYEE table.
SELECT * FROM EMPLOYEE;
He should not be able to use any other DML commands on that table.
If he uses then Insufficient privileges error should be thrown.
Can anyone please help me out on this.Hi,
kumar0828 wrote:
Hi Frank,
Thanks for the reply.
Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
See the forum FAQ {message:id=9360002}
The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
USER != 'ABC'
OR TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
SELECT *
FROM table_x
;what actually runs is:
SELECT *
FROM table_x
WHERE USER != 'ABC'
OR TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
;If you want to prevent any user from deleting rows, then the policy function can return just this string
0 = 1Then, if somone says
DELETE employee
;what actually gets run is
DELETE employee
WHERE 0 = 1
;No error will be raised, but no rows will be deleted.
Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema. -
Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.The Oracle documentation has a good overview of the options available
Generating XML Data from the Database
Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
You can also find some information in XML DB FAQ -
Error creating dynamic page in an application with a schema other than portal30
Running 9iAS 1.0.2.2 on Solaris.
Database 8.1.7.1
I cannot seem to create a default dynamic page (select 'x' from dual) in an application that has a schema (e.g. test) other
than portal30. The error seems to be when portal tries to compile the dynamic-page package, it references itself from
within the package but prefixing the call with the other (test) schema. It never seems to compile? What seems to be the
problem? Any ideas?If you are using any database object other than the applcation owned,then it has to be prefixed with the schema owner.
For example,
if the application schema is based on the schema "schema1" (say)
and your query is based on one of the object on "schema2"
and if you have necessary privilegves to access that object from schema2, then the compiler wont throw any error.
Can u explain, what u problem you are experiencing in detail?
(Also, if u give me the portal version, I can cross-verify that). -
How to enable remote debugging for a session other than the current one
Hi all,
I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
The docs indicate that I should be able to do so:
dbms_debug_jdwp.connect_tcp(
host IN VARCHAR2,
port IN VARCHAR2,
session_id IN PLS_INTEGER := NULL,
session_serial IN PLS_INTEGER := NULL,
debug_role IN VARCHAR2 := NULL,
debug_role_pwd IN VARCHAR2 := NULL,
option_flags IN PLS_INTEGER := 0,
extensions_cmd_set IN PLS_INTEGER := 128);
But when I try (even as sys), I get the following:
exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
ORA-06512: at line 1
00022. 00000 - "invalid session ID; access denied"
*Cause: Either the session specified does not exist or the caller
does not have the privilege to access it.
*Action: Specify a valid session ID that you have privilege to access,
that is either you own it or you have the CHANGE_USER privilege.
I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
Regards,
K. -
Hello , I think the below event alert 4113 is very common and is due to that only one database copy is present in DAG but is there any way we can stop this alert for the
specific database.
The message tells that there is only one copy of the database - create another copy and the warning message will go away but
we do not want to create another copy. So is there any way we can stop this event getting generated.
Database redundancy health check failed.
Database copy: DB-1
Redundancy count: 1
Error: The number of configured copies for database 'DB-1' (1) is less than the required redundancy count (2).
Name Status RealCopyQueu InspectorQue ReplayQueue CIState
e
ue
DB-1\ Mounted 0 0 0
Healthy
MAILSRV2
===============
Full Status
===============
Identity : DB-1\MAILSRV2
Name : DB-1\MAILSRV2
DatabaseName : DB-1
Status : Mounted
MailboxServer : MAILSRV2
ActiveDatabaseCopy : MAILSRV2
ActivationSuspended : False
ActionInitiator : Unknown
ErrorMessage :
ErrorEventId :
ExtendedErrorInfo :
SuspendComment :
SinglePageRestore : 0
ContentIndexState : Healthy
ContentIndexErrorMessage :
CopyQueueLength : 0
ReplayQueueLength : 0
LatestAvailableLogTime :
LastCopyNotificationedLogTime :
LastCopiedLogTime :
LastInspectedLogTime :
LastReplayedLogTime :
LastLogGenerated : 0
LastLogCopyNotified : 0
LastLogCopied : 0
LastLogInspected : 0
LastLogReplayed : 0
LogsReplayedSinceInstanceStart : 0
LogsCopiedSinceInstanceStart : 0
LatestFullBackupTime :
LatestIncrementalBackupTime :
LatestDifferentialBackupTime :
LatestCopyBackupTime :
SnapshotBackup :
SnapshotLatestFullBackup :
SnapshotLatestIncrementalBackup :
SnapshotLatestDifferentialBackup :
SnapshotLatestCopyBackup :
LogReplayQueueIncreasing : False
LogCopyQueueIncreasing : False
OutstandingDumpsterRequests : {}
OutgoingConnections :
IncomingLogCopyingNetwork :
SeedingNetwork :
ActiveCopy : True
ThanksThat regex looks odd to me. I assume you have databases with names like "Mailbox Database <ten digit number>" (standard Exchange default name, in other words), "ABC-DB" and "HOME-DB". If this is the case, wouldn't
you want "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"? THis works if I run it from a prompt:
[PS] C:\Scripts>"Mailbox Database 0123456789" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"Mailbox Database 123456789" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"Mailbox Database 12345678910" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"HOME-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"ABC-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"ABCD-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"HOM-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
I find it's easiest to test RegEx's from the prompt this way. If the above isn't your goal, let us know, and we'll see if we can come up with something better. -
For years buying a PC you had the option of choosing additional software during configuration, but the iMac only has a few options and I know Apple has more software available, so what's the deal?
I really want a decent E-mail program, nobody does it better than MS Outlook, at least in my opinion, and I hate the E-mail program that is on my iPad, so that would be something I'd really want to add, unless of course the one on the iMac is better than the one on the iPad. You can't even create new folders, it doesn't give you direct access to your calendar, etc., I digress, sorry.WVL57 wrote:
Thank you everyone, very helpful. I still don't understand why Apple forces you into multiple transactions when buying and configuring a new computer, or why you would have to go to the app store and download the software that is suppose to come with the computer.
I think there are two reasons why Apple does it differently. There is virtually no difference between a Windows PC you buy from Dell or the one you buy from Asus. They all pretty much use off the shelf components and slap their name on the box. That left PC manufacturers with few options for differentiating themselves. One was price which is why they've all raced to the bottom and the other was service. One inexpensive service they could provide was pre-installing software. It cost them almost nothing, made them a tidy profit, and cost you more than it should have.
The second reason is that Apple likes to provide a clean service. A Mac has no stickers and no crapware. You decide what to install and, if you choose, what stickers to put on it.
why you would have to go to the app store and download the software that is suppose to come with the computer.
The software you refer to is tied to your account, not the computer. To download the software you have to provide your Apple User ID which now ties the software to you. If you sell the computer that software is still yours, as are any future upgrades you might buy for it. -
Automatic Payment F110, Using currency other than the currency of invoice.
I want know if it is possible to make automatic payment by F110, paying through a currency other than the currency of the invoice?
Using the f-53 transaction i know that is possible, but i must use the F110, because I generate a file to send to the Bank.
Thks,
FernandoInvoice Booked for USD but payment want INR through F110, Cheque printing.
Christoph Gilberg Mar 26, 2015 8:27 PM (in response to Sam P)
Hi Sam,
you have to add this information at the time of invoice entry. Screenshot from F-43 below.
Best Regards,
Christoph -
How to transport a VC model other than the simple import/export?
Hello,
What are the other options I have to transport a VC moel from one portal to another other than the export/import option that goes through my local filesystem?
If I will use the portal transport package to transfer the iView generated it won't work since the iView doesn't contain the complied application in it that needs to be deployed to the server. So what are the other option I have? And as a followup question, does VC integrated with NWDI or NWDS in some way?Hi,
> If I will use the portal transport package to
> transfer the iView generated it won't work since the
> iView doesn't contain the complied application in it
> that needs to be deployed to the server.
Are you Compiling the VC model with "Deploy Model with PAR" checkbox in compiler tab checked? If you create a transport package and add all objects in the model folder, it will work.
What are the issues you are facing in portal transport import?
Regards,
Sooraj -
Running a java program in a directory other than the current directory
How do I run a java program that's located in a directory other than the current directory?
There is a file Test.java in /dir1/subdir1. If my current directory is anywhere other than that directory, say /dir2/subdir2, I can compile Test.java by using:
javac -classpath /dir1/subdir1 /dir1/subdir1/Test.java
But when I try to run it with:
java -classpath /dir1/subdir1 /dir1/subdir1/Test
I get a java.lang.NoClassDefFoundError: \dir1\subdir1\Test
Any thoughts?You need to specify just the name of the class you want to run. So java -classpath /dir1/subdir1 Test
Maybe you are looking for
-
Dear All, I am uploading GL open items for that i created GL upload account, after uploading is over how can i make this upload GL account balacnce Zero. Regards, Suresh Patipati.
-
Using iPhone with family ATT plan
Hello all. So I think I'm going to buy an iPhone today, but is there any way to use it with my family ATT plan? Can I just like put the SIM card in or do I have to have a specific plan just for me and the iPhone? Thanks a lot
-
Adobe Flash Player update web address
I have been prompted to update Flash Player, and then landed at a webpage from which to download the update with an address containing "get3.adobe.com". I checked the web address of the page where you can download Flash Player to begin with by follow
-
Hi i was trying to create a better stronger wireless network at my house. I picked up a Cisco Air-Lap1242AG on an auction thinking it would give me more range. Now trying to set it up i am trying to figure out if i made a mistake? Can this router
-
According to saleorder create purchaseorder
Dear all: I'm some requirement .if anyone can resolve it ,I appreciate you very much. Detail demand as follow: 1.the itemcode in sale order is combo item that is comprises 2 components itemcode. For example: itemcode qty 1