.CONNECT DB scott/tiger@inventory

I want to use this in my form. I want to use different login for different form in a menu.
Could you please tell me how I can do this?
thanks

Hai,
In the ON-LOGON Trigger of the form, u can give, LOGON(<user_name>, <password@connection_string>, FALSE);
and the last parameter is to set whether the default logon screen should be seen on error or not.
And don;t forget to re login when moving from the form to other forns.+
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • Connect string for scott/tiger

    i've personal oracle 8i with only scott/tiger schema on my pc. i installed forms 6i. when i try to connect to my scott/tiger schema it gives me tns listener error. i'm using scott/tiger as username/password. i tried keeping Host string null and 'ORCL' but no luck....
    any help is appreciated
    thank you very much
    ---himanshu

    Himanshu,
    When u have the default database and Oracle Forms on the same machine, from SQL prompt it will connect to the database without any connect string. But when u connect from Forms u NEED to have a TNS entry. Open explorer --> Oracle Home directory --> Network --> Admin and u will find the Tnsnames.ora Open this file and create a new TNS entry ( u will find examples ) Give ur machine IP address/or user name and SID ( which will be ORCL by default ) save this file. Then connect from Forms it will connect. Good luck
    orcl.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = your machine IP)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORCL)
    now orcl is ur TNS name

  • Trouble logging into sql using scott/tiger..please help..URGENT!!!

    hai friends!
    I installed D2K recently. Iam unable to login to sql (directly or from D2K forms) using the usual username/password..scott/tiger,system/manager,demo/demo. I get the following error message :
    TNS error: Unable to connect to destination
    Please help me out!
    thanX,
    raji

    what is your error number.
    Did you try to look up this number in the oracle error book?
    Usually you can also find the solution there.
    My bet is that your tnsnames.ora file is not set properly.

  • Problem in login with scott/tiger in SQL Plus

    Hi,
    I want to login with Scott/Tiger in SQL Plus, I have client on my machine, I can connect to any database by entering entry in tnsnames.ora file, but when I try to login with scott/tiger, Protocol adapter error comes, Do I need to enter any thing in tnsnames.ora file? if yes, please tell me the entries,
    Thanks
    Nidhi..

    I have modified tnsnames.ora file, Below is this file
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORCL)
    Now i ger error
    Error: ORA-12541: TNS: no listener
    Regards,
    Nidhi..

  • Sql  plus not accepting user id and password as scott, tiger resp

    Hi, this is mihir shah
    I have just installed oracle9i
    And I have a problem in opening the sql plus. It asks for user id and pass but when entered scott, tiger it always gives a tns error.
    Could you tell me how to make a database & how to log on & how to make a new user id and password

    It seem that you have problem with network connectivity to you database.
    Check the listener status and the configuration of the files: tnsnames.ora & listener.ora
    In all cases you must specified the error.
    Bye, Aron

  • Oracle 11g SQL signon   - The scott/tiger routine...

    I just installed Oracle 11g.
    First, what is the ID/PW into SQL - it used to be scott/tiger. I changed it to what I wanted on install. However, when I logon and type scott then tiger its says
    account locked out. I tried scott and my own "created pw". It still didn't let me in. Is there an "easy" fix?
    I have to get this aspect going to get to first base. How do I get around this or FIX it????
    Walter Earl Roper
    University of Illinois
    [email protected]

    By default, most of the demo accounts are created but locked so that they are not security holes if they are inadvertently included in a production install. To unlock scott
    - Connect as SYS, i.e. from the command line (DOS prompt in Windows)
    sqlplus / as sysdba- Unlock the account
    SQL> ALTER USER scott ACCOUNT UNLOCK;Now, you should be able to log in as SCOTT. If you want to log in as HR, OE, or any of the other demo accounts, you'd repeat the procedure.
    Justin

  • The interface connecting Lean-WM and inventory management

    Dear experts!
    Thank you for your attention!
    I am confused at the interface connecting Lean-WM and inventory management.
    there are so many concepts in this field, such storage location, picking areas, storage types and so on.
    Could you please give me an real case or a illustration to discribe that how the interface connecting Lean-WM and inventory management works?
    Best regard!
    Tangdark

    you do nto need to enter serial numbers while clearing inventory at WM level but at IM in case you have the serial profile activated then you need to enter serial numbers when clearing inventory from the IM level.
    according to what you have said it should automatically pop up a screen where you need o enter the serial numbers but this is weird it is not doing.
    Please check the following:-
    Does the serial number profile config in OIS2 have "MMSL" as a property and if so is entry of serial numbers mandatory during goods receipt and issue ad if there is a stock check active

  • Simple scott/tiger query in horizontal format

    Hi Guys, this is my first thread to this forum, as I m a java developer and does not come across sql frequently.
    I have a simple requirement.
    I ll need this example to let u know, what is all I need.
    You must be very well aware of the famous scott/tiger schema in Oracle database where the emp table has a many-one relationship with dept table.
    Is there any way, where I can get the data in the below format (assuming one dept will have maximum 4 employees and minimum 0 employees)
    DeptNo Employee1 Employee2 Employee3 Employee4
    Accounting CLARK KING MILLER Null
    Research JONES SCOTT ADAMS FORD
    Sales ALLEN WARD NULL NULL
    thanks in advance,
    Abzee

    Hi, Abzee,
    Welcome to the forum!
    That's called a Pivot and here's one way to do it:
    WITH     got_rnum     AS
         SELECT     deptno
         ,     ename
         ,     ROW_NUMBER () OVER ( PARTITION BY  deptno
                             ORDER BY        ename
                           )     AS rnum
         FROM     scott.emp
    SELECT       d.dname
    ,       MIN (CASE WHEN r.rnum = 1 THEN r.ename END)     AS employee1
    ,       MIN (CASE WHEN r.rnum = 2 THEN r.ename END)     AS employee2
    ,       MIN (CASE WHEN r.rnum = 3 THEN r.ename END)     AS employee3
    ,       MIN (CASE WHEN r.rnum = 4 THEN r.ename END)     AS employee4
    FROM       scott.dept     d
    JOIN       got_rnum     r     ON     r.deptno     = d.deptno
    GROUP BY  d.dname
    ;To do a pivot, you must have columns or expressions that tell what row and column of the output correspond to each row of the input.
    In this example, d.dname uniquely identifies the row of the output, but there's nothing that says that 'JONES' belongs in the employee1 column rather than the employee2 column. I used ROW_NUMBER to assign each employee a number, starting with 1 in each deptartment, for just that reason. I used ORDER BY ename, so that the employees will appear in alphabetic order. You could use any other way of sorting them (e.g., by salary or descending hiredate).
    This site normally compresses multiple spaces into one space.
    To post formatted text, such as your desired reuslts, type these 6 characters:
    (all small letters, inside curly brackets) before and after the formatted sections.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Basic SQL queries in Scott/tiger schema...

    One of my team member who is a fresher wants to learn SQL.
    Access to Scott/tiger is available.
    Can some links or queries be posted which can be tried and will be useful to learn SQL.

    Hi,
    Read the following links:
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/toc.htm
    Regards
    Avinash

  • Grant permission on SCOTT/tiger schema

    grant select, insert, update, delete on EM to BOMBAC
    I want to add permission that user BOMBAC can see EM table from SCOTT/tiger scheme and use it. But he can not see and use it. Any idea why?
    regards

    yes i try with public but it seems that i do not have enought privilegies
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.

  • Scott/Tiger database needed ...

    Hi everyone,
    I am preparing a little training session and will be using a copy of Oracle Express (XE). That works fine and will be perfectly adequate for my purposes.
    The problem is that the examples that I want to use are based on the standard example database 'Scott/Tiger' and this doesn't seem to be supplied with the XE edition.
    I am hoping that there is a script available so that I can simply load the example database into my copy of Oracle Express.
    Any ideas on this one?
    Many thanks,
    Alan
    PS: My copy of XE was taken from a separate source so maybe there is a copy of XE on an Oracle site which includes Scott/Tiger? I'll investigate.

    I'm downloading the Express Edition from the Oracle site but am not sure whether it will contain Scott/Tiger.
    If anyone knows whether or not this is the case ... or where I can pick up a script to load Scott/Tiger, then that would be great.
    Many thanks in advance.
    Regards,
    Alan

  • Leopard not connecting to OSX Tiger Server but connects to reg Tiger Fine

    Did a fresh erase & install test of Leopard on a intel Mac Mini. (twice) It will not connect to a Tiger OSX Server (Intel) or will occasionally after about 5 minutes. It will connect fine (instantly) to my non server Tiger Macs both intel & Power PC.
    Anyone have a solution? 2 hours on phone w/apple escalated the issue but no answers yet

    OK - some more info: new message tells me that the connection timed out - how can this be when the other macs on 10.5 are fine?

  • Logging into em with scott/tiger

    as directed in a prev post , I did:
    SQL> alter user scott account unlock identified by tiger;
    sqlplus / as sysdba
    conn tiger works but nowI cannot login to em with scott/tiger using the browser
    I have no problem logging in as myself
    error:
    The application requires more database privileges than you have currently been granted. Click on Help to get more version specific information.

    "I cannot login using the browser" isn't very informative.
    What URL are you using? What tool are you using in the browser?
    It sounds like you're trying to log in to Enterprise Manager as a normal user. Enterprise Manager, however, is a tool for managers to use (hence its name), not ordinary users. You'll want to log on as Scott in something like iSQL*Plus instead.
    Or, you can escalate Scott into being a manager of the database by doing something like grant dba to scott; in plain old SQL*Plus. That wouldn't be a very sensible thing to do, however: better to find appropriate client tools for clients and leave management tools to managers.
    Either way, be specific about what you are trying to run in your browser if you want any clearer advice.

  • I am trying to restore files created using Backup in Tiger.  How do I do this on a Snow Leopard machine which is connected to the Tiger external drive?

    I have an external disk that was used on Tiger iMac. I used Backup to save files. Now that I have this external drive connected to a new IMac running SnowLeopard, how do I restore files?

    Backup 3.2 is still usable if you have a MM account and can download the upgrade.  Otherwise you'll need to restore them via Tiger.
    If the backup is not archived, then the individual files may be accessible directly.

  • How to total Hierarchy of EMP in Scott / Tiger?

    I need to show total of each employee in front of his manager or rollup, using EMP Table, how can I ?
    Best Regards,
    Luqman

    SQL> select lpad(' ', 2*level)||ename employee
      2  ,(select count(*) from emp
      3    connect by prior empno=mgr
      4    start with mgr=e.empno) total_count
      5  from emp e
      6  connect by prior empno=mgr
      7  start with mgr is null
      8  /
    EMPLOYEE                         TOTAL_COUNT
      KING                                    13
        JONES                                  4
          SCOTT                                1
            ADAMS                              0
          FORD                                 1
            SMITH                              0
        BLAKE                                  5
          ALLEN                                0
          WARD                                 0
          MARTIN                               0
          TURNER                               0
          JAMES                                0
        CLARK                                  1
          MILLER                               0
    14 rows selected.

Maybe you are looking for

  • My iPhone 5 has totally died!! Even after charging it all night it won't come on!!

    Help!! My phone has totally died, black screen even after charging it using two different chargers!!

  • Compatibility with HP LP2475W display?

    Does any one know if the included mini-DVI to DVI adapter works with the DVI-I ports on a HP LP2475W display? My understanding is the adapter side is a female DVI-D, which is not physically compatible with a male DVI-I port. Is it correct? If not com

  • Calendar Rules Problem

    I am trying to set up Calendar rules so that my deadlines should move ahead on those days(mostly weekends). I made a calender rule and added it to my organization. In the due transition, i also added use calendar rules. Now if I am correct all partic

  • More capability than available in iDVD

    I would like a little more capability than is available in iDVD -- more themes; more transitions; etc. What is the next step up in software? Also is there something that burns DVDs faster? Being a grandparant, I just burned a DVD with movies and phot

  • Full iTunes window pops open when in mini-player mode?

    Hi I've noticed with the most recent version of iTunes in mini-player mode on my iMac, when I hover my mouse pointer downwards towards the dock, the full window springs open. I'm not hovering near the iTunes icon, and the pointer doesn't hit the mini