Ai2 RC1 SQL-history does not
HelloAfter SQL-Developer starting this morning (07/12/2009), SQL-history shows not all files even if the story (SqlHistory.xml) contains documents. Last record stored in the history file is dated 12/04/2009.
I am running XP SP3
Already registered:
Bug 9156084 - RC1: HISTORY of SQL IS NOT LOADED ON STIMULUS SQLDEV
-Turloch
Tags: Database
Similar Questions
-
Why PL/SQL procedures does not allow users to enter data dynamically at run time?
Dear all,
I tried to do a procedure that will search for a group of approval in our database that matches.
(1) the number of levels
(2) the number of users by each level
(3) the id of users by level
entered by the user.
I tried various methods to receive user input dynamically at run time, but in vain.
Finally finished my procedure allowing the user to enter the parameters and then executes the procedure, to which these parameters are passed as arguments. (1 variable for the number of levels and 2 userdefinedarrays with the number of users by level and level respectively)
Why PL/SQL procedures does not allow users to enter data dynamically at run time?
Thanks in advance,
Séverine Suresh
HEY, Sebastian,
3035408 wrote:
Hello Sir,
My question is that if I'm going to say, the number of levels 5, is there any way by which, at runtime, the procedure prompts me to enter at the start of the number of users per level. Now as soon as I get the number of users per level can I do the procedure ask me to enter the nicknames of the members of each level. I mean, something like a invite.
Thank you
Séverine Suresh
There is no way to do it in SQL or PL/SQL, because not SQL PL/SQL is a way to get user input. User interaction is a job for your front end, like Zlatko tool suggested in response to #5. If your front end tool is SQL * Plus, you can use the substtitution variables, as Jarkko showed in response #6.
-
ORA-13780: SQL statement does not exist
Hello
on the 11g R2, I get the following message:
Any idea?SQL> variable stmt_task VARCHAR2(64); SQL> EXEC :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd'); BEGIN :stmt_task := DBMS_SQLTUNE.CREATE_TUNING_TASK(sql_id => 'gh9p77g1fr0kd'); END; * ERROR at line 1: ORA-13780: SQL statement does not exist. ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 ORA-06512: at "SYS.PRVT_SQLADV_INFRA", line 125 ORA-06512: at "SYS.DBMS_SQLTUNE", line 655 ORA-06512: at line 1
Thank you.Sql and the sql_id execution plan has been emptied out of the shared pool, so oracle could not find it.
-Thank you
-
my SQL Developer does not work properly! Help
Hello!!
My problem here is not like I can't live or work, but it's REALLY annoying, see my SQL Developer does not take any different key of letters and the space bar, I mean, if I use the Enter key, does not alter the line, if I use the return key back isn't clear if I use F5/F9 does not execute the msec! and if the keys don't work!
any ideas why this is happening? and if yes how do fix this problem?There is a well known bug but still not solved, causing this type of behavior, if you are a developer SQL 1.5.X you can work around the problem by loading the accelerators by default:
Tools-> accelerators-> load Preset-> by default
If you're on 2.1.X preset may be responsible for
Tools-> preferences->-> others-> load keyboard accelerators
2.1 this problem has not been reported so far, so if you are in 1.5.X you can consider upgrading.
-
My pl/sql codes does not in the express edition, which can do?
pls help me my pl/sql codes does not work in oracle 10g express edition, which can do? pls help me.You must open a window for cmd.exe with Windows Start menu, then run, and type: cmd.exe. The rest is in my previous message.
-
History does not and cannot go back to the browser.
After the last update for firefox, it does not work.
He stopped to remember information, when I tap on the top bar, previous search items do not come to the top, there is no history in my story, and when I try to go back a page, I can't it does not allow me to. If for some reason it isn't save data or sites that I go on. He has also deleted all my favorites. So I did a little research download the addon from repair maintenance, tried without success. So I completed a clean-install of firefox, and I'm still stuck with the same question.
Anyone got any ideas? I have always used firefox after a week of trying to figure out what I'm thinking of other browsers, but I don't want to leave! hahaha
You can check for problems with the database places.sqlite file in the Firefox profile folder.
-
favorite and display all functions of history does not
After the upgrade to FF20 bookmarks function key does not work. Star/bookmark this page/import of profiles list do not work. Can see the lists of previous bookmark in the profile but restore does not work. Also, during the historic opening I get the short list but "show all history" does appear the same empty library page each time.
Hi Jay
Create a new profile worked, took me about two minutes. Thank you very much.
Import old bookmarks took a little longer, a lot of cutting and pasting, but I'm here now.
Thanks again
Valleyman100 -
AWR SQL Report does not report the stats
AWR report only stats beyond a certain level? I have a statement select simple I know is running (executions of v$ sql increases), but when I run a report AWR SQL (awrsqrpt), it says "no data exists for this section of the report.
Snap Id Snap time Sessions Curs/Sess
--------- ------------------- -------- ---------
BEGIN Snap: 370936 10 June 15 07:00:24 856 36.1
End Snap: 370937 10 June 15 07:20:26 881 38.9
Elapsed time: 20.02 (mins)
DB time: 754.82 (min.)
Summary of SQL DB/Inst: CAMPRD/camprd snaps: 370936-370937
There is no data for this section of the report.
-------------------------------------------------------------
SQL ID: 84kfv4p500pgh DB/Inst: CAMPRD/camprd Snaps: 370936-370937
There is no data for this section of the report.
-------------------------------------------------------------
Full text of SQL
There is no data for this section of the report.
I ran the report on the last 4 days and reports
ORA-20025: SQL 84kfv4p500pgh ID does not exist for this database instance.
and yet, the executions of V$ SQL continues to increase
Thank you
Ian
CWA only captures statements considered to be Top N (DBA_HIST_WR_CONTROL. TOPNSQL)
You can use DBMS_WORKLOAD_REPOSITORY. ADD_COLORED_SQL sort AWR it will include
-
commands of MySQL with Sql developer does not
I use sqldeveloper 3.1.07 and trying some selects a mysql 5.1 database.
SELECT SYSDATE(); works fine, but if I try to
Use mysql;
Select in the mysql database;
-> and user table there is a mistake cause no database is selected.
How to use sqldeveloper correctly for this task.
How/where can I run the command mysql with the sqldeveloper?
Any help is appreciated.Hey Cracker Jack,
Analyzers of SQL Developer the text in a worksheet SQL to identify each statement and its type.
Current SQL Developer has only one Oracle SQL, SQL * Plus, PL/SQL Analyzer.
This means that the spreadsheet recognizes that SQL which is similar to Oracle SQL (SELECT, INSERT, UPDATE, DELETE,...).No connection to MySQL or other databases Oracle, the spreadsheet should work fine with standard SQL (as your selection), but when the command executes a particular MySQL (or not Oracle), the worksheet does not know how to interpret it.
You can explicitly provide the information to the SQL needs worksheet using a hint.
http://dermotoneill.blogspot.com/2010/11/workheet-hints.htmlMySQL example:
/ * sqldev:query * / show databases;
/ * sqldev:stmt * / use dermot;
Select database();
/ * sqldev:stmt * / use information_schema;
Select database();Kind regards
Dermot.
SQL development team. -
Queue in sql developer does not take into account the VALUE ECHO OFF
I am a developer SQL 3.1.07.42 Windows 7 64 bit with java 1.7
I have the following script very simple just to show the problem:
If I run into a FROG 10.6.0.42 it creates the file withSET ECHO OFF; SET FEEDBACK OFF; SET SERVEROUTPUT ON; SET VERIFY OFF; SET PAGES 0; SET HEAD OFF; SPOOL c:\test.sql SELECT 1, 2, 3 FROM DUAL; SPOOL OFF; /
This is as expected (by me)1 2 3
If I run the same exact query in SQL Developer 3.1.07.42, it creates the file with:
(the < above is actually ">" but software formatting CODE is screwing ' > ')< SELECT 1, 2, 3 FROM DUAL 1 2 3
but I don't want the ECHOed command to be wound. For the life of me, I can't find a way to turn off the ECHO of the queue in sql developer.
Tried the same thing in 3.0.4 and 2.1.1 with the same (bad) result (more a few warning on some unsupported SET commands).
Am I missing something obvious? Cause like that, control of the coil cannot be used in sql developer to generate a CSV file, for example, due to the echo command. And windows does not come with default SED so it's on. (more than my original script is integrated into a whole much broader and complex scripts and the main script, their use is run from Developer SQL as a company policy (so that everyone uses the same tool and the code runs the same for everyone))
Any ideas/suggestions are welcome
Thank you.Hello
If you save your code
SET ECHO OFF; SET FEEDBACK OFF; SET SERVEROUTPUT ON; SET VERIFY OFF; SET PAGES 0; SET HEAD OFF; SPOOL c:\testscript.log SELECT 1, 2, 3 FROM DUAL; SPOOL OFF;
as a script, say C:\testscript.sql, then run from a worksheet like
@\testscript.sql
the output in C:\testscript.log will be
1 2 3
Kind regards
Gary
SQL development team -
Objects SQL Developer does not appear DDL
Greetings! First time poster here on Oracle forums, so I hope I can be as precise as possible :)
I'm having a problem with the display the SQL that makes up an object, more specifically a VIEW.
Here's the scenario:
I log in as a user of TI - WDSQUERY (this account can be used my multiple people to perform queries in different schemas). I navigate to other users and expand this node. I find the schema that I want to use, ALCHEMY, and expand the node.
It now puts me in the realm of ALCHEMY we'll call it. I should be able to see all the different objects belonging to this scheme (assuming that permissions are implemented). I click on the node "VIEWS" to develop all objects from view. I can see the data and the columns. What I can't see is the SQL that generates that view, and I have no idea why.
Colleague of mine use Toad, and he can do the same exact scenario (even ID, go to the same schema, etc.), but when he clicks on the "Script" tab, it will generate the SQL code that generates that view. Which leads me to believe this is not a permission problem, because it is on the exact same user_ID.
Is there an option I did not check somewhere in SQL Developer? The current work around because it's that I simply ask the DBA_VIEWS where owner = "ALCHEMY" and then pull on the text of the name / the view I want. But... still, it's just one of those things that I want to know why it does not work.
Here are the codes ORA bit that I get when trying to view the SQL code of the VIEW:
ORA-31603: object "PO_LINE" of type VIEW not found in the schema "ALCHEMY".
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 105
ORA-06512: at "SYS." Dbms_metadata", line 2806
ORA-06512: at "SYS." Dbms_metadata", line 4333
ORA-06512: at line 1
Any help would be appreciated GREATYLY!Hello
If you can see the objects in the schema "Other users", then I guess your user_ID the system privilege to SELECT ANY DICTIONARY. See the DDL and data requires additional privileges, however. I haven't looked enough deep to be absolutely sure, but there are two or three methods using SQL Developer:
(1) If you SELECT ON
. object privilege, then you can see the data and the DDL.
(2) otherwise, if you need to EXECUTE ON DBMS_METADATA you can see the DDL (except it may depend on other privileges too (?)).Sorry I don't have the time to dig deeper into the DBMS_METADATA. It works on some of my users to login, but not others. And, of course, privileges such as SELECT ON DBA_VIEWS you always give an unfair advantage.
Hope this helps,
Gary Graham
SQL development team -
Hello
I'm trying to update my database with the following code, but although the code runs without a doubt because he can't seem to echo on the line before the update, the database is not updated.
If ($totalRows_rsportsale > '0') {}
$_POST ['dpaid'] = 1;
$_POST ['listedby'] = $row_rsportid ["listedid"];
echo ' dpaid is: '. $_POST ['dpaid']. ' < br / > ';
echo ' listedby is: '. $_POST ['listedby"]. ' < br / > ';
$updateSQL = sprintf ("UPDATE detailstable SET dpaid = WHERE listedby %s is %s",
GetSQLValueString ($_POST ['listedby'], "int").
GetSQLValueString ($_POST ['dpaid'], "int"));@mysql_select_db ($database_connUpdate, $connUpdate);
$Result1 = mysql_query ($updateSQL, $connUpdate) or die (mysql_error ());
}I want to update the database values actually echo right before the update script, so the values are correct for dpaid and listedby, I entered the ILO code was updated in the SQL myphp admin and that updates the database. The connection to the database connUpdate is correct. The two fields are of type "int" in the database and are not primary or unique keys. Any suggestions as to why this update does not work would be very appreciated.
Thank you in advance.
No, I don't mean the order of SQL clauses, I mean the order of the two settings that you use.
$updateSQL = sprintf ("UPDATE detailstable SET dpaid = WHERE listedby %s is %s",
GetSQLValueString ($_POST ['listedby'], "int").
GetSQLValueString ($_POST ['dpaid'], "int"));As I said, I don't know PHP or sprintf command, but I guess that it replaces the parameters (%s) in the order that they appear. Your (listedby and dpaid) SQL statement parameters are in reverse order. Try to change them.
$updateSQL = sprintf ("UPDATE detailstable SET dpaid = WHERE listedby %s is %s",
GetSQLValueString ($_POST ['dpaid'], "int")).GetSQLValueString ($_POST ['listedby'], "int");
-
G ' Day
Why the use of the key word 'accept' does not work?
I want a user to be prompted to commit or rollback, but it does not work in the following 'experience '.
set echo on
Set termout on
Set of feedback on
Update emp set sal = sal * 2 where ename = 'SCOTT ';
accept char prompt action ' rollback or commit > '
& action
This is what happens when I run the script:
SQL > @temp02.sql
SQL > set echo on
SQL > set termout on
SQL > set comments on
SQL > update emp set sal = sal * 2 where ename = 'SCOTT ';
1 line update.
SQL > accept char prompt action ' rollback or commit > '
Rollback or commit > restoration
SQL > & action
SP2-0042: unknown '& action' - command remains ignored line.
Any suggestion is appreciated.
TonyHi, Tony,.
Welcome to the forum!
SQL * more looks at the first word of a statement before solving the substitution variables. (I don't know why, it solves them regardless of which is the command.) In any case, the first word in an SQL command * more interpreter must be specified.
"BEGIN" which begins an anonymous block counts as the first word, so you can take the suggestion of Andy much further by saying simply:
BEGIN &action; END; /
@ also account as the first word, then you might also have a script called commit.sql line
COMMIT;
and rollback.sql,
ROLLBACK;
and then tell
@&action
-
Can anyone help. Why this WHERE clause does not.
The results of the SQL database extract depend on selections in an online html form. The user can select any or all of the options. The problem seems to be the Or ready LIKE '% varReqBy'. If I use OR (as shown) only data from the variable ReqBy is correctly retrieved from any other playlist data. Variable, but all the others using the retrieves AND nothing of the ReqBy work fine. I need to keep SIMILAR and generic items % as it is a free text box.
Y at - there anyone out there who can help. I have search everywhere on the web, but anyway, I found seem to suggest that it should work. What Miss me?
Here is my code
SELECT *.
OF dbo.adhoc
WHERE Ref = "varRef" or ActionedTo = "varActTo" emergency or = "varUrg" or status = 'varStat' or ready LIKE '% varReqBy '.
ORDER BY dateofRequest desc
PS the form uses a post method.Brilliant Lionstone just changed the default value or 1% varReqBy and it works. FAB thanks a lot.
-
Shortcut Ctrl-Qoute for Refacturing in the context of SQL-worksheet does not work
Hello
the shortcut ctrl-quote in the contextmenu for SQL-worksheet Refacturing does not work on my German keyboard. I am tired of all combinations... functionality works via the context menu, but it's too slow to call him 3 times to get the source code in lower case.
... Any help?
Thanks, JürgenTry redefining it in tools | Preferences | Accelarators.
Maybe you are looking for
-
Disable WiFi on TC and used as a backup only
I have a Time Capsule that I want to disable the functionality of WiFi Access Point and JUST keep the Capsule as the backup drive. I bought a new router that is not Apple Time Capsule, and I really don't want to have WiFi on the TC, and I want to be
-
Crash of Safari on the iPhone 6 s
Tell me why Safari hangs on the maplos.com site? https://m.YouTube.com/watch?v=vOs1ohwWewQ
-
HELP ASAP! problems with hp pavilion dv2500 display driver
Product: HP Pavilion dv2500 Entertainment Notebook PC OS: Windows Vista editions Home Premium Hello I had several cases where the computer seems 'lag '. then, after a few flickers on my screen, Windows would give the error: "Display driver stopped re
-
Unable to create the new folder using Vista Home Premium 32-bit.
It is on a Toshiba laptop which is about five years old.
-
E-mails of blackBerry Smartphones are more received?
Hi all I just got my Blackberry yesterday and set it up--the e-mails have been transferred from my computer with no problems. They stopped this morning and I do not get all... I got an email directly to my Blackberry phone, but nothing from my comput