Number of available records in Oracle 10g express database

Hi,
I am facing problems in getting the number of available records in Oracle 10g express database with the following query.
string filename = dbObject.FILENAME;
string vendorID = dbObject.VENDOR_ID;
OracleCommand myCommand = _connection.CreateCommand();
myCommand.CommandText = "SELECT COUNT(*) FROM ASSET_PROCESSING_OUTPUT WHERE *FILENAME = :filename AND VENDOR_ID = :vendorID*";
myCommand.CommandType = CommandType.Text;
myCommand.Parameters.AddWithValue("filename", filename);
myCommand.Parameters.AddWithValue("vendorID", vendorID);
OracleDataReader reader = myCommand.ExecuteReader();
Using this command how can I get if the record exists in the database with the given value.
Thanks in advance.
punit

It appears you're only executing the statement. You need to fetch the result to see the value returned by the SELECT statement.

Similar Messages

  • How to connect oracle forms 10g with oracle 10g express database?

    Hi all,
    I have downloaded and installed oracle forms 10g and oracle database 10g express, when I open net configuration assistant to test local net service, I tested the default service (EXTPROC_CONNECTION_DATA) BUT THE RESULT IS "ora-28547 connection to server failed probable oracle net admin error"
    How can I solve this issue?
    My tnsname.ora is located in c:\DevSuiteHome\network\admin\tnsnames.ora, and its contents is:
    # tnsnames.ora Network Configuration File: c:\DevSuiteHome\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nour-pc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Edited by: user10228498 on Jan 21, 2011 11:37 PM

    I copied the contents of C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\tnsnames.ora and appended it to C:\DevSuiteHome\NETWORK\ADMIN\tnsnames.ora
    and tried net configuration management to test local net service, the test was ok, thus the first problem resolved.
    but the login problem in forms developer still exist and it claims that: ora-12154 tns could not resolve the connect identifier specified.
    any ideas?

  • Oracle 10g express encrypt

    Hi, Can someone please tell me way of encrypting a column in oracle 10g express database?

    You can try to use DBMS_CRYPTO which is available in XE: http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/apdvncrp.htm#i1006531

  • Enabling JVM in Oracle 10g Express

    I'm trying to enable JVM on my Oracle 10g Express database. However, the script I'm told to run - initjvm.sql - doesn't exist anywhere on my computer. Neither does the folder javavm and I can't find anything that says how to get a hold of them.
    Help? :(

    Hi:
    Oracle Express edition (XE) do not include Oracle internal JVM.
    AFAIK the decision to not include this feature was to reduce the size of the installer package.
    Oracle JVM is included on Oracle Standard Edition One and EE.
    Best regards, Marcelo

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • Oracle 10g Express Edition - number of simultaneous connections

    Goodmorning,
    I'm goingo to test Oracle 10g Express Edition but I ned to know the max numbers of simultaneous connections it supports.
    Many thanks to all.

    Hi,
    >>Can you tel me how to increase this number in oracle 10g express???
    Just modifying the processes parameter is sufficient. The sessions parameter will be adjusted automatically.
    SQL> alter system set processes=200 scope=spfile;
    SQL> shutdown immediate
    SQL> startupFor more information, take a look at this [url http://forums.oracle.com/forums/thread.jspa?messageID=1672879&#1672879]thread
    Cheers
    Legatti

  • Pro*Cobol for Oracle 10g Express Edition is available?

    Hi to all, this is my first post here.
    I evaluating Cobol to Oracle products and I have find one it´s more
    We installed Oracle 10g Express Edition (Server and Client), to test compatibility of a Cobol product.
    This product requires the "rtsora" component, from Pro*Cobol, but we didn´t find it in any place in the instalation packages.
    The documentation show the precompilers to be at $ORACLE_HOME/precomp but there is only two folders (admin and lib) with "ottcfg" files. Nothing more
    Searching this and anothers foruns, I became to think if the precompilers facilities, like Pro*Cobol, may be available to the 10g Express Edition for Linux, OR, if this is a feature available only to the Standart Editions (or Windows)?
    The instalation and users manuals appears to don´t distinguish the 10g standart from the Express Edition. Also, the Express Edition doesn´t ask for any kind of "customization oprtions" as I read about in another topics.
    Edited:
    1 - We are using this on Linux Ubuntu.
    2 - The Windows 10g Express Edition appears to be more complete, but I need to run this on Express Edition.
    Thanks in advance!
    (sorry bad english)

    There is no official communication on 11G express edition release date .
    You will have to wait and watch Oracle Official website for that .
    Also check this :
    http://news.techworld.com/applications/3203909/oracle-stalls-over-11g-express-release/
    http://pcworld.about.com/od/businesscenter/Oracle-Mum-on-11g-Release-2-1.htm
    Regards
    Rajesh

  • Is there a better interface available for Oracle 10g Express?

    Dear Experts
    I just installed Oracle 10g Express for a trial to develop and Accounting ERP. Until now i have been using MS SQL Server 7.0 & 2000 on VB but now we are considering JAVA and want to get the feel of Oracle. My questions are as follows:
    1. Is there a better inteface available other than the Internet Explorer?
    2. Would a better interface be avaliable in other version of Oracle 10g?
    3. Does Oracle have interface to create relationships graphically?
    4. Is there documentation available for 10g in one bundle like the Sybase Adaptive server anywhere or MS Books online?
    5. This is really an excellent forum and i have seen some of the answers and they are great.
    Thanks a lot i hope i will be successfully be able to develop an application using Java (desktop version using swing)and Oracle 10g
    Regards
    Manish Sawjiani

    Standman--
    If you want a somewhat more powerful tool (albeit more complicated) check out TOra:
    http://sourceforge.net/projects/tora/
    As an Oracle DBA I've used this at client's sites when I can't pay for PL/SQL Developer to be installed, and it has quite a few useful things built into it. I think that it's going to see a boom in popularity now that Oracle came out with XE.
    ~Jer

  • Can not reset password in Oracle 10g Express

    I have searched google for 4 hours, now I am certain:
    "May be I am the only one in the world who have this problem."
    I installed Oracle 10g Express on my Debian5.
    I need to reset password for SYS/SYSTEM users
    So I checked online tutorial says I need to use a utility called "orapwd" to recreate a password file.
    Everything is smooth since now.
    When I finally find this "orapwd" utility. I type "orapwd" as a root user. Terminal replies "orapwd command not found".
    I then discovered the orapwd is some kind of x-execute file. After an extensive search on google I concluded that this kind of file is inexecutable.
    Many tutorials I read online specify that the "orapwd" is actually "orapwd.exe", but on my Debian system it is "orapwd" with no extension.
    Any suggestion is welcome.
    ps: is there anyway I can reset password without going through "orapwd" s*t.
    Best regards to all who have read to the end of this post

    Eric wrote:
    And Billy, what makes you think Windows Administrators do not know administration on command line?Experience dealing with Windows SAs over a decade and a half.
    I got my first part time job as a Windows Administrator in the beginning era of Windows 95 in a small netcafe. The boss does not pay me but like me use workstations there for free.
    In the early days, I administrate both Dos and Win3.1. I do my work on command line primarily and wrote a hell lot of *.bat files. In those days it were quite different. Because administration and configuration came from a command line DOS environment. We for example never configured networking for a Windows 3.1 or WFW 3.11 client via a GUI. It was done by directly editing system.ini and protocol.ini and making the correct changes.
    And this made the guys and me almost fail our Windows CE certification because the silly multiple question exam asked which buttons to click in the GUI to configure networking and not how it works at actual system configuration level. In other words, it tested your knowledge of the GUI functions and not the actual system config and admin itself.
    And then Windows NT was released and command line admin became the exception and not the rule. The All-Config-Eggs-in-a-Single-basket called the Windows Registry exemplified this flawed approach.
    But since Window95 I find myself spending less and less time on command line, more and more on GUI and my work efficiency increase tremedously. I can record the mouse clicks, the key presses, then covert then into a script. I can change every setting of the system in just few clicks. In the world of Linux, this is still a dream, isn't it?You are missing the point. There are a large number of admin GUI tools available for Linux. But these seldom serve as crutches to configure the system, because of a i-am-clueless-factor.
    If two systems, both are equally capable. To acheive the same thing, system A takes 2 working hours, system B takes 8 working hours. Doesn't this makes system B inferior compare to A?Because of the lack of knowledge and skill of a person to do the required on system B in 10 minutes now takes 8 hours instead? Ignorance of an operating system does not qualify as making system B inferior to system A.
    In past decade, Linux became very popular in the server market is not becasue there are an increasing number of Linux system administrators who are good at command line administration but because Linux is becoming more user friendly. And as a result. This increased administrator's work efficiency and the same time reduce training cost which invites more people to learn Linux.Incorrect. There is a reason that 483 of the 500 of the fastest and most powerful computer systems on this planet runs Linux. And only 5 runs Windows.
    And this has nothing to do with imagined user friendliness. It has everything to do with technical superiority and total cost of ownership.
    So the more idiot proof the system is, the better the system will become.No. The less idiots there are, the better the quality of system administration, the better security, the more robust the systems are.

  • Java Connection Pooling issue with Oracle 10g Express Edition

    Hello
    I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
    I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
    Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with the
    matching protocol stack.
    The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
    For e.g.:
    Cache size = 17
    Available Connections = 17
    Cache Limit = 1000
    Active size = 0
    However, if I kill my Tomcat server process and run the application again, it works fine with no error.
    I looked around for possible causes and solutions and all I could find
    was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
    Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
    Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
    Log: Loaded JDBC Driver
    Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
    Error code not handled : 0
    Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS: no appropriate service handler found
    The Connection descriptor used by the client was:
    localhost:1521:xe
    // End of log
    And the Bundled Tomcat server automatically shuts down.
    Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
    E.g.
    Cache size = 18
    Available Connections = 18
    Cache Limit = 1000
    Active size = 0
    Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
    Swetha

    hello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
    try {OracleDataSource ds;
         Connection conn;
      ds = new OracleDataSource();
      ds.setURL("jdbc:oracle:thin:@localhost");
      conn = ds.getConnection("userid","password");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained.  good look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • (again) oracle 10g client and oracle 10g express in one computer

    hi again, sorry if this question looks like a double post to you.
    Well this is quite embarassing yet still make some headache for me. I have my office PC installed with Oracle 10g client using admin component option, for connecting some application with database on remote server. Now, after I have developed some basic map using Oracle 10g Express on my home PC, I want to test it in my office network. But everytime I tried to install Oracle Express, it web interface will working normally while all other aplication can no longer connected with remote server from the client. If I remove Oracle Express, all client connection will working again as if nothing happened. I already created Microsoft LoopBack connection using IP 10.10.10.10, edit TNSNAMES.ORA, etc that could possibly helpful but nothing fixed. Strangely, if I install Oracle 10g Database version, all connection to remote server working again, and map application also working. But this kind of installation takes up all my PC resources (grrrr!). Any more suggestion?
    best regards
    net2surfin

    I'm sorry if the information not accurate, but the client connection made by application which try to connect is simply "not resolved" and show no error code/number at all. I'll try to connect from sqlplus though, maybe the error number will be known from this way.
    About 10.10.10.10 tcp loopback, I got this work around from here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI
    in the Ora Database Preinstallation requirement, where it states like this:
    +16.In the Properties dialog box, click Use the following IP address and do the following:+
    a.IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses:
    +■192.168.x.x (x is any value between 0 and 255)+
    +■10.10.10.10+ <---- this is the value suggested that I've been used in my home PC
    b.Subnet mask: Enter 255.255.255.0.
    c.Record the values you entered, which you will need later in this procedure.
    d.Leave all other fields empty.
    e.Click OK.
    I'll try to remove the loopback later and see the ORA environment, to see the result. In the mean time, all suggestions is highly appreciated.
    thank you n best regards
    net2surfin

  • 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

  • Oracle 10g Express Edition Beta 3 ODBC Driver Always Crashes

    I find that if you set up an ODBC Data Source for Oracle 10g Express Edition on Windows XP SP2 using the "Oracle in XE" driver, anything that tries to access it will crash, even the Windows ODBC Data Source Administratior if you click the "Test Connection" button.
    Having clicked the button, you get a window coming up entitled "Oracle ODBC Driver" with a yellow exclamation mark in it, with no other text in the window except for an OK button.
    If you press OK, then it crashes and goes through the "Please tell Microsoft about this problem" process....

    Hi,
    Thanks for your comment, but I can't get onto the XE forum.
    I found http://www.oracle.com/technology/products/database/xe/forum.html which says:
    Forum registration is possible only by downloading and installing Oracle Database XE. After installation, click on the "Registration" link from the Database homepage.
    However I find that the "Database Homepage" does not exist.
    Choosing the Oracle XE "Go To Database Home Page" takes my browser to http://127.0.0.1:8080/apex which is not available even though my oracle server is running and sqlplus can talk to it.
    There's definitely nothing serving on tcp port 8080, as follows:
    [dcampbel@clevo]~> telnet localhost 8080
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    Regards,
    -- Dave

  • Oracle 10g Express edition,can't visit database homepage

    I have installed Oracle 10g Express edition without error meggage, It seems goes well ,but when I want to visit my database_homepage on http://127.0.0.1:8080/apex, I see this:
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Click the Refresh button, or try again later.
    Open the Web site home page, and then look for links to the information you want.
    If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.
    10061 - Connection refused
    Internet Security and Acceleration Server
    Technical Information (for support personnel)
    Background:
    The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
    ISA Server: csscisaser
    Via:
    Oracle is installed on my own computer.I think ISA should do nothing with it.And I have removed proxy setting in Internet exploer,but the error still happed.
    I used netstat-a,and can find this:
    proto :tcp
    local address: myxxxxxx:8080
    foreign address myxxxxxx:0
    state : listening
    does it mean my oracle http listener is started?

    Open a command line and
    - enter ping 127.0.0.1 ... should tell whether
    connectivity is possible. If not, something is
    blocking, and that something is usually a firewall.ping 127.0.0.1. I can connect to 127.0.0.1,very fast.but when I ping 127.0.0.1:8080 ,Can't get response.
    enter ipconfig /all
    enter and post output of lsnrctl status
    There are so many output content.And you may see some #^$*#*&^$#@&* because I'm using Chinese version Oracle and OS.
    IPconfig
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : cjis-e89f34e63f
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : xxxx.wan
    Ethernet adapter 本地连接:
            Connection-specific DNS Suffix  . : xxxx.wan
            Description . . . . . . . . . . . : Broadcom NetXtreme 57xx
    roller
            Physical Address. . . . . . . . . : xx-13-72-7D-67-8B
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 172.18.9.30
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 172.18.9.252
            DHCP Server . . . . . . . . . . . : 172.18.18.9
            DNS Servers . . . . . . . . . . . : 172.18.18.9
            Primary WINS Server . . . . . . . : 172.18.18.9
            Lease Obtained. . . . . . . . . . : 2007年7月16日 15:51:15
            Lease Expires . . . . . . . . . . : 2007年7月24日 15:51:15
    LSNRCTL status
    正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    LISTENER 的 STATUS
    别名                      LISTENER
    版本                      TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    启动日期                  20-7月 -2007 11:19:13
    正常运行时间              0 天 2 小时 17 分 10 秒
    跟踪级别                  off
    安全性                    ON: Local OS Authentication
    SNMP                      OFF
    默认服务           XE
    监听程序参数文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    dmin\listener.ora
    监听程序日志文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    og\listener.log
    监听端点概要...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cjis-e89f34e63f)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    服务摘要..
    服务 "CLRExtProc" 包含 1 个例程。
      例程 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "PLSExtProc" 包含 1 个例程。
      例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "XEXDB" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "XE_XPT" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "xe" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    ['/pre']
    Display contents of
    C:\windows\system32\drivers\etc\hosts.['pre']
    # Copyright (c) 1993-1999 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1       localhostMessage was edited by:
    sailfish83

  • 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

Maybe you are looking for

  • HT3775 i have a movie in a .avi file and when i open the file it attempts to convert and gives me an error message

    I have a movie in an .avi file and when i open the file the Mac attempts to covert the file and it doens't play.  What can I do?

  • Creating index

    How do i create indexes for the create table statement below? CREATE table Position (PositionID number(20) not null, title nvarchar2(255), SkillSetID number(20), TaskSetID number(20), filledByResumeID number(20), filledOnDate nvarchar2(40), descripti

  • In my phone i can't put songs

    I cannot put songs in my iphone 4s it always sync but not complet anything and i do not get the songs please help me as soon as possible. thank you !!!!

  • Invalid objects in RAC

    Hi, Version 11gr2. I found about 100 invalid objects in my RAC 11gr2 . Most of them are related to interal oracle users such as sysaux ,wmsys and etc. In a single instance i would run utlrp.sql . Does it the same in RAC instance ? Thanks

  • Opening pages created from my iPhone on my mac

    How do I open a pages file I created on my iphone from my mac? The file has been sent to the cloud but I dont know how to access it on my mac.