LAST function in ACCESS, what's in Oracle ?

Hi
Does anyone know what would be a equivalent of LAST function in Access to Oracle ?
In Access, the Last function returns the last value from the result set of a query.
The syntax for the Last function is:
Last ( expression )
expression is the value that you'd like to return from the result set. The Last function only returns the last value in the result set.
Thanks,
Amrik

Some alternative way:
SQL> select ename, deptno, sal from emp order by deptno, sal, ename desc;
ENAME          DEPTNO        SAL
MILLER             10       1300
CLARK              10       2450
KING               10       5000
SMITH              20       1000
ADAMS              20       1100
JONES              20       2975
SCOTT              20       3000
FORD               20       3000
JAMES              30       1120
MARTIN             30       1250
WARD               30       1450
TURNER             30       1500
ALLEN              30       1800
BLAKE              30       2850
14 rows selected.
SQL> SELECT ename
  2    FROM (
  3  SELECT ename,
  4         ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY sal desc, ename) AS rnum
  5    FROM emp
  6  )
  7  WHERE rnum = 1;
ENAME
KING
FORD
BLAKE
SQL> select max(ename) KEEP (DENSE_RANK LAST ORDER BY sal, ename desc) from emp
  2  group by deptno;
MAX(ENAME)
KING
FORD
BLAKE
 Rgds.

Similar Messages

  • What is the Oracle equivalent of the Microsoft Access FIRST function?

    Using: Oracle 10gR2 RAC on SUSE Linux 9 (10.2.0.3)
    In the process of converting a Microsoft Access database to Oracle, an Access query is using the FIRST function.
    What is the Oracle equivalent of the Microsoft Access FIRST function?
    In the attempt to convert, the Oracle FIRST_VALUE function was used. However, the same results was not achieved.
    Thanks,
    (BLL)
    Query:
    h2. ACCESS:
    SELECT
         TRE.GCUSNO,
         UCASE([DCUSNO]) AS DCUSNO_STD,
         *FIRST(UCASE([DNAME])) AS DNAME_STD*,
         *FIRST(UCASE([DADDR])) AS DADDR_STD*,
         *FIRST(UCASE([DCITY])) AS DCITY_STD*,
         TRE.DSTATE,
         FIRST(TRE.DZIP) AS DZIP,
         TRE.DREGN,
         TRE.DDIST,
         TRE.DSLSMN,
         TRE.DCHAIN,
         TRE.MARKET,
         TRE.MKTPGM,
         TRE.EUMKT
    FROM
         TRE
    GROUP BY
         TRE.GCUSNO,
         UCASE([DCUSNO]),
         TRE.DSTATE,
         TRE.DREGN,
         TRE.DDIST,
         TRE.DSLSMN,
         TRE.DCHAIN,
         TRE.MARKET,
         TRE.MKTPGM,
         TRE.EUMKT;
    h2. ORACLE:
    SELECT DISTINCT
    TRE.GCUSNO,
    UPPER(TRIM(TRE.DCUSNO)) AS DCUSNO_STD,
    UPPER(TRIM(TRE.DNAME)) AS DNAME_STD,
    UPPER(TRIM(TRE.DADDR)) AS DADDR_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DNAME)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DNAME_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DADDR)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DADDR_STD,
         FIRST_VALUE(UPPER(TRIM(TRE.DCITY)) IGNORE NULLS) OVER (ORDER BY TRE.GCUSNO) AS DCITY_STD,
    TRE.DSTATE,
    TRE.DZIP,
    FIRST_VALUE(UPPER(TRIM(TRE.DZIP)) IGNORE NULLS) OVER (ORDER BY TRE.DZIP ASC) AS DZIP,
    TRE.DREGN,
    TRE.DDIST,
    TRE.DSLSMN,
    TRE.DCHAIN,
    TRE.MARKET,
    TRE.MKTPGM,
    TRE.EUMKT
    FROM CRM.TREUP100R TRE
    GROUP BY
    TRE.GCUSNO,
    UPPER(TRIM(TRE.DCUSNO)),
    TRE.DNAME,
    TRE.DADDR,
    TRE.DCITY,
    TRE.DSTATE,
    TRE.DZIP,
    TRE.DREGN,
    TRE.DDIST,
    TRE.DSLSMN,
    TRE.DCHAIN,
    TRE.MARKET,
    TRE.MKTPGM,
    TRE.EUMKT;

    A slight correction to odie's post. I think you want min not max to replicate the Access first function, but see below to be sure. So:
    min(upper(trim(tre.dname))) keep (dense_rank first order by tre.gcusno) as dname_std
    user10860953 wrote:How does one ignore null values?The min and max functions will ignore nulls automatically, so if there is a null value in tre.dname, it will not be be returned, unless all of the values are null. For example:
    SQL> WITH t AS (
      2     SELECT 65 id, 'ABCD' col FROM dual UNION ALL
      3     SELECT 37, 'DEFG' FROM dual UNION ALL
      4     SELECT 65, 'DEFG' FROM dual UNION ALL
      5     SELECT 65, null FROM dual UNION ALL
      6     SELECT 70, null FROM dual UNION ALL
      7     SELECT 70, null FROM dual UNION ALL
      8     SELECT 37, 'ABC' from dual)
      9  SELECT id,
    10         MIN(col) keep (DENSE_RANK FIRST ORDER BY id) min_dname_std,
    11         MAX(col) keep (DENSE_RANK FIRST ORDER BY id) max_dname_std
    12  FROM t
    13  GROUP BY id;
            ID MIN_ MAX_
            37 ABC  DEFG
            65 ABCD DEFG
            70John

  • Ms Access Last function equivalent function in T-SQL

    Hi,
    I am new to SQL Server. I have table with information below. Some provider is listed twice in the table
    Provider Code
    Outlet Code
    Provider
    Province
    Phone
    First Visit Date
    Last Visit Date
    Supervision Score (%)
    Score of Critical Steps
    IUD Percentage of Critical Steps
    80% Country Quality Service
    Critical Step
    Meet Quality Guideline
    5188
    01-00-0068
    HENG Vuoch Eng
    Banteay Meanchey
    (012) 958-919
    4/2/2014
    4/2/2014
    91.66
    2.43
    81.37
    No
    No
    No
    5188
    01-00-0068
    HENG Vuoch Eng
    Banteay Meanchey
    (012) 958-919
    28-05-2014
    28-05-2014
    87.96
    2.43
    81.37
    Yes
    Yes
    Yes
    5410
    01-00-0110
    Chhuoy Pannada
    Banteay Meanchey
    (016) 865-985
    18-03-2014
    18-03-2014
    85.18
    2.52
    84.31
    Yes
    Yes
    Yes
    5190
    01-00-0123
    Nhek Puthary
    Banteay Meanchey
    (012) 217-175
    8/1/2014
    8/1/2014
    84.25
    2.29
    76.47
    No
    Yes
    No
    5190
    01-00-0123
    Nhek Puthary
    Banteay Meanchey
    (012) 217-175
    22-05-2014
    22-05-2014
    83.33
    2.29
    76.47
    No
    Yes
    No
    5413
    01-00-0184
    Kou Mom
    Banteay Meanchey
    (097) 787-8280
    11/2/2014
    11/2/2014
    89.81
    2.64
    90.19
    n/a
    Yes
    n/a
    5413
    01-00-0184
    Kou Mom
    Banteay Meanchey
    (097) 787-8280
    27-02-2014
    27-02-2014
    98
    2.64
    90.19
    Yes
    Yes
    Yes
    5634
    01-00-0264
    Yoeub Chakriya
    Banteay Meanchey
    (012) 938-538
    22-05-2014
    22-05-2014
    88.88
    2.64
    88
    Yes
    No
    No
    5542
    01-00-0601
    Ngann Ratha
    Banteay Meanchey
    (012) 201-406
    20-05-2014
    20-05-2014
    87.81
    2.23
    74.33
    No
    Yes
    No
    5532
    01-00-0913
    Em Mouth
    Banteay Meanchey
    (012) 447-674
    6/3/2014
    6/3/2014
    92.59
    2.79
    93.13
    Yes
    Yes
    Yes
    5532
    01-00-0913
    Em Mouth
    Banteay Meanchey
    (012) 447-674
    6/6/2014
    6/6/2014
    92.59
    2.79
    93.13
    Yes
    Yes
    Yes
    5554
    01-00-0920
    Boa Tay
    Banteay Meanchey
    (012) 985-539
    18-03-2014
    18-03-2014
    84.4
    2.26
    75.49
    No
    Yes
    No
    5554
    01-00-0920
    Boa Tay
    Banteay Meanchey
    (012) 985-539
    17-06-2014
    17-06-2014
    85.18
    2.26
    75.49
    No
    Yes
    No
    5535
    01-00-0922
    Say Sav Dy
    Banteay Meanchey
    (012) 764-632
    4/3/2014
    4/3/2014
    79.62
    2.47
    86.28
    No
    Yes
    No
    5535
    01-00-0922
    Say Sav Dy
    Banteay Meanchey
    (012) 764-632
    19-06-2014
    19-06-2014
    79.62
    2.47
    86.28
    Yes
    No
    No
    5414
    01-00-0963
    Thorn Sao Rouey
    Banteay Meanchey
    (012) 673-017
    9/4/2014
    9/4/2014
    82.4
    2.58
    86
    Yes
    Yes
    Yes
    In Ms Access, I can reproduce list of unique provider using the last function (see table below) 
    How can I do it in SQL Server?
    Provider Code
    Outlet Code
    Provider
    Province
    Phone
    FirstOfFirst Visit Date
    LastOfLast Visit Date
    LastOfSupervision Score (%)
    LastOfScore of Critical Steps
    LastOfIUD Percentage of Critical Steps
    LastOf80% Country Quality Service
    LastOfCritical Step
    LastOfMeet Quality Guideline
    5137
    06-00-0417
    Kang Sophalna
    Kampong Thom
    (092) 954-367
    22-04-2014
    22-04-2014
    87.03
    3
    100
    Yes
    Yes
    Yes
    5138
    06-00-0415
    Nou Vichetra
    Kampong Thom
    (012) 773-102
    20-03-2014
    12/6/2014
    96.29
    3
    100
    Yes
    Yes
    Yes
    5140
    06-00-0254
    Yim Cheng Sim
    Kampong Thom
    (012) 725-597
    4/3/2014
    6/6/2014
    96.29
    3
    100
    Yes
    Yes
    Yes
    5143
    06-00-0868
    Long Chanthida
    Kampong Thom
    (012) 682-009
    20-05-2014
    20-05-2014
    93.51
    3
    100
    Yes
    Yes
    Yes
    5145
    06-00-0969
    Kong Sithan
    Kampong Thom
    (092) 914-384
    1/2/2014
    1/2/2014
    95.36
    n/a
    No
    n/a
    5146
    06-00-0893
    Kam Keng
    Kampong Thom
    (089) 664-617
    11/3/2014
    12/6/2014
    87.03
    3
    100
    Yes
    Yes
    Yes
    5148
    06-00-1035
    Heng Sonath
    Kampong Thom
    (012) 524-063
    6/3/2014
    3/6/2014
    92.59
    3
    100
    Yes
    Yes
    Yes
    5149
    06-00-0845
    Ieng Keatheng
    Kampong Thom
    (011) 667-795
    18-03-2014
    10/6/2014
    87.96
    3
    100
    Yes
    Yes
    Yes
    5157
    07-00-0143
    Ung Chetha
    Kampot
    (012) 976-371
    12/4/2014
    12/4/2014
    90.74
    2.76
    92.15
    Yes
    Yes
    Yes
    5188
    01-00-0068
    HENG Vuoch Eng
    Banteay Meanchey
    (012) 958-919
    4/2/2014
    28-05-2014
    87.96
    2.43
    81.37
    Yes
    Yes
    Yes
    5190
    01-00-0123
    Nhek Puthary
    Banteay Meanchey
    (012) 217-175
    8/1/2014
    22-05-2014
    83.33
    2.29
    76.47
    No
    Yes
    No

    What SQL Server version you are using? Since SS2012 we have LAST_VALUE function
    http://msdn.microsoft.com/en-us/library/hh231517.aspx
    SELECT * FROM
    SELECT <columns>,ROW_NUMBER() OVER (PARTITION BY providercode ORDER BY date DESC) rn
    ) AS Der WHERE rn=1
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Calling oracle function from access

    does anyone know if it s possible to call a oracle pl/sql function from access ?
    thx in advance
    Andre

    As long as you do not need a return value from the procedure, you can call it from Access.
    Create a QueryDef object as a sql pass through query. Make sure that you set the ReturnsRecords property of the QueryDef to false. Set the SQL property of the QueryDef to the correct syntax to execute your procedure, then call the Execute method of the QueryDef object.

  • Problem calling Oracle function from Access 2007 / ADO

    Hopefully, I'm posting this in the correct forum. I'm also posting on an Access forum as I'm not entirely sure where the issue lies.
    I'm calling an Oracle function from Access 2007 using an ADO Command object.
    The function takes three input parameters and has a return value and an output parameter. The output parameter is a BLOB, and the return value is varchar2 (either "T" or "N") based on the outcome of the function.
    If I pass correct values to the function, I get the following error message (errs out on the command.execute line):
    Run-time error '-2147467259 (80004005)':
    [Oracle][ODBC][Ora]ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    Here's the function:
    FUNCTION GET_ITEMREV_ATTACH(P_ORGANIZATION_ID IN NUMBER,
    P_INVENTORY_ITEM_ID IN NUMBER,
    P_REVISION IN VARCHAR2,
    X_DRAWING OUT BLOB) RETURN VARCHAR2 IS
    RESULT VARCHAR2(1);
    BEGIN
    RESULT := 'T';
    BEGIN
    SELECT L.FILE_DATA
    INTO X_DRAWING
    FROM FND_ATTACHED_DOCUMENTS AD,
    MTL_ITEM_REVISIONS_B IR,
    FND_DOCUMENTS_TL D,
    FND_LOBS L
    WHERE AD.ENTITY_NAME = 'MTL_ITEM_REVISIONS' AND
    AD.PK1_VALUE = IR.ORGANIZATION_ID AND
    AD.PK2_VALUE = IR.INVENTORY_ITEM_ID AND
    AD.PK3_VALUE = IR.REVISION_ID AND
    AD.CATEGORY_ID = 1001216 AND
    D.DOCUMENT_ID = AD.DOCUMENT_ID AND
    D.LANGUAGE = 'US' AND
    L.FILE_ID = D.MEDIA_ID AND
    IR.ORGANIZATION_ID = P_ORGANIZATION_ID AND
    IR.INVENTORY_ITEM_ID = P_INVENTORY_ITEM_ID AND
    IR.REVISION = P_REVISION;
    EXCEPTION
    WHEN OTHERS THEN
    RESULT := 'N';
    END;
    RETURN(RESULT);
    END GET_ITEMREV_ATTACH;
    Here's the VB code I'm using to call the function:
    Private Sub Command8_Click()
    Dim CMD As New ADODB.Command
    Dim conn As ADODB.Connection
    Dim Param1 As ADODB.Parameter
    Dim Param2 As ADODB.Parameter
    Dim Param3 As ADODB.Parameter
    Dim ParamBlob As ADODB.Parameter
    Dim ParamReturn As ADODB.Parameter
    Set conn = New ADODB.Connection
    With conn
    .ConnectionString = "Driver={Oracle in OraHome92};Dbq=OAPLY;UID=***;PWD=*******"
    .CursorLocation = adUseClient
    .Open
    End With
    Set CMD = New ADODB.Command
    Set CMD.ActiveConnection = conn
    CMD.CommandText = "immi_attach_pub.get_itemrev_attach"
    CMD.CommandType = adCmdStoredProc
    Set ParamReturn = CMD.CreateParameter("RESULT", adVarChar, adParamReturnValue, 1)
    CMD.Parameters.Append ParamReturn
    Set Param1 = CMD.CreateParameter("P_ORGANIZATION_ID", adInteger, adParamInput, 1, 6)
    CMD.Parameters.Append Param1
    Set Param2 = CMD.CreateParameter("P_INVENTORY_ITEM_ID", adInteger, adParamInput, 4, 5207)
    CMD.Parameters.Append Param2
    Set Param3 = CMD.CreateParameter("P_REVISION", adVarChar, adParamInput, 2, "04")
    CMD.Parameters.Append Param3
    Set ParamBlob = CMD.CreateParameter("X_DRAWING", adLongVarBinary, adParamOutput, 200000)
    CMD.Parameters.Append ParamBlob
    CMD.Execute , , adExecuteNoRecords *** this is where the error occurs
    conn.Close
    MsgBox CMD.Parameters("RESULT")
    End Sub
    I've tried using different data types for the varchar2 parameters (adVarChar, adBSTR, adChar) with no difference.
    If I pass a bogus value for Param3...."'04'"...the function returns "N" indicating that it actually executed something. But, when I pass the correct value "04", it returns the above mentioned error.
    I can execute the function in PL/SQL just fine, so I'm thinking there's something wrong with the parameters, datatype, or other definitions on the Access side.
    Does anyone have any thoughts? I'm at a dead end with this. Sorry for the long post. Thank you.

    I tried your code with 11107 ODBC/client/database (but with a NULL output blob for convenience sake) and got no errors.
    If you're using 92 ODBC/client, you may want to try upgrading to something more current, or at least getting the latest patch(9208) to see if that helps. Since it works for me I'm guessing it may be a resolved bug in that version.
    Hope it helps,
    Greg

  • How to find which form function is accessed by user recently.

    Hi Experts,
    I have to find out which form function is accessed by user recently, we can find out what was the last form user accessed using FND_LOGIN_RESP_FORMS table.
    thanks,
    Chukky

    Hi,
    I have no idea about any differences in this table between 11i (11.5.10.2) and R12.
    If you can give me some information that how ICX_SESSIONS and ICX_TRANSACTIONS table gets populated.I do not think you will find details about these two tables as Oracle does not support access to Oracle applications data using this object, except from standard Oracle Applications programs (check eTRM).
    Log a SR, and see if Oracle Support would provide you with more details.
    Regards,
    Hussein

  • Access remote MonetDB from Oracle using ODBC

    Hello,
    I really need your help, I have been trying for more that one week to figure out what is the problem without success
    Here is the details of my problem:
    I have oracle  11g installed on machine1 (ubuntu 64bit) , and I have MonetDB installed on machine2 (ubuntu 64bit, ip= 192.168.56.101)
    I need to access MonetDB database from oracle.
    I followed the configurations steps but I get always the following error:
    select "id" from "test"@monetdb;
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][MonetDB][ODBC Driver 11.11.11]Client unable to establish connection
    {08001}
    ORA-02063: preceding 2 lines from MONETDB
    I installed unixODBC on the machine1 and I used MonetDB ODBC driver which generates the following odbc.ini file
    [monetdb]
    Description = MonetDB
    Driver = /usr/lib64/libMonetODBC.so
    Host = 192.168.56.101
    Port = 50000
    Database = demo
    User = monetdb
    Password = monetdb
    Debug =
    Here are my configurations:
    tnsnames.ora:
    monetdb =
       (DESCRIPTION =
          (ADDRESS =
             (PROTOCOL = TCP)
             (HOST =localhost)
             (PORT =1521)
          (CONNECT_DATA =
             (SID=monetdb))
          (HS = OK))
    Listner.ora
    SID_LIST_LISTENER=
       (SID_LIST=
          (SID_DESC=
             (SID_NAME=monetdb)
             (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
             (PROGRAM=dg4odbc)
             (ENVS=LD_LIBRARY_PATH=/usr/lib64:$ORACLE_HOME/lib)
    In $ORACLE_HOME/hs/admin I created the file initmonetdb.ora
    HS_FDS_CONNECT_INFO=monetdb
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_LANGUAGE=american_america.we8iso8859p1
    set ODBCINI=/etc/odbc.ini
    when I do lsnrctl start i get the following
    Log messages written to /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                26-OCT-2013 01:32:37
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "monetdb" has 1 instance(s).
      Instance "monetdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    any ideas why I get this error??
    Regards
    Baraa

    Hi,
    Firstly, try to configure your gateway listener on another port than 1521 as it is the default one for database. Don't forget to change also the port in TNSNAMES.ORA.
    Then use the host machine or ip address rather than the local host in the LISTENER.ORA and TNSNAMES.ORA.
    Avoid to use  $ORACLE_HOME in the ENVS from LISTENER.ORA but use a complete PATH.
    Then test your ODBC connection outside Oracle. What is the result?
    Try to get result of the following commands on the Oracle machine1 :
    $cd /usr/bin
    $./odbcinst -q -d
    $./odbcints -q -s
    Change parameter in gateway init file:
    HS_FDS_TRACE_LEVEL=DEBUG
    Execute your SELECT statement:
    select "id" from "test"@monetdb;
    Get the gateway trace file in /u01/app/oracle/product/11.2.0/dbhome_1/hs/log and send us
    Thanks
    Regards,
    Mireille MEGE

  • MS Access Memo fields to Oracle 9i

    I've successfully migrated an Access 97 database to Oracle 9i, but I'm having trouble connecting to certain tables from MS Access. The common feature of these tables is that they have notes fields of type Memo
    These fields have been correctly migrated to CLOB in Oracle, but when I look at them in the Design view of Access, they show as being of type Text
    I've attempted to create another Access linked table to one of these Oracle tables, but the notes field still shows as type Text
    When these linked tables are opened, I get one of two errors:
    "Reserved Error (-7711), there is no message for this error" followed by "SRS Belfast MI can't open this table in Datasheet view"
    or
    "ODBC - call failed" followed by "[Microsoft][ODBC Driver Manager] Function sequence error (#0)" followed by the Datasheet view opening will all the fields displaying #Name? as values
    Any suggestions?

    Hi Richard,
    we have not been able to reproduce this problem in-house. Can you forward the following information to [email protected] please ? :
    1. Information on how to produce a small testcase that causes the same problem.
    2. The error.log file which can be found in %OMWB_HOME%\bin.
    3. Details on the version of the ODBC driver you are using.
    Thank you,
    Tom.

  • How i can import  MS access Data base in Oracle 9i

    Dear ALL,
    i am feacing problem in import data base from MS ACCESS to Oracle 9i the procedure was very simple in oracle 8.0.5 but dont know what is in Oracle 9i pls i am in big tribble just boz of this problem pls tell me the solution of this prob with brief Steps would be very thank full to you
    Nauman Mirza

    Naumann,
    Have you checked out the Oracle Migration Workbench? You will find a lot of infromation about it here on OTN.
    Donal

  • Key F4 to retry the last function / instruction similarly in MS-Office

    Key F4 to retry the last function / instruction similarly in MS-Office ?

    Your question isn't very clear on what you are trying to achieve.
    I'm assuming that you're talking about capturing a user pressing the F4 button in your LabVIEW application to retry the last action/command. I think this would be possible using an event structure to detect the F4 key being pressed and using this to prompt your application to do that action/command again.
    The event structure can be set up as follows:
    How you actually implement this will depend on the architecture of your application - you'll need to remember the last action that was performed (perhaps on a shift register).
    If you're talking about in the LabVIEW development environment itself - I don't think this is possible. You could suggest it on the LabVIEW ideas exchange though!
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Last Trap: Data Access Error

    Hello,
    I don't know what the appropropriate forum to ask this would be; please
    suggest another one if this is not the best one.
    We have a PCI-Express board (that we developed) that we're attempting to
    use in a Sparc system. It is an Ultra 25 (also says Ultra SPARC IIIi).
    We've attempted to use both Solaris 9 and 10.
    With our board in an x8 slot, the system will not boot. If our board
    is in an x16 slot, the system boots okay and the system can access
    the board properly. Our board is an x1 board.
    The following error message is seen during boot attempts:
    "ERROR:/pci@e,600000/pci@1/pci@0/usb@1c,1: Last Trap: Data Access Error"
    In addition, systems are able to boot and access our boards properly when the
    boards are in x4, x8, and x16 slots of x86 systems running Windows and other
    operating systems.
    Could anyone suggest what might be wrong?
    Thanks,
    Nathan

    Hello Sane,
    I'm seeing a wierd problem on a new v890 server...
    Record the current OBP settings, then issue set-defaults.
    If the problem persists, open a service case.
    Michael

  • Why are the options for "When Firefox starts" NOT clickable in Firefox 5? I want to choose "Windows and tabs that where opened last time you accessed the net" but Firefox won't let me.

    In the previous version of Firefox one could choose to save tabs so that when Firefox opened, all the tabs from the previous sessions appeared. This was done in Settings > Options > General > Startup. In the menu for the "When Firefox Starts" one had the option for "Windows and tabs that where opened last time you accessed the net." in Firefox 5.0, this menu is gray and not clickable. Help, please?

    ''Why are the options for "When Firefox starts" NOT clickable in Firefox 5?"
    Possibly you are not saving your "browsing history" which is what the session history is tied into.
    '''Not saving History''' -- check your settings for '''Tools > options > Privacy'''', make sure you are not clearing more than just cache in "Settings for Clearing History"
    * http://img232.imageshack.us/img232/4928/clearcachew.png
    * clearing your history at end of session, cache is the only one you would want to clear at end of session, if you don't want to lose things
    There are several things that are related to private browsing and not saving History
    * Private Browsing Ctrl+Shift+P
    * You selected "Never remember history" in first drop-down of Tools > Options Privacy and all of the check marks disappear (See picture above)
    * "Permanent private browsing mode" was check-marked under "Use custom settings for history" in the first drop-down of Tools > options > Privacy (see picture above)

  • How to find obsoleted tablespace? (scn or time of last change or access)

    Hi,
    there are many tablespaces in the database which are probably not yet used by applications...
    Please, how do I find which of these can be dropped? That means, how to find last update time or scn of last change or access (last used select for that tablespace)?
    Many thanks in advance in any info how to get forward.
    Pavol

    user10858565 wrote:
    Hi,
    there are many tablespaces in the database which are probably not yet used by applications...
    Please, how do I find which of these can be dropped? That means, how to find last update time or scn of last change or access (last used select for that tablespace)?
    Many thanks in advance in any info how to get forward.
    PavolI suppose you meant tables (in that tablespace)
    There is no direct way where you can find this information if auditing is not enabled.
    To check if insert/update/delete has been performed on table you can use function ora_rowscn to check when it was done last.
    Regards
    Anurag

  • Accessing ContentDB Webclient from Oracle Portal

    Hi All,
    Is there a way to access ContentDB webclient from oracle portal application.We are new to oracle portals. Please let us know if anyone has idea about how to proceed on developing it to access ContentDB webclient.
    Thanks,

    I could be completely wrong here, but I believe you may be able to write a PDK portlet that uses the Content DB API.
    The path we are taking is using Webcenter with a JSF bridge and the Content DB (CDB) API. In JDeveloper, we have multiple samples of the ADF/JSF-CDB API functioning. We then moved on and have JHeadstart producing the ADF/JSF; which in turn uses the CDB API. We are currently testing deployment.
    Our next step will be to link it with Webcenter and we will have should then have our portlet.
    Hope that helps.
    Steve

  • What version of Oracle should I use?

    Hi, Opologies for such a basic question. I am new to Oracle and need to create a fairly small database for a final year university project. The project will require me to pull information from a database using a Korne shell script running in Linux.
    What version of Oracle should i download? Does this come with some sort of development tool?
    Many thanks for any help that could be given!

    Hi,
    For using Final year College project,
    you have to show your expertise and knowledge in that - correct.
    my suggestion you have to go for oracle 9i.
    Almost all of the company still in oralce 8, 8i.
    Now changes has come from last 3 month, they are upgrading to oracle 9i.
    you would be shown your knowledge in that, after completing your project, based on this.
    you will get entry immediate -
    Ok.
    Keep in touch...
    My personal email id.
    [email protected],
    [email protected]
    with cheers from...
    M.K.Thamaraiselvan.

Maybe you are looking for