Able to run a query into a TOAD, but cannot create explain plan
HelloI can run a query into a FROG that uses the table to the other schema. I created the synonym and given rights over it.
But when I try to explain the plan using TOAD: I get Ora - 00942:Table or view does not exist.
Any suggestions...
Thank you...
user8941550 wrote:
HelloHe asks me the password for the DBA. I don't have that.
Is there another way...
If you do not have access to create the necessary objects on the database, you will not be able to use TOAD explain plan function, you will need to stick with the SQL * more to explain the method of diet (which to be honest is a better plan to explain anyway).
If you need create these objects, you'll have to ask your DBA to get approval, or get the DBA to create.
Tags: Database
Similar Questions
-
Was able to download and install the Prime Minister, but cannot install Photoshop Elements - get several error messages (software hacked, etc.). Any ideas?
Download from adobe.com or prodesigntools.com site.
Available downloadable Setup files:
- Suites and programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: XI, X | 9,8 | 9 standard
- First Elements: 13 | 12 | 11, 10 | 9, 8, 7
- Photoshop Elements: 13 | 12 | 11, 10 | 9,8,7
- Lightroom: 5.7.1. 5 | 4 | 3 | 2.7 (win),2.7 (mac)
- Captivate: 8 | 7 | 6 | 5
- Contribute: CS5 | CS4, CS3
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
window using the Lightroom 3 link to see these "important Instructions".
-
How to run a script in environment unix and how to run this program into a toad
Hello guys
Please help me!
How to run a script in the unix environment (Group of programs (cursor, programs...) stored in a file file.sql).
file.sql luks like this
WHENEVER OSERROR EXIT FAILURE
WHENEVER SQLERROR EXIT SQL. SQLCODE
SET the position
SET serveroutput size 1000000
coil ins2aais_jobs;
SELECT "FILE IS: ins2aais_jobs' FROM dual;"
SELECT "STARTED:' began, to_char (sysdate," YY/MM/DD HH24:MI:SS) TIME FROM dual; "
DECLARE
lv_upd_ct number: = 0;
lv_ins_ct number: = 0;
lv_exp_ct number: = 0;
---------------------
date of lv_FROM_date;
date of lv_to_date;
lv_mon_or_week varchar2 (20);
date of lv_week_end_date;
lv_month_indicator varchar2 (8);
-------------------------------------------------
Aais CURSOR IS
SELECT the ID substr (ID, 1, 7), SSN, FNAME, LNAME
, SUCCESS, COMPENSATE, INSTALLATION
, MODU, DRIVE, REVERSE, SUCC_RATE
TRANS_TOTAL, FILE_NAME, WEEK_END_DATE
RUN_DATE
OF weekly_aais;
-------------------------
I aais % rowtype;
-------------------------
PROCEDURE p_ins (r1 aais % ROWTYPE) IS
BEGIN
BEGIN
INSERT INTO AAIS_JOBS
(ID, SSN, SUCCESS, COMPENSATE, INSTALL, MODU
, DRIVE, REVERSE, SUCC_RATE, TRANS_TOTAL
FILE_NAME, WEEK_END_DATE, RUN_DATE
AAIS_FNAME, AAIS_LNAME
)
VALUES
(r1.ID, r1. SSN, r1. SUCCESS, r1. COMPENSATE, r1. INSTALLATION, r1. MODU
r1. DISK, r1. CONVERSELY, r1. SUCC_RATE, r1. TRANS_TOTAL
r1. File_name, r1. WEEK_END_DATE, r1. RUN_DATE
r1. FNAME, r1. LNAME
);
lv_ins_ct: = lv_ins_ct + 1;
EXCEPTION
WHILE OTHERS then
DBMS_OUTPUT. PUT_LINE ('ERROR IN THE INSERT STATEMENT');
DBMS_OUTPUT. Put_line (SQLERRM);
lv_exp_ct: = lv_exp_ct + 1;
END;
END;
------------------------------
PROCEDURE p_disp_msg IS
BEGIN
DBMS_OUTPUT. Put_line (' number of insertion: ' | to_char (lv_ins_ct));
DBMS_OUTPUT. Put_line (' number of Exceptions: ' | to_char (lv_exp_ct));
lv_ins_ct: = 0;
lv_exp_ct: = 0;
END;
---------------------------
BEGIN
lv_FROM_date: = to_date ('& 1', 'DD-MON-RR');
lv_to_date: = to_date ('& 2', 'DD-MON-RR');
lv_mon_or_week: = 'and 3';
lv_month_indicator: = di.get_month_ind (lv_mon_or_week, lv_FROM_date, lv_to_date);
------------------------------------
REMOVE FROM AAIS_JOBS
WHERE WEEK_END_DATE = lv_to_date;
-------------------------------------
COMMIT;
Aais OPEN;
LOOP
EXTRACT the aais IN i;
OUTPUT WHEN aais % NOTFOUND;
BEGIN
p_ins (i);
END;
END LOOP;
Aais CLOSE;
commit;
DBMS_OUTPUT. PUT_LINE ('INSERT INTO TABLE JOBS AAIS');
p_disp_msg;
-----------------------------------
END;
/
SELECT "FINISHED: ' | '. TO_CHAR (sysdate, "MM/DD/YY HH24:MI:SS'") FROM dual
/
spool off
"exit";
and also how we organize this into a toad?
Thank you.Hello
You vous connecter connect to oracle through unix and SQL prompt, run these commands in a .sql file.
Toad, you can run the instructions individually by selecting the sql statements or in a set with the F5 key.
Kind regards
AJR -
I changed the idle screen to login to one of the windows Vista by default (ssText3D.scr). and I get this message:
Direct3D 9.0 is required to run this screen saver, but cannot be found. Please install the latest version of DirectX and try to re-run the screen saver.
DirectX is installed. The screensaver works if someone is logged even if it is locked, but not to the logon screen. All the patches?
Hi pfdr70,1. are you able to apply other screensavers?We recommend trying the following steps and check the result.
Step 1: Download and install the latest video card driver.
1 visit the system manufacturer's Web site, download the Vista compatible video card driver and install it.
2 restart the computer so that the changes take effect after the driver installation.Step 2: Set the monitor to display better.
See Get the best display on your monitorStep 3: Enable graphics acceleration.
1. open display settings by clicking the Start button, clicking Control Panel, on appearance and customization, personalization, and then clicking display settings.
2. click on display settings, and then click Advanced settings.
3. click on the Troubleshooting tab, and then click on change settings. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
4. move the slider full hardware acceleration.Kind regards
Syed
Answers from Microsoft supports the engineer. -
I can query a modem CDMA, but cannot open the modem with a server terminal server
I can query this CDMA modem in a Windows 7 machine from the Device Manager, but when I try and open it with the PuTTY Terminal Server service, it says that I can not open this COM port I tried using using multiple ports, but is there a way I can see if this com port is used by another piece of equipment. I find it odd that I can question him, but cannot open it.
Hi René,.
Thanks for posting your query in Microsoft Community. However, your question is beyond the scope of what is generally answered in this forum of consumer and would be better suited for the public in the TechNet forums.
Please ask your question in the TechNet Forums of
Hope this information is useful. Please feel free to answer in the case where you are facing in the future other problems with Windows.
-
I'm able to run following query.
SELECT THE CRT. CLM_CRT_FSL_YR, AVG (TO_DATE (CS. SRVC_RPR_DATE, ' MM/DD/YYYY') - TO_DATE (CS. SRVC_FAIL_DATE, ' MM/DD/YYYY')),
AVG (TO_DATE (COURT CLM_CREATE_DATE, ' MM/DD/YYYY') - TO_DATE (CS. SRVC_RPR_DATE, ' MM/DD/YYYY')),
AVG (TO_DATE (COURT CLM_PAYMT_DATE, ' MM/DD/YYYY') - TO_DATE (CLM_CREATE_DATE, ' MM/DD/YYYY' COURT))
OF WWOWNER. CS CLAIM_SERVICE, WWOWNER. REQUEST OF CLM, WWOWNER. CLAIM_FACT CF, WWOWNER. CRT CLM_CREATE_DATE
WHERE CLAIM_KEY = BECAUSE CF. CLAIM_KEY AND CS. CLAIM_SERVICE_KEY = SEE CLAIM_SERVICE_KEY AND CRT. CLM_CRT_DATE_KEY = SEE CLM_CRT_DATE_KEY
CRT GROUP. CLM_CRT_FSL_YR
ORDER OF CRT. CLM_CRT_FSL_YR
Its shows me the error: ORA-01843: not one month valid error.
Please correct where went wrong.
Thank youIf your date columns are already of type DATE, then you don't need to use the TO_DATE.
-
Original title: badminton MSGM8 phone to the USB port on my laptop to pis draft.exe
connecting a phone to cricket MSGM8 USB on my laptop (running Windows XP Pro) run the Add New Hardware Wizard, trying to locate the software for Qualcomm CDMA Technologies MSM, but can not find the drivers, any fix?
Hi ChristopherStout,
(1) what is the complete error message you receive?
(2) is limited only to Cricket MSGM8 phone?
Method 1: Run the fixit available in the article below and then check if it makes a difference
A computer that is running Windows XP cannot detect a USB, an Apple iPod flash drive or an external hard disk drive
http://support.Microsoft.com/kb/925196Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
How to back up and restore the registry in WindowsMethod 2: If you provided drivers\software disc from the manufacturer of the computer, go ahead and install it. You can see the steps outlined in the article below
How to troubleshoot unknown devices listed in Device Manager in Windows XP
http://support.Microsoft.com/kb/314464 -
Running IE8 on Vista Home Premium.I cannot create a backup to restore the system.
The error is 0x800423F3. A snapshot could not be created for the following reason, that the writer has encountered an error transitional 0x800423F3. The instructions you sent seem to be for Windows7. I was able to stop WMI (a warning appears saying that this action would have an impact on the Security Center, ForceWare IP and IP Helper service. In any case, I still get the same problem. "A snapshot could not be created. Teh writer has encountered a transient error...
Hi tedfms,
You can try the following steps to see if it helps with your problem at all:It is a solution that has worked for others with the lapse of the well-known writer, 0x800423F3. He has contributed to: WAW8Try the following:
1) start the computer in Mode safe mode without network.
2) open an administrator command prompt
3) type "net stop winmgmt" without the quotes and press ENTER to make sure that the WindowsManagementInstrumentation (WMI) service is not working.
4) go to the windows\system32\WBEM\ and rename the drop folder.
5) reboot and restart normally
6) open an administrator command prompt.
7) type "net stop winmgmt" without the quotes and press ENTER to stop the wmi service.
8) type winmgmt /resetRepository and restart the system.I hope this helps. -
I use outlook 2007. I have a subfolder in my Inbox. It shows that I have mail in the folder, but I can't. He has worked in the past very well, and then all of a sudden I can't see mail read or unread folder. I see that mail is unread in the folder and I can look in that folder and find results but I can't see what is in this folder. Other subfolders work very well.
I fixed the problem for the co-worker. I checked to see if there is a filter applied and it didn't say in the banner, but he had a applied. You know not why the banner in the right pane showed no filter has been applied, but in any case, I removed the filter. To remove the filter highlight the subfolder. I then went in the view menu, click current view. Click Customize current view. Click Filter and then press all clear and mail again became visible
-
SQL query can be executed through TOAD, but not through discoverer
Hello, everyone:
You have another problem. A SQL query can be executed through TOAD, but when I want to run by a discoverer worksheet, it still shows as no data.
PS: I copied this query discoverer and TOAD, which means, this query is generated by the discoverer. Does anyone know how could it be?
Thank you.
GengHello
If you are able to get the data into a TOAD with the same user credentials of the discoverer more then it will be indicates a problem with the discoverer.
Otherwise, it is a question of privilege, your TOAD user has the right to select for the base objects (tables/views, etc.) while your used Disoverer does not work.Compare these 2 users privileges and you can narrow down the issue.
Thank you
Fati -
Run the query according to the transaction.
Hi all
I am able to run the query, but I want to run query award date.
I created the timer for shape and I want when user update the record for the same registration date must run, do not run the query from the previous day.
is this possible?
can someone help me?
SarahSee other thread
-
I can't send an email to multiple email addresses, using Apple mail on my iMac running OS 10.11.4. With all the addresses email goes into the Outbox, but cannot be sent from there. All solutions? Thanks for your help.
That could happen if one of the addresses is incorrect.
-
Query takes too long, but the cost is low
Hi guys,.
I run a query on two databases that were created in the same way and have the same data.
On one, the cost is almost 1 million, and it runs in the space of a few seconds
On the other hand, the cost is 40,000, and it does not end execution
I looked at the plan to explain it and there is no Cartesian merge on the second query join, but it takes so long. What can I do to study this?
Thank youThe sqlxtplan provides comprehensive information on the query that was executed, or running, depending on the mode you choose. It has all the information of dbms_xplan plus much more. for example all the table definitions used in the query, filters of predicate query, plans for execution, his stats of all tables, indexes, etc... used in the query.
I find the way the fastest to get an overview of how the optimizer made its decision. If it is running run mode, it, rather than using the id of sql or hash, it also gives a 10053 trace. -
Run the query in accordance with condition
Oracle 10g version
Hi gurus
I have the following data
Examples of data
SELECT DeptNo FROM scott.emp
UNION ALL
SELECT EmpNo FROM scott.emp
;
Now what I want is I want to execute conditionally of those surveyed, something like below:
If list_item = 'I', then run below
SELECT DeptNo FROM scott.emp
otherwise run below
SELECT EmpNo FROM scott.emp
End if;
------
I want to keep the union all and run the query under the terms...
Set a long tank (max 4000)
L_WHERE_CLAUSE
Use it in your application as a substitution variable by prefixing with &
WHERE & L_WHERE_CLAUSE
Assign the value into a pl/sql block (trigger, formula column)
IF condition THEN
L_WHERE_CLAUSE: = '1 = 1';
ON THE OTHER
L_WHERE_CLAUSE: = '1 = 2';
END IF;
Now, among the options that have been suggested to you and the information you provided, I think the solution of Solomon should be easier. Just refer to the column list_item has a link within your query variable (assuming that this and the query where list_item belongs are related, for example, there is a join between them)
SELECT DeptNo FROM scott.emp, t
WHERE: list_item = 'l '.
UNION ALL
SELECT EmpNo FROM scott.emp, t
WHERE nvl(:list_item,'x')! = « l »
-
Hallo,
Sometimes, in the code for my application, I need to run smaller queries to retrieve data from the database.
I wonder if for these queries, it is necessary to define a View object or if I can avoid this for example creation and execution of a VO on the fly.
In this case I would not define a VO, given that queries will be never used to display data, but only for the internal logic.
A use case, I want to solve it next.
I would like to create a function to be used after validation for last inserted record by a user in a TableVO.
For example
Select the Id of the Table where UserId =? and Type =?
The query should be run in a managed bean...
public String okButton_action() {} OperationBinding operationBinding is BindingsUtils.getBindings () .getOperationBinding ("Commit");.
Object result = operationBinding.execute ();
If (! operationBinding.getErrors () .isEmpty ()) {}
Error handling
return;
}
Here, I need to:
1. run the query to get the Id of the last inserted record
2 call the setCurrentRowWithKey on the TableVO to update the display
and get the Id (identity/auto-increment) than the database
assigned to the field
return "return";
}
If I can create a function that creates / runs the VO on the fly and return the value ID... It is best to create it in a class of public services or in the implementation class TableVO?
I need to get the Id of the last line inserted since the ADF is not able to manage MS SQL Server identity fields (it seems that REFRESH AFTER INSERT cannot be used with non - Oracle DB).
Any notice will be welocome.
Thank you
Federico
The query should be run in a managed bean...
Much better to execute the query in the template project.
Example query: http://amit-adf-work.blogspot.com/2013/09/how-to-execute-sql-using-adf-application.html
If I can create a function that creates / runs the VO on the fly and return the value ID... It is best to create it in a class of public services or in the implementation class TableVO?
If you have the function that accepts the SQL as a parameter, then this should go to class util.
Dario
Maybe you are looking for
-
Spectrum XT Pro Ultrabook HP: DST short hard drive failed
Product B8W13AA #ACB. Failure ID: Q0837G-1GH87L-XD7WW1 - 60S 503. What it means?
-
where you can leave product reviews?
Can someone tell me where I can leave comments of product Apple? I recently bought the 6 s Smart Battery Case and the level of disappointment, I feel for an individual confession iWhore is overwhelming. There is nothing wrong with the case, but the '
-
Flow 11: Disk Cleanup Windows 10 Stream
Just finished the installation of Win 10 on my Stream 11. Had to remove most of my programs to make enough space to run the upgrade. In fact I decided to run Disk Cleanup to try to regain space. I thought that because I would be able to use HP recov
-
Model of camcorder JVC GZ-MG50AA computors on XP sp3 and Vista laptop. Both give the same message when the camera connected to download videos and pictures.
-
How to fix the windows update 80073712 error
I tried to run windows update on my pc but I got this error 80073712 someone could please help?