Why I cannot select on user_tables, user_views etc when I am DBA?
I came across something odd:
I am logged on as DBA, when I do:
Select * from user1.user_tables
It gives me
ERROR at line 1:
ORA-00942: table or view does not exist
I know I can use:
Select * from dba_tables where owner = ‘USER1’
but I am DBA and I can do select on every other thing in USER1 schema; why do I get errors on such statements.
Run the following, send the results :
DEFINE B='YOUHRIS'
Prompt USER INFORMATION
SELECT
' User '||username||'''S Account Information',
' Account Status => '||Account_status,
' Default Tablespace => '||default_tablespace,
' Temp Tablespace => '||temporary_tablespace
from dba_users where username=upper('&&B')
prompt OBJECTS OWNED BY USER
select a.username LoginId,
'User '||nvl(b.owner,'Does Not Own any objects..') ||' Owns ' ||nvl(b.cou,0)|| ' Nos Of ' ||nvl(b.object_type,'Objects')
FROM
dba_users a,
(SELECT OWNER,OBJECT_TYPE,COUNT(OBJECT_NAME) cou FROM DBA_OBJECTS GROUP BY OBJECT_TYPE,OWNER ORDER BY OWNER,OBJECT_TYPE) b
where a.username=b.owner (+) and a.username=upper('! &&B')
Prompt SYSTEM PRIVIELGES GRANTED TO THE USER
SELECT
nvl(b.grantee,'No_System_Privileges_Granted'),nvl(b.privilege,'null')
from
dba_users a,dba_sys_privs b
where a.username =b.grantee(+) and grantee=upper('&&B')
Prompt ROLES GRANTED TO THE USER
SELECT
nvl(b.grantee,'No_Roles_Granted'),nvl(b.granted_role,'null')
from
dba_users a,dba_role_privs b
where a.username =b.grantee(+) and grantee=upper('&&B')
Oded
[www.dbsnaps.com]
[www.orbiumsoftware.com]
Similar Messages
-
Why i cannot download at appstore?? When i select.. It told to update payment method
To change your payment method see:Change or remove your payment information from your iTunes Store account (Apple ID) and if you continue to have problems, contact the support staff for the stores at http://www.apple.com/emea/support/itunes/contact.html
-
WHY do I lose all my playlist etc when adding to my iPod? Do I seriously have to keep everything in iTunes permanently?
Keeping everything in an iTunes library, which you also backup, is the recommended way to deal with things. That way should your device need restoring you can connect to iTunes, restore and reload your content easily. The alternative is to manually manage the device, however should you need to restore it, damage it, or lose it, then you will also have lost the effort involved in ripping and organizing the media that you put onto it, and would need to repeat that process.
tt2 -
Cannot select parity in new disk when choosing tiered storage
Hello
I am running a small lab experiment. I want to add 3 HDD and 1 SSD to a pool and create a tiered parity vDisk. But I cannot do this, the option is just not there. I figured it was because of only 1 SSD, so I added another, option still not
there. So I added a 3. The parity option is still not there. I'm running this experiment in a virtual environment in hyper-v and the disk are added thru hyper-v. But I have set the disks up correctly like this:
Get-StoragePool
SATA_Pool | Get-PhysicalDisk | ? FriendlyName -eq "PhysicalDisk4" |
Set-PhysicalDisk -Mediatype SSD
Get-StoragePool
SATA_Pool | Get-PhysicalDisk | ? FriendlyName -eq "PhysicalDisk1" |
Set-PhysicalDisk -Mediatype HDD Get-StoragePool SATA_Pool | Get-PhysicalDisk |
? FriendlyName -eq "PhysicalDisk2" | Set-PhysicalDisk -Mediatype HDD
Get-StoragePool SATA_Pool | Get-PhysicalDisk | ? FriendlyName -eq
"PhysicalDisk3" | Set-PhysicalDisk -Mediatype HDD
Is this a bug or what is the requirement to get this working?
ThanksYou cannot use parity or dual parity when using tiered storage. See:
Automated Tiered Storage with Windows Server 2012 R2
http://blogs.technet.com/b/keithmayer/archive/2013/09/13/step-by-step-build-an-automated-storage-tiers-lab-with-windows-server-2012-r2-and-powershell.aspx
Note: When
using Storage Tiers, Parity layouts are not supported.
StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts. -
I am trying to find out about on line payment dates.
When I have made payments via my checking account, I am able to schedule those payments.
Today I made a credit card payment and was unable to schedule that payment for my due date.
I was charged today.
I don't understand why I can pre-schedule an e-check but not a credit card payment.Hey,
I think you will find that you have to have a debit/credit card stored on yur account regardless of whether your have iTunes Credit or want to purchase a free App. I don't know why, I assume its for ID verification or is part of the terms and conditions. I occasionally have to re-verify my credit card info even when just trying to run Update on one of my Apps or like I said downloading a free App.
If you need further clarification all you can do is contact iTunes Support:
https://expresslane.apple.com/ServiceOptionAction.action
Hope this helps. Andrew -
Why I cannot see the "Java Development " tag when I finished installation
Hi all
I have finished my reinstall of SAP Netweaver, and granted administrator all roles, but I still cannot see the "Java Development" tag in the head of the page. I don't know why.
How can I do it?
RegardsHi Wang,
The Java development role comes after the installation of the PDK file to your portal.
For Java development role, download the latest PDK from SDN and then import the .epa file in the portal. After its installation you will see the Java Devlopment role. Assign the role to the user and refresh the portal.
<i>Follow these steps:</i>
Once you have downloaded the PDK. Just extract it. You would have got the .rar file. For extracting this you use some rar extracter. If you want you can download the winrar from the following site:
<b>Winrar Setup:</b> http://www.freedownloadscenter.com/Utilities/Compression_and_Zip_File_Utilities/WinRAR.html
Then you can import this epa file into portal. When you will import this .epa file a new role for Java development will be added to the portal. Assign this role to your User.
For importing the .epa file .epa file u need to import from the portal (<b>System Admin>Transport>Import</b>). Here just give the path of your extracted .epa file.
<b>Role Name: com.sap.pdk.JavaDeveloper</b>
Now you are ready to use the PDK from EP.
I hope this helps you!!
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved. -
How do I select different colour text on my iPad Air?
You cannot change the color of text in Mail on an iOS device. You can only do Bold, Italics and Underline.
-
Panels tool bar is completely unresponsive. Cannot change to any of the alternatives.
I am using The most up to date Adobe Illustrator CC on Yosemite.I actually can't believe I was being that stupid.
Thank you very much! This solves the issue.
Many Thanks,
Ronan -
Cannot exclude unused styles, fonts etc when exporting InCopy story
My code:
do
//Find workspace
InterfacePtr<IWorkspace> ws(GetExecutionContextSession()->QueryWorkspace());
if(!ws)break;
//Save old export options
InterfacePtr<IInCopyInterchangeExportOptions> wsExportOptions(ws, UseDefaultIID());
if(!wsExportOptions)break;
wsUIDRef = ::GetUIDRef(ws);
boldAllResources = wsExportOptions->GetIncludeAllResources();
boldGraphicProxyData = wsExportOptions->GetIncludeGraphicProxyData();
//Change only 'all resources' export option to indicate whether all resources or only those used by the exported story are to be included
Utils<IInCopySharedUtils>()->SetInCopyInterchangeExportOptions(
wsUIDRef,
kTrue,
boldGraphicProxyData,
kTrue,
bnewAllResources);
bSuccess = kTrue;
}while(kFalse);
//Export the story
ErrorCode err = Utils<ISnippetExport>()->ExportInCopyInterchange(stream, uidList);
Whatever the value of 'bnewAllResources' the file generated by 'ExportInCopyInterchange' contains ALL styles, fonts, swatches etc. I want ONLY those used by the story in uidList.
I'm on Windows 7 with CS6 in InCopy.I have now discovered that if I change the export related options on the default workspace and then create a new document I get the desired reduction in xml when I export stories out of that new document. Is there a way to change the xml export options on an existing document?
-
I cannot select the last iPhone backup for a new iPhone restore
why
i cannot select the last iPhone backup for a new iPhone restore?Hey quarterback45,
Thanks for the question. This usually occurs when your new iPhone is on a earlier iOS version than that of which the backup was created with:
iOS: Unable to restore from backup of a newer device
http://support.apple.com/kb/TS3682
Thanks,
Matt M. -
When i place my photo, the adjustments tab does not pop up, and even when i click image at the top, I cannot select any adjustments-brightness/contrast,hue-saturation, color blance, etc..Anyone know what I am doing wrong?
Good day!
What is "place" supposed to mean – open, place as Smart Object, …?
What are the image’s Color Mode and bit depth?
Could you please post a screenshot with the pertinent Panels visible?
Does Window > Adjustments not raise the Adjustments Panel?
Regards,
Pfaffenbichler -
Dears,
i have this problem after i create tabular from depend on view
ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
this a query that i use
select
"INVOICE_DET",
"INVOICE_DET" INVOICE_DET_DISPLAY,
"INVOICE_ID",
"STORAGE_CODE",
"ITEM_QNTY",
"ITEM_PRICE",
"BONS_QNTY",
"DISC_VALUE",
"TOT_VAL",
"LOCATION_CODE",
"BATCH_DET",
"ITEM_CODE",
"ITEM_NAME",
"UOM_CODE",
"UOM_NAME",
"SIZE_CODE",
"SIZE_NAME",
"COLOR_CODE",
"COLOR_NAME",
"STOREG_BRCHAS_BATCHN",
"EXPR_DATE",
"PROD_DATE",
"ITEM_DET_ID"
from "#OWNER#"."BRCHAS_INVOICE_DET_VIEW"
this the view i created
CREATE OR REPLACE FORCE VIEW "RETAIL"."BRCHAS_INVOICE_DET_VIEW" ("INVOICE_DET", "INVOICE_ID", "STORAGE_CODE", "ITEM_QNTY", "ITEM_PRICE", "BONS_QNTY", "DISC_VALUE", "TOT_VAL", "LOCATION_CODE", "BATCH_DET", "ITEM_CODE", "ITEM_NAME", "UOM_CODE", "UOM_NAME", "SIZE_CODE", "SIZE_NAME", "COLOR_CODE", "COLOR_NAME", "STOREG_BRCHAS_BATCHN", "EXPR_DATE", "PROD_DATE", "ITEM_DET_ID") AS
SELECT invoice_det, invoice_id, storage_code, item_qnty, item_price,
bons_qnty, disc_value, tot_val, location_code, batch_det, item_code,
item_name, uom_code, uom_name, size_code, size_name, color_code,
color_name, storeg_brchas_batchn, expr_date, prod_date, item_det_id
FROM (SELECT d.invoice_det, d.invoice_id, d.storage_code, d.item_qnty,
d.item_price, d.bons_qnty, d.disc_value, d.tot_val,
d.location_code, d.batch_det, i.item_code,
get_item_name (i.item_code) item_name, i.uom_code,
get_uom_desc (i.uom_code) uom_name, i.size_code,
get_size_name (i.size_code) size_name, i.color_code,
get_color_name (i.color_code) color_name,
dd.storeg_brchas_batchn, b.expr_date, b.prod_date,
i.item_det_id
FROM brchas_invoice_det d,
brchas_batch dd,
brchas_batch_det b,
item_uom_size_color i
WHERE dd.storeg_brchas_batchinternn = b.storeg_brchas_batchinternn
AND d.batch_det = b.batch_det
AND b.item_det_id = i.item_det_id
AND d.batch_det IS NOT NULL
UNION ALL
SELECT d.invoice_det, d.invoice_id, d.storage_code, d.item_qnty,
d.item_price, d.bons_qnty, d.disc_value, d.tot_val,
d.location_code, d.batch_det, i.item_code,
get_item_name (i.item_code) item_name, i.uom_code,
get_uom_desc (i.uom_code) uom_name, i.size_code,
get_size_name (i.size_code) size_name, i.color_code,
get_color_name (i.color_code) color_name,
NULL storeg_brchas_batchn, NULL expr_date, NULL prod_date,
i.item_det_id
FROM brchas_invoice_det d, item_uom_size_color i
WHERE d.item_det_id = i.item_det_id
AND d.batch_det IS NULL) ;
CREATE OR REPLACE TRIGGER "RETAIL"."BRCHAS_INVOICE_DET_VIEW_TRG"
INSTEAD OF DELETE OR INSERT OR UPDATE
ON RETAIL.BRCHAS_INVOICE_DET_VIEW
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
V_PRICE NUMBER;
V_BONUS_QNTY NUMBER;
V_DISC_VAL NUMBER;
BEGIN
IF INSERTING THEN
INSERT INTO BRCHAS_INVOICE_DET
(INVOICE_DET,
INVOICE_ID ,
STORAGE_CODE,
ITEM_QNTY,
ITEM_PRICE,
BATCH_DET,
BONS_QNTY,
TOT_VAL,
LOCATION_CODE,
DISC_VALUE,
CREATED_USER,
CREATED_DATE,
ITEM_DET_ID
VALUES
("BRCHAS_INVOICE_DET_SEQ".nextval,
:NEW.INVOICE_ID ,
:NEW.STORAGE_CODE,
:NEW.ITEM_QNTY,
:NEW.ITEM_PRICE,
:NEW.BATCH_DET,
:NEW.BONS_QNTY,
(:NEW.ITEM_QNTY * NVL(:NEW.ITEM_PRICE,0)) - NVL(:NEW.DISC_VALUE,0),
:NEW.LOCATION_CODE,
:NEW.DISC_VALUE,
nvl(v('APP_USER'),user),
sysdate,
:NEW.ITEM_DET_ID);
ELSIF UPDATING THEN
UPDATE BRCHAS_INVOICE_DET
SET INVOICE_ID =:NEW.INVOICE_ID,
STORAGE_CODE =:NEW.STORAGE_CODE,
ITEM_QNTY =:NEW.ITEM_QNTY,
ITEM_PRICE = :NEW.ITEM_PRICE,
BATCH_DET =:NEW.BATCH_DET,
BONS_QNTY = :NEW.BONS_QNTY,
TOT_VAL =(:NEW.ITEM_QNTY * NVL(:NEW.ITEM_PRICE,0)) - NVL(:NEW.DISC_VALUE,0),
LOCATION_CODE =:NEW.LOCATION_CODE,
DISC_VALUE = :NEW.DISC_VALUE,
ITEM_DET_ID =:NEW.ITEM_DET_ID
WHERE INVOICE_DET =:NEW.INVOICE_DET;
ELSE
DELETE FROM BRCHAS_INVOICE_DET
WHERE INVOICE_DET =:OLD.INVOICE_DET;
END IF;
EXCEPTION
WHEN OTHERS THEN
-- Consider logging the error and then re-raise
RAISE;
END BRCHAS_INVOICE_DET_VIEW_TRG;
ALTER TRIGGER "RETAIL"."BRCHAS_INVOICE_DET_VIEW_TRG" ENABLE;
please i need help
Thanks
AhmedHi,
This might help
http://www.techonthenet.com/oracle/errors/ora01446.php
Regards,
Jari -
Why i cannot delate my photos when i press select? Icon for delete is not appear.
Why i cannot delate my photos when i press select? Icon for delete is not appear.
Did you use iTunes to sync those photos onto your device? If so then the only way to get them off is to use iTunes to sync them off.
When you sync them on you choose a folder and say 'put all the photos in here on my iPad', so to take them off you need to deselect that folder or remove photos from that folder and sync to take them off. -
I am installing iCloud. My last step is to update store preferences. All selections (music, apps, books, etc.) are grey and cannot be ticked as suggested. Any ideas?
I'm assuming that Rosersberg is in Sweden (?). If it is then you are in a country where music can't currently be re-downloaded from the store, only apps and ibooks. If you still have your old computer with your music on it then you should be able to copy it over from it e.g. via file sharing, an external drive : copying content.
-
Cannot select multiple iPhoto events for screen saver anymore... why?
I previously had Lion and just upgraded to Mavericks last week. My screen saver settings were wiped out (no big deal), so I went into the settings to select the events, faces, etc. I had previously selected to run. But when I went to try put things back to normal, it looks as if you can only select one event, face, etc... not multiples. Am I missing something? Or is that the way things are now?
iPhoto 9.4.3
Maybe you are looking for
-
I was halfway updating my phone to iOs7 when it froze halfway through where it shows the apple symbol. So I turned it off and now it says that I have to connect to iTunes. So I did and it said it was in the recovery mode and should be restored. I res
-
Connection Failed Error in OBI 11.1.1.7
Hi, While trying to import the metadata from the Oracle Database i am getting the "Coonnection Failed" error in OBIEE 11.1.1.7 on windows 7. For this i have followed the below steps: 1. Copy the tnsnames.ora file from Oracle Database. Path : C:\oracl
-
hi, does anyone know how to download music to my nokia 2330 classic? and how big is the memory? there is no memory card. By the way, nokia people, the 'manual' is not at all helpful!!
-
Using Data Pump to get a copy of all the CREATE TABLSPACE DDL in a database
I have been looking through the documentation for a way to export. I was thinking I could get the DDL using the below and them don an IMPDP SQLFILES=yyy.sql cat expddl.sql DIRECTORY=dpdata1 JOB_NAME=EXP_JOB CONTENT=METADATA_ONLY FULL=yes DUMPFILE=exp
-
Hi my friends, I created a JSP file that contains a report built using Reports Builder. When I run this page using a browser, my report is displayed correctly, including the style imported from Report Builder. But when I try run this page as a portle