Password keystrokes won't register in Run SQL Command

I'm sorry if this has been answered before. I searched but I couldn't find this particular problem. I'm new to Oracle and I'm trying to install it on my computer. I'm used to using the Enterprise Edition that is available at school, so the Express Edition seems so much different.
In case it is important, I'm running Windows Vista Home Premium (64-bit). When I go to Start > All Programs > Oracle Database 10g Express Edition > Run SQL Command Line, I enter "connect", then it prompts me for a username. I enter "SYSDBA", then it asks me for a password and my keystrokes are not recognized. I tried to just go ahead and enter the password I created when I installed and press ENTER but that didn't work.
I tried going to the Database Homepage, and I can log in with SYSTEM and my password, but my SQL commands and scripts (from school, that work with the Enterprise Edition) don't work. I get this pop-up window with the title "Enter Bind Variables" and the page itself has a SUBMIT button, but there is nothing else there.
I'm totally lost. Any help is greatly appreciated.
Edited by: user10823568 on Apr 1, 2009 11:56 PM

sysdba is a privilege, not a user. SYS and SYSTEM users have the DBA role privileges, SYS owns the catalog (database, tables, datafile, user and object info, all the metadata).
The sys and system users can manipulate just about anything in the instance, using a connect sys as sysdba grants the ability to do a few more management tasks (i.e. shut down the database). Its best to only use those database logins when they're really needed (backups, startups, etc) and create other database users for all the other stuff. A quick way to get started is
connect sys as sysdba; -- or connect / as sysdba;
create user joe identified by joepasswd;
grant resource to joe;
grant connect to joe;
grant create session to joeThe resource privilege is a quick way to get all the rights needed to create tables, indexes, procedures. There are a couple of rights in resource that most admins don't like to hand out to just anyone but it'll get the joe database user rolling.
Now on to that "bind variables" dialog, the script that is running needs some input, take a look at the .sql file and there's probably an ampersand in there somewhere- maybe it wants a user name name, just have to figure out what it wants.
And sqlplus does not echo characters typed in at the password prompt, that's normal.

Similar Messages

  • Clear screen in "Run SQL Command Line" causes the utility to dump in Window

    Just for your notice... I have not checked if i can reproduce this on Linux platform or on second node running Windows XP Pro.
    But if I use "Run SQL Command Line" utility and do
    clear screen
    The utility dumps, (not the database though only the utlility)
    Maybe some other people could confirm if this findings is a bug or not and if it is a port specific issue with Windows XP only.
    Kindly Rgds
    /Ulf, Kentor IT Sweden

    Tracking info is in
    Re: SQL*Plus generated Program Error
    -- cj

  • Crystal runs sql command of first sub report in the second sub report ?

    Hi,
    I have report that contains 3 sub reports.
    Each subreport is running his own sql command to retrieve it's data.
    When moving from the first subreport to the 2nd subreport, we see on the oracle that the crystal runs the sql command of the 1st subreport, and then the sql command of the 2nd subreport.
    The results are fine (he ignores the 1st subreport result in the 2nd subreport), but it delays the showing of the 2nd subreport to show.
    Why? The 2nd subreport doesn't need the data of the 1st subreport!
    How do I cancel that????
    BTW - The 3rd subreport is running only his own sql command (As should be).
    Thanks.

    Hello,
    Not without more info about the report and the data. If there is nothing linked from the main report to sub1 then it's going to run and return all data, no filtering. And from the sounds of it to take 5 + minutes per query this is going to affect performance for the whole report.
    You may want to re-evaluate why and what the subreports are used for. If they all use the same data the link them in the main report use groups to sort the data.
    Having subreports in the Details section is asking for performance problems, every record returned will cause the subreport to run. Not knowing what the subs are doing I can't say for sure....
    What you should do also is re-evaluate your Commands for each sub and see if you can do it either in one SQL statement or write a Stored Procedure to do all of the data collection. DB Servers are much more efficient at collecting data than CR will ever be. Pushing just the results to CR makes it simply formatting the results in the Designer and no performance hits....
    Talk to your DBA on how to optimize your Command SQL's and how to get them into one SQL or into a SP that dumps the final results into a final SQL * from TEMP Table into Crystal.
    Don

  • Javascript: Check Internet connection before attempting to run SQL command on remote server

    Good evening,
    I am developing a form that reads and posts data from/to a table hosted on a remote PC running XP/SQL Server Express 2008 R2. I access the server through the Internet.
    My problem is that if the internet connection happens to be down when I -eg- try to save data to the table using the form, the SQL command tries to reach the server for a while, and eventually crashes.
    Is there a way to programatically verify that a remote SQL server is reachable over the Internet before attempting to run a command on it?
    Many thanks in advance for any help you can provide!
    Randy

    Did you find a solution to this? I am attempting a similar form and need to verify there is an active internet connection before allowing the form to process.

  • Run Sql command line is not openning.

    Hi !
    sql command line is not openning.(windows 2008 enterpise and oracel 11g express)
    please tel me is there any other way to open it, i have tried it from the phyical directory also.
    but oracel is working properlly.
    i wanted it load data from captured data to oracle database. (i was migrating).
    yours sincerely
    Edited by: 944768 on Aug 14, 2012 12:12 AM

    Open a command prompt (cmd), from there run:
    c:\> sqlplus user/passwordHow do you plan to "load data", based on what format? Sqlplus might not be the right tool for the job.
    Sql*loader is one option. Another option to help with migration is Oracle SQL Developer (separate, free tool).

  • Running sql commands from a .sql file

    Hello , I have this problem. How do i execute sql commands found in a .sql file with jdbc. My RDBMS is mysql.

    You will have to open and parse the .sql file, connect to the database, and execute the statements. You can't simply tell JDBC to run your .sql file.
    Depending on the complexity of your .sql file this is easy or hard. If its a bunch of e.g. updates or deletes or something you may be able to get away with running it as a block. In Oracle for example, you can put "begin" and "end;" around a bunch of statements and run it all together. In that case your program would open the SQL file, read the text, put it inside a "begin" and "end;", and run it as a single SQL statement.
    If its a bunch of statements that must be run independently then you'll have to programatically split them up to run one at a time. If its a select and you want to e.g. print results to the screen, well, then it gets tougher...
    - Jemiah

  • Problem adding data to the CRM /Saas application by running SQL commands

    Hello,
    I've been following the CRM/ Saas tutorial:
    http://www.oracle.com/technology/pub/articles/bobrowski-saas.html
    and I tried to run the SQL commands in the tutorial to populate the TENANTS, CUSTOMERS, TENANT_COLUMNS, and USERS tables and keep on getting an "ORA-00911: invalid character" error.
    I could use the Object Browser page to do this but would like to know how to do this by running a SQL command.
    Has anyone else encountered this problem when trying to populate the tables in the CRM application?
    Thanks
    Linda

    Hello,
    Are you sure you copied it correctly?
    If you try to run 1 create statement, does that work?
    For ex.
    -- USERS
    INSERT INTO users (username, tenant_id)
    VALUES ('MIKE',1);
    INSERT INTO users (username, tenant_id)
    VALUES ('JOE',2);
    COMMIT;
    Does that work? I don't see that many special characters...
    What you may try to do is to change the ; by a /
    for ex.:
    INSERT INTO users (username, tenant_id)
    VALUES ('MIKE',1)
    INSERT INTO users (username, tenant_id)
    VALUES ('JOE',2)
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Run SQL Command Line

    Sorry folks, but I'm new to all this - just started an Oracle db course and downloaded the Windows (Oracle.exe) version of 10g to practise at home. Whenever I try and writes some SQL, I get a message:
    SP2-0640: Not connected
    What am I doing wrong?!?

    hi,
    u can connect to the ORACLE database like this
    SQLPLUS <user_name>/<pasword>
    or
    SQLPLUS
    Enter Username: <user_name>
    Enter Password:
    Trinath Somanchi,
    Hyderabad.

  • Run SQL with help link

    I have tables T1 & T2
    I created Region Reg_1 with report of T1 and Reg_2 with report of T2.
    I need the report T1 to have a column link which when clicking on it
    will put the data of the corresponding line into T2 and refresh this page.
    The question is how to run SQL command "insert" with help of column link.

    Hi Nicname,
    I think what you need to do is to provide a link to a page that creates the record in T2 and returns automatically to your original page.
    Whilst I haven't done this for reports yet, I have done it on a calendar. Have a look at the following thread to see if this is the sort of thing you want to do:
    Re: Multi-select in Date-picker.
    Regards
    Andy

  • Cannot run SQL script on Oracle Database 10g Express Edition

    I'm trying to upload a script, and the file is being uploaded fine, but in the Script Editor window where I'm going to actually run the script, the entire file content is shown on one line and the whole edit area is in red. I'm not being able to run that script. Also if I create a new script from the editor, the edit area is again in red and I'm not able to save it. Please help me understand what's to be done so that I can run my SQL scripts.

    I'd bet the database is down.
    Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
    Do a CONN / AS SYSDBA
    If you get a message about database or memory area not available, try STARTUP.
    If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
    You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs).

  • Help me Please ..... How to Run SQL Query in Creator

    Hi all , I want to Run a SQL query in Creator how do i do it.
    If i want to retrive a set of records based on few matching fields or some join conditions , what method i can use ?
    How Can i run other SQL statements like ALTER , UPDATE , DROP ....
    Please Help me .

    Hi Hanumesh,
    To run SQL commands like ALTER, UPDATE, DROP you will have to go to the Pointbase console. Creator does not provide for database operations on the tables other than querying for data. To start the Pointbase console run startconsole.exe which can be found in <install directory>\SunAppServer8\pointbase\tools\serveroption.
    Hope this helps
    Cheers
    Girish

  • Run SQL cmd from PL/SQL block

    Is it possible to run SQL command Eg. "ALTER SESSION SET PLSQL_DEBUG=TRUE"
    within PL/SQL block in a form
    thax
    shabar

    Dear shabar!
    Yes, it is!
    BEGIN
    --Here as some PL/SQL-Commands
    --And here is the SQL-Command
    EXECUTE IMMEDIATE 'ALTER SESSION SET PLSQL_DEBUG=TRUE';
    --And here are some more PL/SQL-Commands
    END;I hope this will help you along!
    Yours sincerely
    Florian W.

  • SQL Command Error on Hosted environment

    An error is occurring on the oracle hosted environment. I don't believe that it is a problem with my IE, but with my company's antivirus software. Is there some setting I should ask them to do? I am unable to run sql commands on the hosted environment.
    Line: 241
    Char: 7
    Error: Automation server can't create object
    Code:0
    URL:http//htmldb.oracle.com/pls/otn/f?p=4500:1001

    Hi <please supply your name>,
    SQL Developer Worksheet is not available from the command line.
    The BRIDGE command is only supported in the Worksheet.
    Its an interesting idea though. Are you trying to script data move from a non Oracle database to an Oracle database using the BRIDGE command?
    The BRIDGE command was initially done to allow a simple data move from a non Oracle database to Oracle. We then build the "Copy to Oracle" feature out of it.
    http://dermotoneill.blogspot.com/2010/11/cross-database-bridge-statement.html
    http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
    Since the BRIDGE command references connection names, which have to be defined in UI of SQL Developer any solution to run this on the command line would have to work this out.
    There are number of ways you can do this without using the BRIDGE command.
    1) Perform a capture/convert of your non Oracle database and then generate the "offline" data move scripts.
    Theses scripts use SQL*Loader and your non Oracle database tool (Ex: Sybase BCP).
    These are run from the command line and can be modified ....
    2) Use a database link from your Oracle database to your non Oracle database and reference /query the data that way.
    I would interested to hear your thoughts.
    Regards,
    Dermot
    SQL Developer Team.

  • UserId/Password Not Given-expected to run SQL Plus

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    I downloaded Oracle 9i and I'm trying to run SQL Plus and its asking me for a userid, password and a host string. I don't know what the userid, password or host string would be. I wanted to see how I like Oracle for a database and just wanted to enter some SQL.
    How will I know what the userid, password, host string would be?
    - Server name = none
    - Filename = none
    - Date/Time 2/8/02
    - Browser + Version = Internet Explorer
    - O/S + Version = Windows 20000
    - Error Msg = invalid userid/password

    could you please suggest what could be the reasonYou are running Oracle on an unsupported operating system (Vista Home premium). You either need to change the OS or use the package meant for Windows Vista.
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10203vista.html

  • My new Macbook Pro 13" won't register properly on our school's projectors when I try to run PPT!, My new Macbook Pro 13" won't register properly on our school's projectors when I try to run PPT!

    My new Macbook Pro 13" won't register properly on our school's projectors when I try to run PPT (Epson EB510)!  Instead, colored bars go across the screen against a black background.  No matter how much I try to adjust the displays, PPT won't show on it.  However, my friend's Macbook Air works fine. She's 10.7.2, I'm 10.7.4, so we're both more or less OS X Lion.  What could be wrong?  Can I do anything to fix it?

    Make sure that your display is not mirrored. Mirroring forces you into "lowest common denominator" screen resolutions that can safely be displayed on BOTH screens, which may not be good enough for the projector.
    When you turn off Mirroring, you get Extended Desktop, where the two screens are joined along an edge to form a larger Extended Desktop. To use this, drag a window onto the "other" screen.

Maybe you are looking for

  • PR and PO should be display in IWBK report for stock item.

    Hi Exterts, Our client requirement is to display PR and PO number in IWBK report for stock item as well. I know PR and PO can be display in IWBK report for non-stock item but how we can display PR and PO for stock item,as PR is generated through MRP

  • Upgraded to Lion on iMac.  Now HDMI output is gone.

    I have an iMac connected through HDMI to my Sony Bravia.  It's worked fine. After I upgraded to Lion, I went to display from iMac to the TV and my HDMI selection under Preferences is now gone.

  • Regarding Bar Code Printing in SMART FORMS

    Hi All, I need to print a Bar Code in the output for Material Field on Header Data. For this in smart styles: I have decalred a style Character Format: BM by choosing Bar Code Name: RUECKNR Then in Layout set code of Smartform i have decalred the sam

  • Matcher and Substring what's wrong?

    I'm trying to read in a large file. I have decided to do regular expressions and use the Pattern and Matcher. It works great but for some reason it doesn't get all the text between the REB.                          while ((line = bdr.readLine()) != n

  • Gather stats

    Hi All, I want to add DBMS_STATS.gather_table_stats on table command to my scripts. Just got confuse on the position. Consider as follows step and sequences 1. Table ABC is created without a record. 2. Table ABC is inserted with data 3. Table ABC is