Error in Flashback Query

while trying to execute flashback query i am getting an error
CREATE TABLE flashback_query_test (
id NUMBER(10)
desc flashback_query_test
SELECT current_scn, TO_CHAR(SYSTIMESTAMP, 'YYYY-MM-DD HH24:MI:SS') FROM v$database;
INSERT INTO flashback_query_test (id) VALUES (1)
COMMIT;
SELECT COUNT(*) FROM flashback_query_test
SQL> SELECT COUNT(*)
2 FROM
3 flashback_query_test
4 AS OF
5 TIMESTAMP TO_TIMESTAMP('2010-02-01 16:58:43', 'YYYY-MM-DD HH24:MI:SS');
flashback_query_test
ERROR at line 3:
ORA-01466: unable to read data - table definition has changed
pls help me out!................

The SCN to TIMESTAMP conversion only has a granularity of approximately 3 seconds if I remember correctly. So my guess is that you are getting this error because you are trying to flashback to the same time that the table was created putting you in that 3 second window of SCN to TIMESTAMP ambiguity.
You can see this ambiguity by using the SCN_TO_TIMESTAMP or TIMESTAMP_TO_SCN functions as shown below:
SQL> COLUMN TSTAMP NEW_VALUE T;
SQL> SELECT CURRENT_SCN, TO_CHAR(SYSTIMESTAMP,'YYYY-MM-DD HH24:MI:SS') AS TSTAMP FROM V$DATABASE;
         CURRENT_SCN TSTAMP
       9080346377361 2010-02-01 07:13:12
SQL> SELECT TIMESTAMP_TO_SCN(TO_TIMESTAMP('&T','YYYY-MM-DD HH24:MI:SS')) FROM DUAL;
old   1: SELECT TIMESTAMP_TO_SCN(TO_TIMESTAMP('&T','YYYY-MM-DD HH24:MI:SS')) FROM DUAL
new   1: SELECT TIMESTAMP_TO_SCN(TO_TIMESTAMP('2010-02-01 07:13:12','YYYY-MM-DD HH24:MI:SS')) FROM DUAL
TIMESTAMP_TO_SCN(TO_TIMESTAMP('2010-02-0107:13:12','YYYY-MM-DDHH24:MI:SS'))
                                                              9080346377360See how the SCNs are different?
Now if you allow some time to pass between table creation and INSERT, you should be able to get the results as shown:
SQL> CREATE TABLE FLASHBACK_QUERY_TEST(id NUMBER(10));
Table created.
SQL> EXEC DBMS_LOCK.SLEEP(3);
PL/SQL procedure successfully completed.
SQL> COLUMN TSTAMP NEW_VALUE T;
SQL> SELECT CURRENT_SCN, TO_CHAR(SYSTIMESTAMP,'YYYY-MM-DD HH24:MI:SS') AS TSTAMP FROM V$DATABASE;
         CURRENT_SCN TSTAMP
       9080346377430 2010-02-01 07:15:30
SQL> INSERT INTO FLASHBACK_QUERY_TEST(ID) VALUES(1);
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT COUNT(*) FROM FLASHBACK_QUERY_TEST;
            COUNT(*)
                   1
SQL> SELECT COUNT(*) FROM FLASHBACK_QUERY_TEST AS OF TIMESTAMP TO_TIMESTAMP('&T','YYYY-MM-DD HH24:MI:SS');
old   1: SELECT COUNT(*) FROM FLASHBACK_QUERY_TEST AS OF TIMESTAMP TO_TIMESTAMP('&T','YYYY-MM-DD HH24:MI:SS')
new   1: SELECT COUNT(*) FROM FLASHBACK_QUERY_TEST AS OF TIMESTAMP TO_TIMESTAMP('2010-02-01 07:15:30','YYYY-MM-DD HH24:MI:SS')
            COUNT(*)
                   0HTH!

Similar Messages

  • Flashback query gives an error

    We're on version 10.1.0.4, having upgraded from 10.1.0.3, and Flashback Query stopped working:
    SQL> create table test_flashback (d date);
    Table created.
    SQL> begin
      2    for i in 1 .. 10
      3    loop
      4      insert into test_flashback values (sysdate);
      5      commit;
      6      dbms_lock.sleep(60);
      7    end loop;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> select * from test_flashback;
    D
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    12-FEB-09
    10 rows selected.
    SQL> alter table test_flashback enable row movement;
    Table altered.
    SQL> select * from test_flashback AS OF TIMESTAMP
      2     TO_TIMESTAMP('2009-02-12 08:29:00', 'YYYY-MM-DD HH:MI:SS');
    select * from test_flashback AS OF TIMESTAMP
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []I looked through METALINK, & while this particular error isn't listed, it does mention that there was a reported problem with using Flashback and "AS OF TIMESTAMP". The solution was to use Flashback with an SCN.
    So, my question is, how do you know which SCN is associated with that particular time frame? When someone says, I dropped a record about an hour ago, could you get it back for me ... how do I get the SCN for "about an hour ago"?
    Thanks,
    Chuck

    Oracle maintains a mapping of SCNs to timestamps with a granularity of a few seconds (the exact number depends on the Oracle release-- I believe in 10.2 it's +/- 3 seconds) automatically, and uses this map to find the closest SCN to the timestamp you specify. That map should be maintained (again automatically) far longer than your 25 hour window.
    If you need something that goes back months or years, it may make sense to save that data off into your own table.
    Justin

  • Initial load of small target tables via flashback query?

    A simple question.
    Scenario: I’m currently building a near real time warehouse, streaming some basic facts and dimension tables between two databases. I’m considering building a simple package to "reset" or reinitialize the dimensions an all-round fix for variety of problem scenarios (since they are really small, like 15 000 rows each). The first time I loaded the target tables I utilized data pump with good success, however since streams transforms data on the way a complete reload is somewhat more complex.
    Considered solution: Ill just write a nice flashback query via db-link fetching data from a specific (recent) SCN and then I reinitialize the table on that SCN in streams...
    Is this a good idea? Or is there something obvious like a green and yellow elephant in the gift shop that I overlooked? Why I’m at all worried is because in the manuals this solution is not mention among the supported ways to do the initial load of a target table and I’m thinking there is a reason for this?

    I have a series of streams with some tranformations feeding rather small dimensional tables, I want to make this solution easy to manage even when operations encounter difficult replication issues, so Im developing a PL/SQL package that will:
    1) Stop all streams
    2) Clear all errors
    3) Truncate target tables
    4) Reload them including transformation (using a SELECT AS OF "ANY RECENT SCN" from target to source over dblink)
    5) Using this random recent SCN I will re-instantiate the tables
    6) Start all streams
    As you see datapump even if it works is rather difficult to utilize when you tranform data from A to B, using AS OF I not only get a constant snapshot from the source, I also get the exact SCN for it.
    What do you think? Can I safely use SELECT AS OF SCN instead of datapump with SCN and still get a consisten sollution?
    For the bigger FACT tables im thinking about using the same SELECT AS OF SCN but there with particular recent paritions as targets only and thus not having to reload the whole table.
    Anyways this package would ensure operations that they can recover from any kind of disaster or incomplete recovery on both source and target databases, and just re-instantiate the warehouse within minutes.

  • Flashback query works, but not flashback versions query

    This is a test database (Oracle10g 10.1.0.5), not in archivelog mode. I deleted one row 2 hours ago. I can still use flashback query:
    select * from tm_instances as of timestamp to_timestamp('STARTTIME_HERE') to view this row. But I can't use the following flashback versions query:
    SELECT versions_startscn, versions_starttime,
    versions_endscn, versions_endtime,
    versions_xid, versions_operation from tm_instances VERSIONS BETWEEN TIMESTAMP to_timestamp('STARTTIME_HERE') and MAXVALUE
    It gave the following error:
    ORA-30052: invalid lower limit snapshot expression
    So I guess flashback query works better than flashback versions query?
    undo_retention is set to 900 by default here.
    Thanks,
    Hai

    currently function returns all mydate rows, i just want mydesired date rowsCheck if there is a column in the table with the same name as the function parameter. It's the most probable reason of such DML operations behaviour in PL/SQL procedures and function.
    Rgds.

  • Flashback Query ORA-01555

    Gurus,
    I'm receiving an ora-01555 error when attempting to run a flashback query. How can I get this resolve as I need to recover records that were deleted!
    SQL> show parameter undo
    NAME TYPE
    VALUE
    undo_management string
    AUTO
    undo_retention integer
    604800
    undo_tablespace string
    UNDOTBS1
    Undo Tablespace is 6GB!
    select count(*) from bld as of timestamp (sysdate-5);
    ORA-01555: snapshot too old: rollback segment number 19 with name "_SYSSMU19_1281712960$" too small
    01555. 00000 - "snapshot too old: rollback segment number %s with name \"%s\" too small"
    *Cause:    rollback records needed by a reader for consistent read are
    overwritten by other writers
    *Action:   If in Automatic Undo Management mode, increase undo_retention
    setting. Otherwise, use larger rollback segments
    All help is greatly appreciated.

    Based on what you have posted you are toast. The data you are trying to read is no longer in the undo tablespace and therefore is unavailable to you.
    Why you might ask? I suspect you would find great value in reading the most current issue of Oracle magazine: Especially Tom Kyte's article where he specifically addresses this issue.
    SQL> select 604800/86400 from dual;
    604800/86400
               7Your undo retention exceeds 5 days ... thus all you have accomplished is to waste disk space.

  • Using Oracle Flashback Query

    So, this is a very powerfull tool, but useless if you have a 3-tire application and using a persistent connection feature.
    So in most cases you'll have only one Oracle user used to connect. It would be great if the flashback_transaction_query view can be extended with a CLIENT_INFO or CLIENT_IDENTIFIER fields from the session. Hope, this is not too hard to code... This information is VERY usefull in case you have invistigation of who, why and what for had changed some information.

    But want to check if the same concepts works incase of 'TRUNCATE' commandWhy not to check then ?
    SQL> select * from t;
           TID I
             1 A
             1 B
             1 D
             2 A
             2 C
             2 C
             2 B
             3 A
             3 C
             4 A
             4 B
             4 C
             5 A
             6 A
             7 A
    15 rows selected.
    SQL> select DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER from dual;
    GET_SYSTEM_CHANGE_NUMBER
                     5228349
    SQL> truncate table t;
    Table truncated.
    SQL> select * from t as of scn 5228349;
    select * from t as of scn 5228349
    ERROR at line 1:
    ORA-01466: unable to read data - table definition has changedMoreover, the answer is described in the documentation:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#sthref2174
    Flashback Query does not work through DDL operations that modify columns, or drop or truncate tables
    Rgds.

  • Why Am I able to view flashback query longer than undo_retention?

    Hi
    this is what I did
    SQL> select sysdate from dual;
    SYSDATE
    2008-11-23 16:55:39
    --to find out the lower transaction end
    SQL> exec :v_lower_timestamp:='2008-11-23 15:55:39';
    --adjust the timestamp to a lower value than will overshot the undo_retention
    SQL> update emp set sal=sal*2 where empno=:v_empno;
    1 row updated.
    SQL> commit;
    Commit complete.
    SQL> select sysdate from dual;
    SYSDATE
    2008-11-23 16:59:14
    SQL> exec :v_upper_timestamp:='2008-11-23 16:59:14';
    SQL> SELECT * FROM emp AS OF TIMESTAMP TO_TIMESTAMP(:v_lower_timestamp, :v_date_ format) WHERE empno=:v_empno;
    EMPNO ENAME JOB MGR HIREDATE SAL
    COMM DEPTNO
    7934 MILLER CLERK 7782 1982-01-23 00:00:00 650
    10
    SQL> SELECT * FROM emp AS OF TIMESTAMP TO_TIMESTAMP(:v_upper_timestamp, :v_date_ format) WHERE empno=:v_empno;
    EMPNO ENAME JOB MGR HIREDATE SAL
    COMM DEPTNO
    7934 MILLER CLERK 7782 1982-01-23 00:00:00 1300
    10
    but when I try to do that for flashback transaction query
    SQL> SELECT versions_startscn, versions_endscn, versions_xid, versions_operation ,
    ename, sal
    FROM emp
    VERSIONS BETWEEN TIMESTAMP
    TO_TIMESTAMP(:v_lower_timestamp, :v_date_format)
    AND TO_TIMESTAMP(:v_upper_timestamp, :v_date_format)
    WHERE empno=:v_empno;
    2 3 4 5 6 7 FROM emp
    ERROR at line 3:
    ORA-30052: invalid lower limit snapshot expression
    --but the moment I raise the lower timestamp limit
    SQL> exec :v_lower_timestamp:='2008-11-23 16:55:39';
    VERSIONS_STARTSCN VERSIONS_ENDSCN VERSIONS_XID V ENAME SAL
    619162 0300250051010000 U MILLER 1300
    619162 MILLER 650
    flashback transaction works, this is understandable.
    but my question is why flashback query does allow the snapshot to be capture even longer than the undo_retention specified by but not flashback version query?
    thanks a lot!

    Select 10 files and open the files, then select and open the next 10 files.

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • Error while running query in BI Answer

    Hi All,
    I am getting this error while executing a query in BI Answer.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1114, message: ORA-01114: IO error writing block to file %s (block # %s) at OCI call OCIStmtExecute
    Do anyone have any idea about this error. The query was running and i was able to see the output but suddenly it throws this error.
    Awaiting for response.
    Thanks
    Ashok

    Its an Oracle database error, possibly caused because your file system has filled up, or because the disk device is no longer available. Possibly caused by a Sort operation on your query causing the TEMP segment to auto extend and fill up the filesystem, but I'm guessing at the last bit.
    You need to contact your DBA to investigate further.
    Edited by: Matt T on Dec 16, 2008 10:38 AM

  • Error while executing query in OLAP server

    Dear all,
    we are using APD to extracted sales data for the last 3 months .this APD was executed perfectly till yesterday.
    in today's run APD got failed with error message as below
    "@5C\QError@     Fiscal year variant Z3 is not maintained for calendar year 9999
    "@5C\QError@     Error while executing query in OLAP server; redesign query.
    Please suggest corrective action .
    I have tried executing manually with less selections on creation date by no success..
    regards,
    puru

    Purushotham wrote:
    Hi Jeeth,
    >
    > in query we have selection for " currency type " and created on "  .we are not using fiscal year variant.
    >
    > in first strep of APD design only we have a problem and also recently there are no changes to this APD .
    >
    > It was executed perfectly on till 4th .
    >
    > Edited by: Purushotham on Feb 6, 2012 12:48 PM
    Dear Purushotham, You can maintain the Fiscal year Variant in OB29. 2 possibilities, #1 : Data for the FYV/Year could be wrong. #2 : Updates for Fiscal Year might not have been done. You can maintaine FY varients up to FY 2XXX in your BW system. This should fix the error. The table T009 must be the same as we get when we do OB29 TCode in BW, so via SPRO do rebuild of table again.
    Edited by: Arun Bala G on Feb 6, 2012 4:05 PM

  • Getting below error while opening query in bex  3.5x

    Dear Guru's
    I am getting below error while opening query in bex  3.5x
    The following object were not found when accesing the server .
    Press repair to correct the problem (included parts of query deleted) press cancel to undo the last action.
    Regards
    Karan

    Hi,
    1) When a query administrator with the sufficient authorization (sap_all or the * authorization for the field in the authorization object) is creating the query in query designer including the 'attributes' which are not visible with the 'normal' authorizations, the query will not list the columns in the output when it is executed by the normal user.
    2) so create an authorization object for each of these attributes with * (full authorization)
    Regards,
    Marasa.

  • Error while activating query element.

    Dear All
                  Can any one tell this error .
                  When iam transporting the queries to BI production there is an errror in Transportation log that  error while activating query element.
    But  the querysis fine in Bi quality.
    Error : Error while activating "6899QYGVHJPGYUBLKA9SPHORZ".

    Hi
    Might be that query element was deleted(not used n was used before in dev) while creating cross check once in your query.
    First check what is that element which is not transported?
    use table RSZELTDIR to find out weather its a Var or CKF or RKF etc...
    then check for the same in the query in QA weather its active and ported fine to QA if not try to collect the element and transport to QA in a separate request.
    Regards
    KP

  • Error while copy query between infocubes

    I was trying to copy a query between infocubes and ended with error message.
    Query copied from Infocube A to Infocube B. Infocube B has an additional dimension with 2 char's when compared to infocube A.
    Using transaction RSZC, I tried to copy the query, but ended up with following error..
    1.Program error in class COPY_QRY_TO_CUBE method : UNCAUGHT_EXCEPTION
    2.An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    3.The system tried to insert a data record, even though a data record with the same primary key already exists
    I also tried using function module RSZ_I_COPY_QRY_TO_CUBE, which was of no help. I get the following message with the function module...
    1. Program error in class RS_TESTFRAME_CALL method : UNCAUGHT_EXCEPTION
    2. An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    3. The system tried to insert a data record, even though a data record with the same primary key already exists
    I have also tried a solution in BW expert by using debugging mode of the above function module, again this was of no help..
    I am BI 7.0 SP09...
    Any ideas, Please....
    Thanks,
    RR
    Message was edited by:
            Ray R

    Hello,
    Are you trying to copy Business Content delivered Queries?
    I had also got this error when copying over all queries from one cube to another. Reason for this message was plain simple - I did not realise that the sender Cube had Business Content Query which we cannot copy over using RSZC as system tries to create another query with suffix as 0****_1. We cannot create query in SAP user namespace. Error message is different then the reason behind it.
    Thanks
    Ravi

  • Another Error Executing Database Query.

    I am getting this error.
    12:40:54.054 - Database Exception - in
    C:\CFusionMX7\wwwroot\Author\dropdown2\EmployeeAddAction.cfm : line
    26
    Error Executing Database Query.
    i have added extra fields in the mdb and added extra code to
    the form page and the action page.
    i am getting this error still.
    this is how i broke it down.
    If I run my 2 files EmployeeAddForm.cfm and
    EmployeeAddAction.cfm
    I get this error:
    NOTE: if i take out the comments from the code and ignore the
    new fields added to the db it works fine!!!!!
    The web site you are accessing has experienced an unexpected
    error.
    Please contact the website administrator.
    The following information is meant for the website developer
    for debugging purposes.
    Error Occurred While Processing Request
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in
    INSERT INTO statement.
    Resources:
    Enable Robust Exception Information to provide greater detail
    about the source of errors. In the Administrator, click Debugging
    & Logging > Debugging Settings, and select the Robust
    Exception Information option.
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    http://127.0.0.1:8500/Author/dropdown2/EmployeeAddForm.cfm
    Date/Time 06-Jun-07 12:40 PM
    NOTE: if i take out the comments from the code and ignore the
    new fields added to the db it works fine!!!!!

    Try using '###CreateODBCDate(Form.DateOfBirth)###'. Access is
    strange on
    handling dates. It has a been a while since I have used
    Access so it could
    be as simple as wrapping it single quotes as well. I am
    assuming the
    "<!-----------" wasn't intended, but I could be wrong.
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "Coldfusionstudent" <[email protected]>
    wrote in message
    news:[email protected]...
    >I am getting this error.
    > 12:40:54.054 - Database Exception - in
    >
    C:\CFusionMX7\wwwroot\Author\dropdown2\EmployeeAddAction.cfm : line
    26
    > Error Executing Database Query.
    >
    > i have added extra fields in the mdb and added extra
    code to the form page
    > and
    > the action page.
    > i am getting this error still.
    > this is how i broke it down.
    >
    > If I run my 2 files EmployeeAddForm.cfm and
    EmployeeAddAction.cfm
    > I get this error:
    >
    > The web site you are accessing has experienced an
    unexpected error.
    > Please contact the website administrator.
    >
    > The following information is meant for the website
    developer for debugging
    > purposes.
    >
    > Error Occurred While Processing Request
    > Error Executing Database Query.
    > [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft
    > Access Driver] Syntax error in INSERT INTO statement.
    >
    >
    > Resources:
    > Enable Robust Exception Information to provide greater
    detail about the
    > source
    > of errors. In the Administrator, click Debugging &
    Logging > Debugging
    > Settings, and select the Robust Exception Information
    option.
    > Check the ColdFusion documentation to verify that you
    are using the
    > correct
    > syntax.
    > Search the Knowledge Base to find a solution to your
    problem.
    >
    >
    > Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
    5.1; SV1; .NET CLR
    > 1.1.4322; .NET CLR 2.0.50727)
    > Remote Address 127.0.0.1
    > Referrer
    http://127.0.0.1:8500/Author/dropdown2/EmployeeAddForm.cfm
    > Date/Time 06-Jun-07 12:40 PM
    >
    >
    >
    > EmployeeAddForm.cfm
    >
    > <cfquery name="GetCompanies"
    > datasource="#Request.MainDSN#">
    > SELECT
    > CompanyID,
    > CompanyName
    > FROM
    > Company
    > ORDER BY
    > CompanyName
    > </cfquery>
    >
    > <html>
    > <head>
    > <title>ColdFusion MX Bible</title>
    > <link rel="stylesheet" href="styles.css">
    > </head>
    >
    > <body>
    >
    > <h1> </h1>
    >
    > <table>
    > <cfform action="EmployeeAddAction.cfm"
    method="POST">
    >
    > <tr>
    > <td>Company</td>
    > <td>
    > <cfselect name="CompanyID"
    > size="1"
    > query="GetCompanies"
    > value="CompanyID"
    > display="CompanyName"
    > required="Yes"
    > message="Please select a Company."></cfselect>
    > </td>
    > </tr>
    >
    > <tr>
    > <td>SSN</td>
    > <td>
    > <cfinput type="Text"
    > name="SSN"
    > message="Please enter the employee's Social Security
    Number."
    > validate="social_security_number"
    > required="Yes"
    > size="12"
    > maxlength="11">
    > </td>
    > </tr>
    >
    > <tr>
    > <td>First Name</td>
    > <td>
    > <cfinput type="Text"
    > name="Firstname"
    > message="Please enter the employee's first name."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr>
    >
    > <tr>
    > <td>Last Name</td>
    > <td>
    > <cfinput type="Text"
    > name="Lastname"
    > message="Please enter the employee's last name."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr>
    >
    > <tr>
    > <td>Salary</td>
    > <td>
    > <cfinput type="Text"
    > name="Salary"
    > message="Please enter a valid salary."
    > validate="float"
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr>
    >
    > <tr>
    > <td>DOB</td>
    > <td>
    > <cfinput type="Text"
    > name="DateOfBirth"
    > message="Please enter a valid date of birth in the
    format mm/dd/yyyy"
    > validate="date"
    > required="Yes"
    > size="11"
    > maxlength="10">
    > </td>
    > </tr><!-------------
    > <tr>
    > <td>device_typ</td>
    > <td>
    > <cfinput type="Text"
    > name="device_typ"
    > message="Please enter the employee's device_typ."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr><tr>
    > <td>device_Email</td>
    > <td>
    > <cfinput type="Text"
    > name="device_Email"
    > message="Please enter the employee's device_Email."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr><tr>
    > <td>Work_email</td>
    > <td>
    > <cfinput type="Text"
    > name="Work_email"
    > message="Please enter the employee's Work_email."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr><tr>
    > <td>Pin_Number</td>
    > <td>
    > <cfinput type="Text"
    > name="Pin_Number"
    > message="Please enter the employee's Pin_Number."
    > required="Yes"
    > size="22"
    > maxlength="20">
    > </td>
    > </tr>------------------>
    > <tr>
    > <td> </td>
    > <td>
    > <input type="submit" value="Add to Database">
    > </td>
    > </tr>
    >
    > </cfform>
    > </table>
    >
    > </body>
    > </html>
    > ---------------------------
    > EmployeeAddAction.cfm
    >
    > <cfquery name="InsertEmployee"
    > datasource="#Request.MainDSN#">
    > INSERT INTO Employee(
    > SSN,
    > CompanyID,
    > Firstname,
    > Lastname,
    > Salary,
    > DateOfBirth<!----------,
    > device_typ,
    > device_Email,
    > Work_email,
    > Pin_Number-------------->
    >
    > )
    > VALUES (
    > '#Trim(Form.SSN)#',
    > #Val(Form.CompanyID)#,
    > '#Trim(Form.Firstname)#',
    > '#Trim(Form.Lastname)#',
    > #Val(Form.Salary)#,
    > #CreateODBCDate(Form.DateOfBirth)#<!-----------,
    > '#Trim(Form.device_typ)#',
    > '#Trim(Form.device_Email)#',
    > '#Trim(Form.Work_email)#',
    > '#Trim(Form.Pin_Number)#'------------------>
    > )
    > </cfquery>
    >
    > <cfmail
    to="#Form.Firstname#.#Form.Lastname#@somewhere.com"
    > from="[email protected]"
    > subject="Welcome to your new company!">
    > Welcome to your new company, #Form.Firstname#
    #Form.Lastname#!
    > </cfmail>
    > <!----
    > <cflocation url="EmployeeList.cfm">----->
    >

  • 5200 : Error in executing  query -- Hyperion Financial Reporting

    Problem in accessing the Hyperion Financial Reports.User is having full access and able to access all the folders except one folder(Legal Folder reports). We are getting 5200: Error Executing the query error. Recently we have upgraded Hyperion to 11.1.1.3 version . Before upgrade user is not facing the problem. After Upgrade user is getting these errors while accessing the reports. we did research and found in "Error 5200: Error Executing Query" When Viewing Financial Reporting (FR) Reports". Is this error is relevant to the Information provided in Metalink and also can you please tell us is there any impact on doing the solution provided in the below. Why is this error is coming is any preferences needs to be changed.Please help us on this.
    Error Description:
    5200: Error executing query
    Servername/ApplicationName/DatabaseName/Error(1007090) Unknown Member name [Current Point of view for years] in Outline Query
    Doc ID 1107142.1:
    Possible Cause 1:
    If members have recently been added, moved, or deleted from the data source, Essbase, HFM, or Planning, the existing User POV records become out of sync.
    The User Point of View record uses indexing to identify the member. If the index changes because of changes in the outline, the User Point of View record no longer points to the correct location in the outline.
    To resolve the issue, you need to run the ManageUserPOV utility on a Windows server that has the Financial Reporting Reports Server, or in a Unix or Linux environment, has the Financial Reporting Print Server installed.
    You will need to provide a BIPlus Global Administrator user ID and password to run the utility.
    The utility will provide the correct syntax to run the command.
    1. In \Hyperion\products\biplus\bin\ManageUserPOV.properties, specify the following parameters:
    a. ReportServer
    b. DatasourceUser
    c. DatasourcePassword
    d. User
    e. Datasource (You can find the datasource in Workspace under Tools>Database Connection Manager in the Name column.)
    2. From the command line, cd to Hyerion\products\biplus\bin
    3. Type in "ManageUserPOV" without the quotes. The executable will read the parameters previously set in the ManageUserPOV.properties file.
    Thanks,
    Naresh.

    Take a look at this: http://adistrategies.com/index.php?loc=knowledge1&item=291
    Hope it helps.
    Mehmet

Maybe you are looking for

  • Adobe Edge Animate CC: Trial Version cannot start

    Hi, I cannot connect to start the German Trial Version of Edge Animate. I´ve installed the Cloud and Adobe Muse trial is working. But opening the Edge Animate Icon, I get this error message below. My internet is working, the computer´s clock is corre

  • Nord electro as evb3 controller

    Hi: I'm trying to improve my EVB3 tracks and at the same time buy an organ clone to gig with. I'm attracted to the nord electro because of its size and versatility. Does anyone use one of these to trigger the evb3? How well do the drawbars (?) and ot

  • Standard report name in PS  module

    if anybody knows the some standard report in PS   module  then please give me  the standard  report name

  • Urgent : Oracle Reports Server 9.0.4.0.0 Japanese fonts

    Hi, I have one problem in displaying Japanese fonts in Reports Server. I have installed Oracle Reports Server (9.0.4.0.0) by selecting radio button - ' Use Unicode (UTF8) as the Character Set' while installing Infrastructure. But I didn't choose any

  • ICloud - how to synch a second account?

    We have 3 apple products and two separate accounts.  One apple accounts has iPhone and iPad and are synched in iCloud.  the other account has iPhone and is not synched. How do i link the other account iPhone to the same iCloud as the other 2?