How to determine its an Express Edition

What SQL Syntax command can return me with information to determine that the installed SQL Server Management Studio is of
Express Edition or Enterprise Edition or any other
Professional Edition?
Thanx in advance.

here is the command that will return the edition :
 Select serverproperty('edition')

Similar Messages

  • How to plugin oracle 10g express edition in Eclipse Java EE

    Hi guys,
    I have downloaded Eclipse Java EE and also downloaded Oracle 10g express edition. Please some one guide me how do I plugin the database in Eclipse and use DTP in Eclipse. I am new to Oracle and Java, Please help me.
    Thanks

    Hi,
    I have installed OEPE through Eclipse Update Manager for Eclipse Galileo 3.5. I have already installed oracle10g express edition and Appache tomcat 6.0 for web development.
    Now I have unlocked the hr user and following instruction from white paper to use OEPE
    http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
    Now you can configure the database connection in Eclipse. Click Window > Show View > Other..., select Data Management > Data Source Explorer, and click OK. Right click Database Connections, click New, select Oracle Database Connection, enter the hr name for the connection, and click Next.
    Select Oracle Database 10g Driver Default, change the server name in the jdbc:oracle:thin:@localhost:1521:xe URL if necessary, enter the hr user name and its password, click Test Connection to verify that everything is correct, and click Finish
    But here when I tried to connect to the database, it give me error - Creating connection to New oracle database connection has encountered a problem
    Couldn't connect to New Oracle Database Connection.
    Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
    Io exception: The Network Adapter could not establish the connection
    Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
    Io exception: The Network Adapter could not establish the connection
    I know i am wrong some where, Please tell me where I am going wrong? Do I need to download and configure weblogic 10g first? Is this don't work with Apache tomcat server instead?
    Thanks
    Edited by: Jay Virk on 02-Oct-2009 04:36

  • How to create database in express edition

    I have downloaded and installed Oracle10g Express edition. As the tutorial suggests using windows /start/all program/oracle10g Express edition/go to Database home page, I am able to login as well.
    My problem is How can I create a new database in oracle 10g express edition,
    I want learn to create and manage a small database on this software.

    You are aware that XE comes with a "seed db" that is restored during the installation process, right? If you try creating your own database, you'll lose at least the management user interface, since there are no seperate install files for APEX. One could of course try to install the APEX package that is provided for other database versions, although I'm not sure if that would work. Hmmm, there's a thought ...
    C.

  • Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto

    h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
    Version: B
    Author: Dude, 24. May 2011
    The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
    Access to the Internet is required.
    The instructions cover the following additional topics:
    - Converting Red Hat based Oracle XE installer to Ubuntu.
    - Work-around for missing /sbin/chkconfig tool.
    - Install Oracle XE into a different directory or disk volume.
    - Relocate and configure the Oracle user and default login directory.
    - Uninstall, reconfigure and perform first database backup.
    - Notes and web links.
    - Troubleshooting
    h3. A) System Setup and Prerequisites
    h4. A.1. System Access
    You will need terminal command line, root and system console access to perform the setup tasks.
    To open a Terminal at the system console:
    Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
    sudo apt-get install openssh-server
    sudo passwd root
    Verify:
    ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
    The following is required in order to install Oracle 11gR2 XE:
    sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
    sudo apt-get install vimh4. A.3. System Swap space
    Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
    To analyze current swap space and memory configuration:
    sudo cat /proc/meminfo
    To install a 1 GB swapfile named swapfile in /, for example:
    sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
    (this may take a while)
    sudo mkswap /swapfile
    sudo swapon /swapfile
    sudo cp /etc/fstab /etc/fstab.orig
    sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
    Verify:
    sudo swapon -a
    sudo swapon -sh4. A.4. Kernel Parameters
    Oracle 11g XE requires the following additional kernel parameters:
    sudo nano /etc/sysctl.d/60-oracle.conf
    (Enter the following)
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65000
    kernel.sem=250 32000 100 128
    kernel.shmmax=536870912
    (Save the file)
    Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
    Verify: sudo cat /etc/sysctl.d/60-oracle.conf
    Load new kernel parameters:
    sudo service procps start
    Verify:
    sudo sysctl -q fs.file-max
    -> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
    The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
    Install Oracle XE to separate disk volume:
    From the system console menu: System > Administration > Disk Utility
    Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
    Notice the device name e.g. /dev/sdb
    Get the drive UUID:
    sudo blkid
    e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
    Modify /etc/fstab to automatically mount the volume at system startup:
    sudo cp /etc/fstab /etc/fstab.original
    sudo nano /etc/fstab
    (Add the following, using determined UUID, for exmple)
    UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
    (Save the file)
    Create the mount-point, mount the new volume and set ownership and privileges:
    sudo mkdir /u01
    sudo mount -a
    sudo chown root:root /u01
    sudo chmod 755 /u01
    Verify:
    df -h
    or restart the systemYou can also install Oracle XE into a specific directory:
    Create a symbolic link to store the installation into an existing directory, for instance:
    sudo mkdir /home/oracle-xe
    sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
    h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
    Please see section E.3. to download the Oracle 11gR2 XE installer.
    Select the version listed for Linux x64.
    sudo unzip linux.x64_11gR2_OracleXE.zip
    sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
    (This may take a while)h4. C.2. Create a special chkconfig script
    The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
    Create /sbin/chconfig:
    sudo nano /sbin/chkconfig
    (Cut and paste the following)
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
    file=/etc/init.d/oracle-xe
    if [[ ! `tail -n1 $file | grep INIT` ]]; then
       echo >> $file
       echo '### BEGIN INIT INFO' >> $file
       echo '# Provides:             OracleXE' >> $file
       echo '# Required-Start:       $remote_fs $syslog' >> $file
       echo '# Required-Stop:        $remote_fs $syslog' >> $file
       echo '# Default-Start:        2 3 4 5' >> $file
       echo '# Default-Stop:         0 1 6' >> $file
       echo '# Short-Description:    Oracle 11g Express Edition' >> $file
       echo '### END INIT INFO' >> $file
    fi
    update-rc.d oracle-xe defaults 80 01
    (Save the file)
    Set appropriate execute privileges:
    chmod 755 /sbin/chkconfig
    Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
    h4. C.3. Install and configure Oracle XE
    sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
    /etc/init.d/oracle-xe configure
    (This will take a while)
    Remove the /sbin/chkconfig script, which is no longer needed.
    sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
    The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
    Exit all Oracle user sessions:
    sudo /etc/init.d/oracle-xe stop
    sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
    sudo userdel oracle
    sudo useradd -s /bin/bash -G dba -g dba -m oracle
    sudo passwd oracle
    Verify:
    sudo id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
    In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
    sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
    It is not essential to allow the Oracle user to use sudo, but it is convenient:
    usermod -G admin oracle
    Verify:
    id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
    sudo su -
    -> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
    After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
    The following will correct the problem if necessary:
    Login as user Oracle or use:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following command:
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exith3. D) Unintstall, Reconfigure and Troubleshooting
    h4. D.1. Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Login as user root:
    sudo su -
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
    Type the following in a terminal window:
    /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    /etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
    Login as user Oracle:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following commands:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    exit
    Login to system console of the Oracle user account:
    Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
    h4. E.1. Oracle 11g XE limitiations overview
    - It will consume, at most, processing resources equivalent to one CPU.
    - Only one installation of Oracle Database XE can be performed on a single computer.
    - The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
    - The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
    - HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
    h4. E.2. Documentation and Links
    Official documentation for Oracle 11gR2 XE can be found at:
    http://www.oracle.com/pls/xe112/homepage
    h4. E.3. Oracle 11g XE downloads
    The Installer is available from the Oracle Technology Network at:
    http://www.oracle.com/technology/products/database/xe
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    h4. E.4 APEX links and archives
    The APEX archives can be found at:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
    The APEX download site is:
    http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    h3. F) Troubleshooting
    ... in progress
    Regards and best of luck!
    Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.

    even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
    The configuration script tells you "You must be root user to run the configure script. Login as root user and
    then run the configure script."
    This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
    Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems.

  • Silent Installation Of Oracle 10g Expression Edition

    Plz i need information about how to install Oracle 10g Expression Edition silently on multiple computer.....i get this script from Oracle site:
    ** Response file to perform silent install of Oracle Database 10g Express Edition **
    ** Values for the following variables are configurable: **
    ** szDir - Provide a valid path **
    ** TNSPort - Provide any valid available port number **
    ** MTSPort - Provide any valid available port number **
    ** HTTPPort - Provide any valid available port number **
    ** SYSPassword - Provide a valid password string **
    ** bOpt1 - 1 or 0 : 1 launches the Database Homepage at end of install and 0 doesn't **
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-DlgOrder]
    Dlg0={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdWelcome-0
    Count=9
    Dlg1={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdLicense2Rtf-0
    Dlg2={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdComponentDialog-0
    Dlg3={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskTNSPort-13013
    Dlg4={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskMTSPort-13012
    Dlg5={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskHTTPPort-13014
    Dlg3={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskSYSPassword-13011
    Dlg4={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdStartCopy-0
    Dlg5={F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdFinish-1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdWelcome-0]
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdLicense2Rtf-0]
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdComponentDialog-0]
    szDir=d:\oraclexe\TEST
    Component-type=string
    Component-count=1
    Component-0=DefaultFeature
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskTNSPort-13013]
    TNSPort=1521
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskMTSPort-13012]
    MTSPort=2030
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskHTTPPort-13014]
    HTTPPort=8080
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-AskSYSPassword-13011]
    SYSPassword=oracle
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdStartCopy-0]
    Result=1
    [{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}-SdFinish-0]
    Result=1
    bOpt1=1
    bOpt2=0
    but i need how to link this script into the Setup file.
    i urgently need ur help bro.................. let me know if u have some idea to fix this problem.
    thz for advance.

    It is important to define which OS you are working with.
    Making a blind guess I will assume your are working on a windows environment (after this file fragment: "Dir=d:\oraclexe\TEST")
    In order to perform a silent install on a windows environment you should:
    - download the appropriate installation executable - eg. OracleXE.exe
         - download one of the silent install response file templates
         - edit the template with appropriate values for the install questions
         - run the Oracle XE installation and specify the location of the edited response file using a command similar to the following: OracleXE.exe /s /f1"<location of edited response file> /f2"<location of silent install log>
    ~ Madrid

  • Upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release

    hello
    I plan to install the SOA, but need more than the database version 10.2.0.4. How to upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release?Thank you!!

    Hi,
    I plan to install the SOA, but need more than the database version 10.2.0.4. How to upgrade Oracle Database Express Edition to (10.2.0.4 OR 11g) Release?Thank you!!My i know the current version of your database?
    Refer:
    *316889.1 -- Complete Checklist for Manual Upgrades to 10gR2*
    *429825.1 -- Complete Checklist for Manual Upgrades to 11gR1*
    *837570.1 -- Complete Checklist for Manual Upgrades to 11gR2*
    thanks,
    X A H E E R

  • Uninstall Express Edition and reinstall regular database

    Hello,
    Two questions please:
    1 - howe can I uninstall the Express Edition version of the database?
    2 - Where (weblink) can I download verrsion 19g of the database?
    Thank you,
    André Luiz

    1 - howe can I uninstall the Express Edition version of the database?Run the setup program again.
    2 - Where (weblink) can I download verrsion 19g of the database?You'll have to wait some time for 19g, but the current releases can be downloaded from here
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html

  • I Cant find Sql Server 2014 express edition after installing it. How do I start the program

    Hello,
               I have Installed Sql Server 2014 Express edition and downloaded the AdventureWorks 2014 database and Back up files.
    I cannot find an Icon for the Sql Server on my Desktop to start the Sql program. There is only an icon for the Server Installation Center.
    How do I start the Sql server. I tried opening the AdventureWorks Database but I cant open it.
    Thank you

    Thanks Shanky
    When I installed Sql I chose Windows Login. After Installing I logged into Sql server using windows account. Should I have chosen an Sql account instead.
    Hi,
    Its is Ok if you have chosen windows Login. But it should be part of local administrator. I assume you know how to check
    Is it not a security risk having to run Sql server as an administrator when using windows account or sql account.
    Yes it is but at this point where I guess only you would be using and to get around with problem which you are facing. its recommended to run SQL server service with least privileged domain account. If you wan to read more see
    this link
    How do I make sure the account with which SQL Server service is running has full permission on folder where adventure works mdf and ldf files are located.
    Please make a habit to search on net it is filled with lot of information.
    This link would help.
    Locate the folder on drive where AD mdf and ldf file reside. Right click on folder select properties and then select security tab. Click on add and then type account name and search and add it
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • How to import partition table in 10 express edition database

    Hi all,
    I have 10g express edition installed on my laptop, I have a table with partition now I am unable to import that table in my oracle 10 express edition database.Anybody help me in this regard that how could I able to import this table in my database, even I dont want its partitions I want only data.
    Regards

    The phrase "awfully small table" was not intended as criticism. It merely notes that tables smaller than 2 GB would normally be too small to partition. Since you didn't specify the amount of data initially, it was reasonable to suspect that you might exceed the express edition data size limits.
    If you pre-create the table as a non-partitioned table (i.e. do a CREATE TABLE manually) before importing, I would expect that would allow the import to succeed (of course, you'd have to ignore the warning that the object already existed when it was time to import).
    Justin

  • How to install Oracle Spacial with Oracle Express Edition 10g?

    Hello,
    I'm new in Oracle Technology, I just wanted to try Oracle Spatial.
    I don't know how to get it so I've installed Oracle Express and followed this tutorial :
    http://oracledbas.blogspot.com/2009/06/manual-installation-of-spatial-10g.html
    They say Jserver, Oracle interMedia and Oracle XML Database have to be installed, but only one of them seems to be set up (XML DB), I can't install the others.
    If someone can help me to install Oracle Spatial, it would be nice. Bye.

    If you want to use Oracle Express Edition, note that the 11.2 version is available on beta now:
    http://www.oracle.com/technetwork/database/express-edition/overview/index.html
    Its a while since I've used XE but from what I recall you get the Locator functionality, but not Spatial. That makes sense as XE is free, which Spatial needs to be licensed.
    However, you can do an awful lot with Locator. To see if it is setup, just check if you have the MDSYS schema. Then describe the SDO_GEOMETRY type:
    describe mdsys.sdo_geometry
    If they are both there, then you're in business.

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • How get scott user database schema in oracle 10g express edition

    hi
    plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
    Iam created the user as scott but but i didn't get the table details
    ...plz give me the details correctly.

    You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
    Rem Copyright (c) 1990 by Oracle Corporation
    Rem NAME
    REM    UTLSAMPL.SQL
    Rem  FUNCTION
    Rem  NOTES
    Rem  MODIFIED
    Rem    gdudey       06/28/95 -  Modified for desktop seed database
    Rem    glumpkin   10/21/92 -  Renamed from SQLBLD.SQL
    Rem    blinden   07/27/92 -  Added primary and foreign keys to EMP and DEPT
    Rem    rlim       04/29/91 -          change char to varchar2
    Rem    mmoore       04/08/91 -          use unlimited tablespace priv
    Rem    pritto       04/04/91 -          change SYSDATE to 13-JUL-87
    Rem   Mendels     12/07/90 - bug 30123;add to_date calls so language independent
    Rem
    rem
    rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
    rem
    SET TERMOUT OFF
    SET ECHO OFF
    rem CONGDON    Invoked in RDBMS at build time.     29-DEC-1988
    rem OATES:     Created: 16-Feb-83
    GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
    ALTER USER SCOTT DEFAULT TABLESPACE USERS;
    ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
    CONNECT SCOTT/TIGER
    DROP TABLE DEPT;
    CREATE TABLE DEPT
           (DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
        DNAME VARCHAR2(14) ,
        LOC VARCHAR2(13) ) ;
    DROP TABLE EMP;
    CREATE TABLE EMP
           (EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
        ENAME VARCHAR2(10),
        JOB VARCHAR2(9),
        MGR NUMBER(4),
        HIREDATE DATE,
        SAL NUMBER(7,2),
        COMM NUMBER(7,2),
        DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
    INSERT INTO DEPT VALUES
        (10,'ACCOUNTING','NEW YORK');
    INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
    INSERT INTO DEPT VALUES
        (30,'SALES','CHICAGO');
    INSERT INTO DEPT VALUES
        (40,'OPERATIONS','BOSTON');
    INSERT INTO EMP VALUES
    (7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
    INSERT INTO EMP VALUES
    (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
    INSERT INTO EMP VALUES
    (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
    INSERT INTO EMP VALUES
    (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
    INSERT INTO EMP VALUES
    (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
    INSERT INTO EMP VALUES
    (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
    INSERT INTO EMP VALUES
    (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
    INSERT INTO EMP VALUES
    (7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
    INSERT INTO EMP VALUES
    (7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
    INSERT INTO EMP VALUES
    (7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
    INSERT INTO EMP VALUES
    (7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
    INSERT INTO EMP VALUES
    (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
    INSERT INTO EMP VALUES
    (7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
    INSERT INTO EMP VALUES
    (7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
    DROP TABLE BONUS;
    CREATE TABLE BONUS
        ENAME VARCHAR2(10)    ,
        JOB VARCHAR2(9)  ,
        SAL NUMBER,
        COMM NUMBER
    DROP TABLE SALGRADE;
    CREATE TABLE SALGRADE
          ( GRADE NUMBER,
        LOSAL NUMBER,
        HISAL NUMBER );
    INSERT INTO SALGRADE VALUES (1,700,1200);
    INSERT INTO SALGRADE VALUES (2,1201,1400);
    INSERT INTO SALGRADE VALUES (3,1401,2000);
    INSERT INTO SALGRADE VALUES (4,2001,3000);
    INSERT INTO SALGRADE VALUES (5,3001,9999);
    COMMIT;
    SET TERMOUT ON
    SET ECHO ON

  • How to install Oracle 11g R2 Express Edition in Arch 64?

    Does anybody know how to do that?
    The AUR website has a package for the beta version of Oracle 11g R2 Express Edition (https://aur.archlinux.org/packages.php?ID=48366), but somebody commented that it had some problem.
    After a few months, I think it's easier to install centos 6.2 in a virtual box and install Oracle 11g there.
    Last edited by dxxvi (2012-06-06 20:57:36)

    By default Chinese language will be selected, you can also add english language from the left panel where you find list of languages. Then drag drop English to right panel and click next to continue with your installation.

  • How to extract data from dmp file to oracle express edition database

    Hi,
    I wanted to extract a oracle dump file in oracle express edition database. Is it possible? If yes, then can anyone please guide me how to do it?
    Thanks

    Hi,
    This might help
    Backup/Export Question!
    Br,Jari

Maybe you are looking for

  • How do i mirror my macbook air with apple tv now that i have mountain lion

    how do i mirror my macbook air with apple tv now that i have mountain lion

  • Mac os 10/6/8 and adobe update

    i have a mac os 10.6.8 and was instructed to download and install (update) a newer version of adobe.  i did that and now i cannot open/access legal fill-in documents that i require for my business.   i have not found the adobe site otherwise helpful

  • Map simple variable to an abstract interface in BPM

    I'm using a Simple Variable to count all messages comming through a BPM. I want to use this Simple Variable's value in a Abstract Interface. Does anyone know how to map Simple Variables to Abstract Messages? A transformation needs a mapping, and a ma

  • Swf Size

    I have been working on a project for about a year, and my base flash file is larger than it should be (i think). My question is this: Does the size of the .fla file affect the .swf file if there are graphics in it that are not in the final version? T

  • Internal challan number not created during J1INCHLC

    Hello All, We are using standard SAP process for TCS paymnet. We have booked invoice from SD and financial document is created and posted with With holding tax item.. During "create remittance challan" i.e. J1INCHLC, payment entry is posted as TCS Dr