Oracle date parameter query not working?

http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999

still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
  select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
   from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
   on t0.DocEntry = t1.DocEntry
   inner join ohem t2
   on t2.empID = t0.U_empid  where  t0.U_empid between  '830' and  '850'  and t1.U_frmdate ='20160801'  and  t1.u_todate='20160830'
in commond promt
  select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
   from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
   on t0.DocEntry = t1.DocEntry
   inner join ohem t2
   on t2.empID = t0.U_empid  where  t0.U_empid between  {?FromEmid} and  {?ToEmid} and t1.U_frmdate ={?FDate} and  t1.u_todate={?TDate}
still not showing any results..

Similar Messages

  • Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service

    Here is the settings:
    SharePoint 2010 with SQL server 2008 reporting services configured
    When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
    The data parameter is set as "date and time" type and field name equals the col name in the SP list
    When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
    Is any step missing?
    Thanks for any advice !

    Hi ,
    How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
    Have you tested if other type parameter worked?
    Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
    http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Between Date parameter is not working.

    Hi All,
    This is my Dataset query. Other filters are working fine. I am getting out put when i select date range. But Its not working when i select Null Option (That time i should get all the data).  but Its not working.
    SELECT DISTINCT
    PartnerId, [Partner Name], [Partner Site], [Organization/Country Code], [Accreditation Name], [Accreditation Status], [Accreditation Review Date],
    CONVERT(varchar(90), [Accreditation End Date], 105) AS [Accreditation End Date], CONVERT(varchar(90), [Accreditation Start Date], 105) AS [Accreditation Start Date],
    [Accreditation Code], [Specialization Code], Name, Inheritance, Description, Territory, Level
    FROM P1_Addition_Report
    where BU in (@BU) and Level In (@Level) and [Accreditation Name] in (@AccreditationName) and ([Accreditation Start Date] Between @Eligibility_StartDate and @Eligibility_Enddate) or (@Eligibility_StartDate is null and @Eligibility_Enddate is null)
    Can anyone correct this query or suggest any alternatives
    Thanks in Advance

    Thanks for reply. Actually with the code i have pasted i am able to get output for Between date. but the problem is I have 5 Filters . when i select null. Its not considering the filters. Instead of that it is considering all data.
    PFB screenshot for filter.. Please help to rectify this
    See the way I wrote WHERE clause. If you write like that it will still apply the other filters even when date is NULL
    where BU in (@BU) and Level In (@Level) and [Accreditation Name] in (@AccreditationName)
    and ([Accreditation Start Date] >= @Eligibility_StartDate or @Eligibility_StartDate is null)
    and ([Accreditation Start Date] < @Eligibility_Enddate+1 or @Eligibility_Enddate is null)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Date Parameter is not working .. in Crystal .

    hi.
    i am executing this query in sql
    it is having so many records.
    but i want to filter it by using from date ='' and to date =''
    in command prompt i past the query and then i run the query...
    it is showing all records by i need filter based on from date and to date..
      select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
      from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
      on t0.DocEntry = t1.DocEntry
      inner join ohem t2
      on t2.empID = t0.U_empid
    then i went to
    selectionexpert-> record-> and then i put the two  parameters at date.
    if i select any value   i am getting the result.....
    but i want to pass the parameters dynamically
    so, i create two parameters fields then
    i went to selectionexpert-> record->  then select the @from date and  again @todate at another field..
    but in this case data is not comming.
    i am very sure i am selecting  enter correct date that date is existing in the data base...
    but i select default at record selection like 12/08/205 data is comming
    but i choose @fromdate
    data is not comming
    any reason.
    plz update me..

    still not comming...
    i have one table each entry is having only one fromdata and one todate only
    i am running below in sql it is showing two rows. ok.
      select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
       from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
       on t0.DocEntry = t1.DocEntry
       inner join ohem t2
       on t2.empID = t0.U_empid  where  t0.U_empid between  '830' and  '850'  and t1.U_frmdate ='20160801'  and  t1.u_todate='20160830'
    in commond promt
      select t1.U_frmdate,t1.U_todate  ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID  AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf 
       from  [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
       on t0.DocEntry = t1.DocEntry
       inner join ohem t2
       on t2.empID = t0.U_empid  where  t0.U_empid between  {?FromEmid} and  {?ToEmid} and t1.U_frmdate ={?FDate} and  t1.u_todate={?TDate}
    still not showing any results..

  • Oracle XE Western version not working on Windows XP pro

    I have noticed that production version of the Oracle XE Western version does not work properly. The beta version created the database properly, the production version does not. I tried to install it on a Windows XP Pro version.
    Below is the alert_xe.log
    Dump file c:\oracle\xeprod\app\oracle\admin\xe\bdump\alert_xe.log
    Thu Mar 30 11:38:32 2006
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:533M/1023M, Ph+PgF:2253M/2461M, VA:1945M/2047M
    Thu Mar 30 11:38:32 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    sga_target = 285212672
    control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
    compatible = 10.2.0.1.0
    db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    MMAN started with pid=4, OS id=4092
    PSP0 started with pid=3, OS id=4088
    PMON started with pid=2, OS id=4084
    DBW0 started with pid=5, OS id=2044
    LGWR started with pid=6, OS id=1248
    CKPT started with pid=7, OS id=200
    SMON started with pid=8, OS id=2036
    RECO started with pid=9, OS id=2012
    CJQ0 started with pid=10, OS id=212
    MMON started with pid=11, OS id=1924
    Thu Mar 30 11:38:38 2006
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=380
    Thu Mar 30 11:38:38 2006
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Thu Mar 30 11:38:42 2006
    The input backup piece C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\CONFIG\SEEDDB\EXPRESS.DFB is in compressed format.
    Thu Mar 30 11:39:10 2006
    Full restore complete of datafile 4 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\USERS.DBF. Elapsed time: 0:00:26
    checkpoint is 193065
    Full restore complete of datafile 2 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\UNDO.DBF. Elapsed time: 0:00:27
    checkpoint is 193065
    Thu Mar 30 11:39:27 2006
    Full restore complete of datafile 3 to datafile copy C:\ORACLE\XEPROD\ORADATA\XE\SYSAUX.DBF. Elapsed time: 0:00:45
    checkpoint is 193065
    Thu Mar 30 11:39:27 2006
    Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_488.trc:
    ORA-00600: internal error code, arguments: [krbrckhr_fail], [C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\CONFIG\SEEDDB\EXPRESS.DFB], [83], [128], [3], [9427], [], []
    Thu Mar 30 11:39:29 2006
    Create controlfile reuse set database "XE"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    Datafile
    'C:\oracle\xeprod\oradata\XE\system.dbf',
    'C:\oracle\xeprod\oradata\XE\undo.dbf',
    'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
    'C:\oracle\xeprod\oradata\XE\users.dbf'
    LOGFILE
    GROUP 1 SIZE 51200K,
    GROUP 2 SIZE 51200K,
    RESETLOGS
    Thu Mar 30 11:39:29 2006
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Thu Mar 30 11:39:29 2006
    Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_744.trc:
    ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-1503 signalled during: Create controlfile reuse set database "XE"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    Datafile
    'C:\oracle\xeprod\oradata\XE\system.dbf',
    'C:\oracle\xeprod\oradata\XE\undo.dbf',
    'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
    'C:\oracle\xeprod\oradata\XE\users.dbf'
    LOGFILE
    GROUP 1 SIZE 51200K,
    GROUP 2 SIZE 51200K,
    RESETLOGS...
    Shutting down instance: further logons disabled
    Thu Mar 30 11:39:29 2006
    Stopping background process CJQ0
    Thu Mar 30 11:39:29 2006
    Stopping background process MMNL
    Thu Mar 30 11:39:29 2006
    Stopping background process MMON
    Thu Mar 30 11:39:30 2006
    Shutting down instance (immediate)
    License high water mark = 1
    Thu Mar 30 11:39:30 2006
    Stopping Job queue slave processes
    Thu Mar 30 11:39:30 2006
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Thu Mar 30 11:39:32 2006
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Thu Mar 30 11:39:34 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    sga_target = 285212672
    control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
    compatible = 10.2.0.1.0
    db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    PMON started with pid=2, OS id=756
    PSP0 started with pid=3, OS id=796
    MMAN started with pid=4, OS id=836
    DBW0 started with pid=5, OS id=928
    LGWR started with pid=6, OS id=152
    CKPT started with pid=7, OS id=924
    SMON started with pid=8, OS id=932
    RECO started with pid=9, OS id=1212
    MMON started with pid=10, OS id=1272
    MMNL started with pid=11, OS id=1296
    Thu Mar 30 11:39:35 2006
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Thu Mar 30 11:39:35 2006
    Create controlfile reuse set database "XE"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    Datafile
    'C:\oracle\xeprod\oradata\XE\system.dbf',
    'C:\oracle\xeprod\oradata\XE\undo.dbf',
    'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
    'C:\oracle\xeprod\oradata\XE\users.dbf'
    LOGFILE
    GROUP 1 SIZE 51200K,
    GROUP 2 SIZE 51200K,
    RESETLOGS
    Thu Mar 30 11:39:35 2006
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Thu Mar 30 11:39:35 2006
    Errors in file c:\oracle\xeprod\app\oracle\admin\xe\udump\xe_ora_1144.trc:
    ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-1503 signalled during: Create controlfile reuse set database "XE"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    Datafile
    'C:\oracle\xeprod\oradata\XE\system.dbf',
    'C:\oracle\xeprod\oradata\XE\undo.dbf',
    'C:\oracle\xeprod\oradata\XE\sysaux.dbf',
    'C:\oracle\xeprod\oradata\XE\users.dbf'
    LOGFILE
    GROUP 1 SIZE 51200K,
    GROUP 2 SIZE 51200K,
    RESETLOGS...
    Thu Mar 30 11:39:35 2006
    Stopping background process MMNL
    Thu Mar 30 11:39:36 2006
    Stopping background process MMON
    Starting background process MMON
    Starting background process MMNL
    MMON started with pid=10, OS id=580
    MMNL started with pid=11, OS id=1288
    Thu Mar 30 11:39:36 2006
    ALTER SYSTEM enable restricted session;
    Thu Mar 30 11:39:36 2006
    alter database "XE" open resetlogs
    ORA-1507 signalled during: alter database "XE" open resetlogs...
    Thu Mar 30 11:39:36 2006
    alter database drop logfile group 3
    ORA-1507 signalled during: alter database drop logfile group 3...
    Thu Mar 30 11:39:36 2006
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oracle\xeprod\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    ORA-1109 signalled during: ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oracle\xeprod\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED...
    Thu Mar 30 11:39:36 2006
    ALTER SYSTEM disable restricted session;
    Shutting down instance: further logons disabled
    Thu Mar 30 11:39:37 2006
    Stopping background process MMNL
    Thu Mar 30 11:39:38 2006
    Stopping background process MMON
    Thu Mar 30 11:39:38 2006
    Shutting down instance (immediate)
    License high water mark = 1
    Waiting for dispatcher 'D000' to shutdown
    Waiting for shared server 'S000' to die
    Waiting for shared server 'S002' to die
    Waiting for shared server 'S003' to die
    All dispatchers and shared servers shutdown
    Thu Mar 30 11:39:39 2006
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Thu Mar 30 11:39:42 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    spfile = C:\ORACLE\XEPROD\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
    sga_target = 285212672
    control_files = C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF
    compatible = 10.2.0.1.0
    db_recovery_file_dest = C:\oracle\xeprod\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = C:\ORACLE\XEPROD\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    PMON started with pid=2, OS id=1480
    PSP0 started with pid=3, OS id=1484
    MMAN started with pid=4, OS id=1488
    DBW0 started with pid=5, OS id=576
    LGWR started with pid=6, OS id=1492
    CKPT started with pid=7, OS id=1496
    SMON started with pid=8, OS id=1260
    RECO started with pid=9, OS id=376
    CJQ0 started with pid=10, OS id=824
    MMON started with pid=11, OS id=244
    MMNL started with pid=12, OS id=1636
    Thu Mar 30 11:39:42 2006
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Thu Mar 30 11:39:42 2006
    ALTER DATABASE MOUNT
    Thu Mar 30 11:39:42 2006
    ORA-00202: control file: 'C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Thu Mar 30 11:39:42 2006
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Thu Mar 30 11:41:54 2006
    alter database mount
    Thu Mar 30 11:41:54 2006
    ORA-00202: control file: 'C:\ORACLE\XEPROD\ORADATA\XE\CONTROL.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-205 signalled during: alter database mount
    Thanks,
    Lucian

    I think the relevant error from the log file is as follows
    ORA-01565: error in identifying file 'C:\oracle\xeprod\oradata\XE\system.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-1503 signalled during: Create controlfile reuse set database "XE
    There are a couple of things to consider here
    Why is this install going into c:\oracle\xeprod ? If should be going into C:\oraclexe. Did you do something to change the default install infrastructure ?
    Secondly - sometimes we see this unable to open file error message if some other process is reading the file at the same time as the installer is trying to install it. Anti virus software and Google desktop have been culprits to date.

  • Oracle 10g database homepage not working?

    Oracle 10g database homepage not working?
    Hi just i installed oracle database 10g express edition but after the restart the oracle database homepage wont open http://127.0.0.1:8080/apex that link always telling cannot display...
    here i have posted lsnrctl status
    pls help
    thanks in advance
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY…
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 25-SEP-2010 17:52:11
    Uptime 0 days 1 hr. 28 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\se…
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\se…
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIP…
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOS…
    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...
    The command completed successfully

    I had a problem of accessing Oracle 10g database homepage. After a couple of days of research and discussions with coworker we found a solution.
    Here is the solution:
    1. Find out your default browser.
    2. Configure your default web browser to connect to the Oracle Database XE Database Home Page as stated
    here:
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#CIHHJEHF
    If this does not help de-install Oracle XE and reinstall following the instruction. During re-installation find out your default browser and configure it as instructed.
    I suspect when the default web browser changes the Oracle 10g XE Database Home Page stops working.
    Good luck

  • Cancel Query not working

    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.

    jemar98 wrote:
    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.Please post the details of the application release, database version and OS.
    Was this working before? If yes, any changes been done recently?
    Please review (Canceling Long Running Queries in Oracle Applications 11i [ID 138159.1]) and make sure you complete all the steps.
    Thanks,
    Hussein

  • CR2008 . Net App - Parameters and Parameter Panel Not working

    Post Author: cehowski
    CA Forum: Crystal Reports
    I have a CR2008 report with one parameter, which works fine when running it in CR2008.  I have an app developed in VS2005 (which should have been updated when I installed Crystal and re-built the app).  The new "Sort Labels" work fine, so the Viewer should be OK (the right version).  When I open the report in the app, the parameter does not modify the report in anyway, whether a new value is added when it first opens, or I try to change the value using the Parameter panel after it is opened.  I've tried Saving with and without data, discarding saved data on refresh, and one or two other properties that seemed like they might have an effect.  None of them did.  Everything works fine within CR2008 - it is only in VS2005, using the Version 12 viewer, that the parameter does not work (all records are returned by the way).
    Any ideas will be appreciated.
    John

    Carolyn,
    Firewall is off. No antivirus. Switching Little snitch on an off makes no difference.
    Just tried ot connect to the App Store again, and it says no connection, connect anyway.....I click connect, and the entire window flashes balck and white and I can see data traffic to and from the app via little snitch.....the black screen is it trying to load the page but not getting through.
    Strange.
    Dominic

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • Microsoft OLE DB Provider for Oracle: Data type is not supported.

    I got the error:
    Microsoft OLE DB Provider for Oracle: Data type is not supported.
    Shortly after upgrading from Oracle 8 to Oracle 9. I was advised to download more up to date oracle drivers, but I was wondering if there was a way to tell what version of the 'OLE DB Provider for Oracle' is already at. Is there a command I can use via SQL Plus or something?

    I have found Microsoft ODBC for Oracle to be more stable than the Microsoft OLEDB for Oracle driver. I have also found both Microsoft ODBC and OLEDB drivers to be more stable than the drivers from Oracle.
    You could always get the latest MDAC (Microsoft Data Access Components) from Microsoft's MSDN Download site and then get the ODAC (Oracle Data Access Components) from Oracle's OTN Download site. ODAC requires MDAC. And ODAC has the latest drivers.
    I suppose it would help to have the latest patches for your Oracle client software too. Maybe Oracle MetaLink would have these?
    It may even help to have the latest service pack for Visual Studio 6 (Visual C++ 6 and Visual Basic 6) too.

  • Oracle 10gr2 locally is not working after  installing Oracle 11g

    hi ,
    Does anyone has any idea after installing oracle 11g in system, Oracle 10g locally is not working. I am getting below error.
    Forms session <2> failed during startup: no response from runtime process

    Generally this is because the software you install last updates the system environment variables with its information, thereby break products that use files with similar names. Specifically, look at PATH and ORACLE_HOME. Likely you will see that entries for your 11g installation will be displayed first. In order to use v10, you would need to change this or use script files to start executibles. For Forms runtime, be sure to properly set default.env to point to the desired PATH

  • My international data roaming is not working in china, why?

    I am currently traveling in mid-east china, but my data roaming is not working. it shows good single bar, but when I try to receive emails (from gmail or AOL account), it gives me error messages. it is very frustrating. it has been 3 days that I can't retrieve emails. I do have voice service though.

    You might need to contact VZW for some trouble shooting help. Unless you are using a 3rd party simcard...then you might have to check with them to make sure their isn't an issue.

  • Use member on data form does not work

    Hello,
    "Use member on data" option does not work on composite Data Form. Business rule associated with composite form.
    Who is resolve this problem?
    Version hyperion: 11.1.2
    Thanks

    I don't have a solution for you but more steps to solve the problem
    You are ultimately on the right track in some ways but break it down into it's components.
    The problem could like in the business rule, the form connection, the variables, even the order of operations could all be in play.
    So I would strip this baby down to its bare bones then build it back up.
    1) Run the business rule. Each one separately and only after the previous ones is complete without variables and without touching the form
    Is it successful: go to 2
    If it isn't successful: trouble shoot the calc and or try running in EAS natively to see if that gives you ideas
    2) Run the calc outside the form but with variables included. Did it prompt you correctly.
    Is it successful: go to 3
    If it isn't. What is wrong with the variable
    3) Now attach it to the form but don't hide the prompts
    Still good go to 4
    4) hide the prompts and run on save
    And if it fails on step four then it's not picking up the right variables in the prompt. And you need to look at why it wouldn't grab the right item.
    This will isolate your problem for you and give you steps to fix it. Ultimately 99% of the time something did change in the structure for example that is impacting the calc. And when you isolate the problem this will reveal itself quite quickly.

  • I have iPhone 4 and I update it to iOS 7 and when I try to start the personal hotspot it crashed and for sometime my cellular data was also not working then allot a sudden the personal hotspot icon disappeared from my settings

    I have iPhone 4 and I update it to iOS 7 and when I try to start the personal hotspot it crashed and for sometime my cellular data was also not working then allot a sudden the personal hotspot icon disappeared from my settings.
    Has anyone faced a problem like this!!!

    No. If you go Settings App > General > Reset > "Erase All Content and Settings", you will have the same iOS that was on the iPhone when you tapped the Erase button. If you believe your iPhone is Jailbroken, then this will not work. If you use iTunes on computer, this will put iPhone to current iOS which is iOS 7.0.2

Maybe you are looking for