Schedule Batch in sql Express Edition

Hello
I have created one batch which will run after every 5 minute & Delete Some Data from table based on some condition.
Code is 
DELETE FROM MyLoginUser
WHERE DATEDIFF(MINUTE,LastUpdateTime,(select CURRENT_TIMESTAMP)) > 5
That is working Fine No issue.
But One of our client uses SqlExpress Edition. In that I found that There is no Sql Agent Functionality. SO I think Batch is not DIrectly suported.
So Can anyBody Guide me how to achieve this kind of Batch Schedule in sql Express?
Thanking you in advance.
Regards
Vipul Langalia

Hello
Thanx for the help I have seen that one row get deleted.
One last thing I want to ask is that In batch I also write exit at end like  
d:
cd "Task Scheduler"
cmd /k sqlcmd -i backup.sql
exit
But still Command Prompt did not close after Process is done.
One more thing I want to ask is that If I dont write cmd /k then It will not work any functionality? So is it necessary that we must write cmd /k to execute script?
Other thing is command Prompt is not getting close after process is done.. 
Can you please do the last help to me ?
Other things are fine.
Thanking you in advance..
Regards
Vipul

Similar Messages

  • SQL Express Edition, Reporting Services Role SCCM 2012

    hi,
    Question: Can I Use SQL Server 2012 Express Edition to configure Reporting Services Role on SCCM 2012 ?
    Thanks,

    Edition of Reporting Services
    Valid edition of SQL Server
    Standard
    Standard, Enterprise
    Enterprise
    Standard, Enterprise
    Developer
    Standard, Enterprise, Developer
    Evaluation
    Standard, Enterprise, Developer, Evaluation
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • Sql Express Edition R2 can we send alert mail

    Hi There,
    We are using SQL 2008 Express edition R2. Can we send alert mail using sql services in SQL 2008 Express edition R2

    Hello,
    Database Mail is not supported in the Express Edition; see
    Features Supported by the Editions of SQL Server 2012
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to start SSIS Projects : SQL Server 2008R2 Dev edition installed on top on SQL Express 2008 with Advanced Services

    Hello,
    I first installed SQL Serrver Express Edition 2008 with Advanced Services (As a part of some client's software)
    Now I have isntalled SQL Server Developer Edition 2008, by selecting ALL features and client tools.
    Now, with BIDS, I can start SSRS and SSAS Projects, but I can't start SSIS Projects.
    I am getting below error message :
    To design Integration Services packages in Business Intelligence Development Studio, Integration Services has to be installed by one of these editions of SQL Server 2008: Standard, Enterprise, Developer, or Evaluation. To install Integration
    Services, run SQL Server Setup and select Integration Services.
    Please let me know how do I resolve this issue "Without un-installing Express Edition installed earlier on my machine"
    Please help !
    Thanks
    DP

    This is a common pitfall with the SQL Express editions. It cannot co-exist. You
    need to un-install the "Express".
    What works is having a VM with Express Tools if I you (strangely) need them.
    Arthur My Blog

  • IS SQL EXPRESS IS FREE TO USE

    Is SQL Express Edition is free to use in a Corporate Organization as their back end DataBase Server.
    salman

    Yes. However, you may soon run into its limitations - SQL 2014 Express, for example supports only 1GB of RAM, a max of 1 socket and a max DB size of 10GB: https://msdn.microsoft.com/en-us/library/cc645993.aspx
    Satish Kartan www.sqlfood.com

  • Errro while installing sql server 2012 express edition on Windows 8 -64 version

    Hi,
    Im trying to install sql server 2012 express edition on windows 8 machine(64 bit),however im getting same error every time.
    The following error has occurred:
    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337
    i've googled and checked all prerequisite which is already installed.so not finding the reason behind this error.  
    it would be great if any one can help on resolving this error.
    Thanks in advance
    Regards
    Ritesh

    Hi ,
    Thanks for help. here is the log summary text
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068051679
      Start time:                    2014-02-05 12:30:44
      End time:                      2014-02-05 12:36:21
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SQLEngine:       Use the following information to resolve the error, and then try the setup process again.
      Next step for Replication:     Use the following information to resolve the error, and then try the setup process again.
    Machine Properties:
      Machine name:                  IDEA-PC
      Machine processor count:       4
      OS version:                    Future Windows Version
      OS service pack:              
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Database Engine Services                
    1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         SQL Server Replication                  
    1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Full-Text and Semantic Extractions for Search 1033                
    Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Management Tools - Basic                 1033                 Developer Edition   
    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Management Tools - Complete              1033                 Developer Edition    10.50.1600.1   
    No       
      SQL Server 2008 R2                                                      
    Client Tools Connectivity                1033                 Developer Edition    10.50.1600.1   
    No       
      SQL Server 2008 R2                                                      
    Client Tools Backwards Compatibility     1033                 Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Client Tools SDK                         1033                
    Developer Edition    10.50.1600.1    No       
      SQL Server 2008 R2                                                      
    Integration Services                     1033                 Developer Edition   
    10.50.1600.1    No       
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\b33170cf028067db5b8335d2\x64\setup\
      Installation edition:          Express
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:            
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    true
      ENU:                           true
      ERRORREPORTING:                false
      FEATURES:                      SQLENGINE, REPLICATION, SNAC_SDK
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SQLFASHION
      INSTANCENAME:                  SQLFASHION
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AI
      SQLSVCACCOUNT:                 NT Service\MSSQL$SQLFASHION
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           idea-pc\lenovo
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, and then try the setup process again.
      Component name:                SQL Server Common Files
      Component error code:          2337
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
      Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
      Error help link:              
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, and then try the setup process again.
      Component name:                SQL Server Common Files
      Component error code:          2337
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
      Error description:             The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
      Error help link:              
      Feature:                       SQL Client Connectivity
      Status:                        Passed
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\SystemConfigurationCheck_Report.htm

  • Security issue in SQL Server replication in SQL 2008 Express edition

    Hi,
    I am trying to do merge replication through web sync in SQL server 2008 express edition. i tried the merge replication using RMO with C# code but no luck. i am getting the security related error.
    my Publisher and distribution are on SQL server 2008 R2 Standard edition. machine name "Printserver",
    I created subscription on SQL server 2008 express edition.
    I hosted the web service for merge syncronization on another machine named "ANUJVMWIN7".
    I installed SSL cerificate on all the machine (server, hosted server and subscriber machine.)
    here is the error description.
    The upload message to be sent to Publisher ‘PRINTSERVER’ is being generated
    The merge process is using Exchange ID ’0B23EBE2-D502-4D92-A9A1-88B8F738CFFC’ for this web synchronization session.
    A security error occurred
    A security error occurred
    The Merge Agent could not connect to the URL ‘https://ANUJVMWIN7.prospecta.in/WebSyncTest/replisapi.dll’ during Web synchronization. Please verify that the URL, Internet login credentials and proxy server settings are correct and that the Web server is reachable.
    The same process i tested with the SQL server 2008 standard edition and all the things are working fine. i could able to merge the databases but no luck with SQL 2008 express edition.
    Please help.
    Thanks
    Anuj Sharma
    Thanks Anuj Sharma Software Engineer

    Hi Brandon,
    I am not using self signed certificate. I installed SSL certificate provided by RapidSSL CA. This certificate is installed on my publisher machine ("Printserver"),
    web hosting machine ("ANUJVMWIN7") and my subscriber machine as well.
    Here are the certificate details which i installed on each machine.
    Thanks
    Anuj Sharma
    Thanks Anuj Sharma Software Engineer

  • SQL Server 2008 R2 Express Edition and Full Text Indexing

    Hello, we have recently upgraded our web front end server from SQL Server 2005 (Standard Edition) to SQL Server 2008 R2 Express Edition (in conjuction with upgrading our main production servers to SQL 2008 R2 Standard). We have 12 Databases on our production
    SQL Server that are replicated to our web frontend server to the SQL Express instance. One of these databases has a FULL TEXT INDEX. The production database is running the Adobe iFilter version 9 64Bit. The FULL TEXT CATALOG has been created and populated
    and performs searches as intended. However, upon replication, when using the search option on our web page based on that PDF iFilter, it no longer works. After examining the properties of the FULL TEXT CATALOG, we note that the Catalog size on the subscriber
    end is 0MB in size (whereas it is 3MB on the Publication side). Also the Unique Key Count on the subscriber side is '1' whereas on the publisher side it is 30,000+. After examining the FT Indexing logs on the subscriber side shows an error: "Warning: No appropriate
    filter was found during full-text index population" On the subscriber side which is running Windows Server 2003 and SQL Server 2008 R2 Express Edition, Adobe Reader 10.1.1 is installed (all 32Bit) with the Adobe iFilter AcroRdIF.dll. When running the SELECT
    * from sys.fulltext_document_types T-Sql statement, the list returned shows the PDF filter to be installed and shows the correct path. Under the System Environment Variables, that path has also been installed (from previous recommendations in researching this
    problem). After numerous reboots, service restarts and re-attempts to get the FT Daemon to crawl - no success. Can anyone please help with this problem? Is there something I am missing? In an attempt to work around this problem thinking there might be a version
    conflict between the 64Bit version on the publisher and the 32Bit version on the subscriber, I disabled the replication of the FULL TEXT CATALOG and tried to create a new catalog on the subscriber with the same results. Thank you for your answers in advance
    - Fustrated! Sorry, somehow this got posted originally under Server Design

    Hello Jeff hope your still out there.  I wrote this question 2 years ago and upgraded to SQL Express with advanced services.  Full Text replication worked until last week.  We are operating in a virtual environment.  My publisher box
    is a Windows Server 2008 R2 (64bit) with SQL Server Standard Edition.  My Web front subscriber is a Windows 2003 R2 (32bit) Server with SQL Server 2008 R2 Express SP1 with Advanced Services. Now the exact same thing is happening after 2+ years. 
    We are looking for possible updates that might have broken this but I am stretching that.  Any clues please?  32bit vs. 64bit?

  • Create linked server between MS SQL Server 2008 standard edition to MS SQL Server 2008 express edition

    For the captioned issue, is it possible?  We have successfully created linked server between 2 MS SQL server 2008 standard edition, but failed for the standard and express edition.  Is there any trick to setup?  Thanks.

    Hello,
    SQL Server Management Studio Express Edition may not allow to create a linked server, but the workaround is to use the T-SQL. You can use sp_addlinkedserver and sp_addlinkedsrvlogin.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Is the SQL * Plus Worksheet included in the Oracle 10g Express Edition?

    Hello All,
    I need to install Oracle 10g for a SQL class that I will be taking this year. I will be installing it in my laptop (Pentium 4, 1GB RAM). I was told by the Professor that I needed to have the SQL*Plus Worksheet. I would like to know which version of Oracle do I need to install, and If it includes the SQL*Plus Worksheet.
    This is my first time working & installing Oracle, so I would appreciate if anyone could guide me thru this process.
    Thanks a lot,
    Ed

    No, it is not included.
    However, the same functionality, and more, is in Oracle SQL Developer - also available free and download-able from the same area as Oracle Express Edition.
    Ask your prof why he want Worksheet. If it's only for the ability to scroll and correct previous SQL (eg: easier time correcting mistakes), and loading scripts, ask if SQL Developer would be allowed. It's much superior and allows you to use XE, which will not sink your laptop like the EE version will.

  • 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

  • Unable to upload sql scripts in oracle database express edition 10g

    Hi!
    To start, I inform you that I am beginner with Oracle. I installed Oracle 10g Express Edition on my Ubuntu 9.10 like this:
    :~$ dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
    :~$ /etc/init.d/oracle-xe configure
    and I keep default value. Then I go on http://127.0.01:8080/apex, I login with system account, I create another dba account etc ... all looks very well ! Then I follow this tutorial: http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm
    and I am unable to load sql script which is given in this tutorial: load_sample.sql (page:What to do first> Loading Data). I try with a little sql script and same result. I use gedit with UTF-8 and load in UTF-8, my browser is Firefox (I try with Epiphany also).
    The result is: when I upload a script, The browser returns "script uploaded." Then I can click on my script but the file is empty ! Nothing is done when i click on "run". Also I can' create a script; With Epiphany browser, the frame to write is all red. To import a script I have to copy one by one request in sql commands. I try also to change the owner of load_sample.sql:
    -rw-r--r-- 1 oracle dba 49969 2010-01-10 12:05 load_sample.sql
    But it doesn't work. If someone has an idea ? Thanks for your help.
    regards
    Alex.
    load_sample.sql:
    CREATE TABLE regions
    ( region_id NUMBER
    CONSTRAINT region_id_nn NOT NULL
    , region_name VARCHAR2(25)
    CREATE UNIQUE INDEX reg_id_pk
    ON regions (region_id);
    ALTER TABLE regions
    ADD ( CONSTRAINT reg_id_pk
    PRIMARY KEY (region_id)
    ) ;

    Hi,
    So, go to shell ,position yourself in the path where load_sample.sql is, login to the XE as the user with whom you need to run load_sample.sql , and execute
    +@load_sample.sql.+
    Sorry to hijack this thread but I am having exactly the same problem in Ubuntu, it seems as if IE is the only browser that allows you to do this, but installing that in Ubuntu looks like a whole other world of pain I do not really want to get involved in at the moment.
    I like the sound of just shortcutting the sql upload through the shell but I'm a beginner and I do not understand your comment well enough to implement it myself.
    Could you please explain these in more granular layman's terms for someone who is unfamiliar with Linux syntax?
    By 'Shell' do you mean the Terminal or the SQL Command Line? What exactly should I be typing in there to execute the sql?
    I have saved the SQL file on my desktop (jon@jon-pc, it's a virtual Ubuntu machine on a Windows Vista host).
    Thanks in advance
    Jon

  • Can't connect to Express Edition 11g by sql developer

    hello,
    i installed the 11g edition and try to connect to it by sql developer. it didn't work, then I noticed there was an older version (10g) on the laptop. So i removed both, and installed the 11g version, but still it doesn't work.
    My laptop runs on 32-bit windows 7 so I got the 32bit installer of 11g.
    I checked several other threads, but didn't found a solution.
    Some information:
    connecting by sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Di Nov 8 09:34:25 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    tnsping
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2011 09:32:43
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=fe80::7944:fff9:594b:a534%12)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=fe80::831:366f:f5fe:eab5%16)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.21.74)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=2001:0:5ef5:79fb:831:366f:f5fe:eab5)(PORT=1521)))
    OK (0 msec)
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2011 09:29:24
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date 08-NOV-2011 08:51:17
    Uptime 0 days 0 hr. 38 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\W7-008436\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=W7-008436.iconos.be)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=W7-008436.iconos.be)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully

    bop wrote:
    The error message indicates that Oracle XE is not running. You can check that in several ways, e.g. by entering Computer Management - select Services and check if OracleServiceXE and OracleXETNSListener are running.
    You can also check log files (*.log,*.trc) in directory C:\oraclexe\app\oracle\diag\rdbms\xe\xe\trace and look for error messages.the services were started.
    I found an error in the "alert_xe.log"
    Errors in file C:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_j000_388.trc:
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
    ORA-06550: line 1, column 807:
    file xe_j000_388.trc: Trace file C:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_j000_388.trc
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Windows NT Version V6.1
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x0x00000000
    Memory (Avail/Total): Ph:2120M/3063M, Ph+PgF:4631M/6124M, VA:1095M/2047M
    Instance name: xe
    Redo thread mounted by this instance: 1
    Oracle process number: 27
    Windows thread id: 388, image: ORACLE.EXE (J000)
    *** 2011-11-14 08:35:58.999
    *** SESSION ID:(102.5) 2011-11-14 08:35:58.999
    *** CLIENT ID:() 2011-11-14 08:35:58.999
    *** SERVICE NAME:(SYS$USERS) 2011-11-14 08:35:58.999
    *** MODULE NAME:(DBMS_SCHEDULER) 2011-11-14 08:35:58.999
    *** ACTION NAME:(BSLN_MAINTAIN_STATS_JOB) 2011-11-14 08:35:58.999
    ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
    ORA-06550: line 1, column 807:
    PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
    ORA-06550: line 1, column 807:
    PL/SQL: Statement ignoredso apparently somewhere the parameter DBSNMP.BSLN_INTERNAL is not declared, but how do i fix it?
    bop wrote:
    I don't quite understand the mention of hostname related to sqlplus, do you have several Oracle installations? On a machine with Oracle XE you can normally select "Run Sql Command Line" and you are prompted like this:
    SQL*Plus: Release 11.2.0.2.0 Production on To Nov 10 23:47:26 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect system/pwd
    Connected.
    SQL>it was a reply to the post of orafad

  • SQL Developer and Oracle Database 10g Express Edition, Connection Problem

    I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
    Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
    The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
    Also tried to log into the database home page but page doesn't load...

    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).

  • Oracle 9i Vs 10g Express Edition PL SQL syntax problem?

    The following code works perfectly on Oracle 9i , but fails in 10g Express Edition. Please help me figure out what the problem is
    product_master table exists and there is nothing wrong in there.The problem is a syntical one. Is there some 9i compatible mode? I'm using oracle express edition of 10 g. Login using the webbrowser. That itself is annoying.Why isnt there an SQL+ ide unlike 9i?
    Code :
    declare
    pd_no varchar2(6);
    cst number(8,2);
    begin
    pd_no:=&pd_no;
    SELECT cost_price INTO cst
    from product_master
    where product_no=pd_no;
    cst:=cst-200;
    IF cst >= 3000 THEN
    UPDATE product_master SET cost_price=cost_price-200
    WHERE product_no=pd_no;
    END IF;
    END;
    The error I get is
    ORA-06550: line 5, column 14:
    PLS-00103: Encountered the symbol "&" when expecting one of the following:
    ( - + case mod new not null
    avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    pipe
    3. cst number(8,2);
    4. begin
    5. pd_no:=&pd_no;
    6. SELECT cost_price INTO cst
    7. from product_master
    I changed & to : .The it asked for input but the following error came up
    ORA-06550: line 16, column 2:
    PLS-00103: Encountered the symbol ";"
    1. declare
    2. pd_no varchar2(6);
    3. cst number(8,2);

    One, possibility of occuring this error(PLS-00103) is, if you leave input without entering anything this will occur.
    Solution: Enter the value in quotation, like 'hello', below is one example which asks value for a, but i left it without entering any input, so the error occured.
    Once check out this in your case.
    SQL> @sample.sql
    Enter value for a:
    old   4: a:=&a;
    new   4: a:=;
    begin;
    ERROR at line 3:
    ORA-06550: line 3, column 6:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    ( begin case declare exit for goto if loop mod null pragma
    raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    continue close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe purge
    SQL> spool off;

Maybe you are looking for

  • How can I open help file (HTML or .chm) from Java Web Start (new to JAVA)

    Hi All, Im trying to open the help file of my application. When trying to access the help file from the GUI (pressing F1 for launching the help file), I'm geting the an error, something like: "Can't show help URL: jar:file:C:\Documents and Settings\%

  • How many macs can i put logic on ??

    how many macs can i put logic on ?? and can i extend the serial ??

  • Send the infopath form in email through code

    Hi, I have a custom list form and on button click I need to send email with the form in the body of the mail. Since I want to change the From Address, I cant use the email dataconnection with the infopath form. I need to write code to send mail. But

  • About .mts files

    Hi Just to mention. I've a new Camera and old iMovie'11 (v.9) and FinalCut 6 doesn't open. Happened to have Roxio Toast™ (v.10) (Now to buy as v.12) - and this converted the HD-movie files into a format that iMovie/FinalCut can use with High Quality.

  • CriteriaBuilder How to

    I m using EclipseLink 2.0 With MySql. I need help in creating the following SQl Query Using CriteriaBuilder. SELECT COUNT(*) FROM Employee WHERE role = 'Manager'I was able to count without using the where clause using the following piece of code.   C