Oracle equivalent for @@minuserid and @@maxuserid

im migrating from sybase to oracle,.. and in some stored procedure this 2 global parameters are use:
@@minuserid: min. user id
@@maxuserid: maximum user id
is there any equivalent in oracle 10g??

No, there isn't.
What are you trying to do with @@minuserid and @@maxuserid?
Maybe we can think about coding around.

Similar Messages

  • Oracle equivalent for OBJECTPROPERTY

    Hi Friends,
    I want the oracle equivalent for the following sql code,
    Select @Command = 'IF OBJECTPROPERTY(object_id('''+ @TableName + '''), ''TableHasForeignRef'') = 1
                              DELETE FROM ' + @TableName + '
                          ELSE
                              TRUNCATE TABLE ' + @TableName
    EXEC sp_MSForEachTable @CommandI have tried to find out, but no use. Please help me.
    Thanks,
    Ram.

    Ram wrote:
    I have tested a table which has foreign key. But the count returned from the query is 0.
    Have I implemented your query in the right way?Same like in SQL Server, Oracle does not allow truncating table if it has a PK or UK which is referenced by FK. There are no issues truncating table with FK. Again, it is table with PK/UK where you might not be able to truncate if that PK/UK is referenced by FK. And SQL Server property TableHasForeignRef = TRUE means there is a FK (on a different table or maybe even on same table if it is self-referencing FK) which is referencing PK/UK on a table in question. Query I suggested returns 1 if table has a PK or UK which is referenced by FK. Otherwise it returns 0. So if, in your case, table MY_TABLE owned by user DBO_XYZ has just FK, 0 is correct and you can truncate it. If it would return 1, you would not be able to truncate and would have to delete.
    SY.

  • How to configure Oracle SSO for forms and apex

    Hi All,
    I am trying to configure oracle SSO for forms and apex using third party external authentication. Please help me how to configure. I a have tried all possible things
    from web but I am not able to do it. Is there any doc or links are much appreciated.
    Info: Some reason my oiddas web link is not working it used to work fine before and also the from /pls/orasso/ link I am not able to login may be because of my oiddas issue
    Thanks

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • Oracle Provider for Membership and Roles not running

    Hi Everyone,
    I ran the ASP.Net Configuration and select the 'Provider' tab.
    When I choose 'Select a single provider for all site management data', only AspNetSqlProvider is shown.
    When I choose 'Select a different provider for each feature (advanced)', I see the Oracle Provider for Membership and Roles. I select both then try to enter 'Security' tab. It will hang then come back with this error:
    "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. "
    Any solutions to this...........
    Regards
    Sid

    Thanks for the reply but i stil have the problem...............
    My Current machine.config has this to say in that particular section
    <connectionStrings>
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    <add name="OraAspNetConString" providerName="Oracle.DataAccess.Client" connectionString=" "/>
    </connectionStrings>
    What can be done.........................in this case
    Thanks

  • Oracle License for SE and SE1

    Dear All,
    Just confused after reading multiple documents that Oracle license for SE and SE1 is based on Sockets and not on CPU cores like EE.
    So my question is If have 2 socket motherboard and I install 4 CPU cores on these 2 sockets. How should i obtain license from Oracle for SS and EE?
    Like only for 2 sockets into per socket license cost for SE? (2 CPU cost for SE)
    But for the same machine and for EE edition I have to buy license for 4 CPU cores? (4 CPU cost for EE)
    Is this understanding correct?
    Also please guide me how to license Logical standby in case if reports are running from Logical standby and if this logical standby is ONLY brought into use when production server fails. What is the difference?
    Thanks a lot.
    Regards, Imran

    by my understanding, Oracle for linux is free for development purpose only. you can use it as long as you are using it only for development. howver, you have to buy proper licenses if you want to deploy it in a production env.
    Oracle 8i is several hundreds Meg in size. depending on your internet connection, you may want to request a free CD.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sany Sam ([email protected]):
    Hi,
    I had PostGresql database installed on my Linux machine. And have MS Access database from Windows 98 connect to the PostGresql database. For some reason it is too slow. So I decided to try Oracle for Linux, and I heard peoples told me that Oracle for Linux is free. I had used Oracle in windows environment, and It's very fast. So probably oracle on linux machine and have MS Access connect to it using ODBC should be fast too.
    My point is Oracle for Linux is free? and for how long, and for how many concurrent users? To install it, should I download it from the Oracle web site, or should I install it from a CD-ROM?
    Thanks,
    Sany<HR></BLOCKQUOTE>
    null

  • How to configure Oracle RAC for Wiki and Blog

    Has anyone done Oracle RAC configuration for Oracle Wiki and Blogs?
    Thanks,
    Frank

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • Oracle Connector for Outlook and Sent Mail

    I'm very desperate for help with my problem. I have a customer that uses Outlook 2003 with the Oracle Connector for Outlook. When I set up the Connector, I only had it handle her Calendar. By that I mean that the only thing I wanted the Connector to do was pull her Oracle Calendar information and put it into Outlook's calendar. I used the default setting of the Connector of IMAP, but deselected the incoming and outgoing mail servers.
    The user kept having problems with Outlook going Offline so I decided to remove the Connector. I did not realize until after removing the Connector account from Outlook that her sent mail was being saved in Oracle. This is very problematic for me because I have no idea what to do. Is there a way to retrieve the sent mail? I don't even understand why the sent mail was being saved within the Oracle folder. Once I deleted the Connector account in Outlook I was then told that I had to choose another folder for new mail to go to so I chose Personal Folders.
    If I go to \Documents and Settings\User's Name\Local Settings\Application Data\Microsoft\Outlook, I find the folder for the Connector. There is one in particular that has a .dll file that is about 56MB in size. However, I have no idea if that's the sent mail and, if so, how do I retrieve it.
    I'd GREATLY appreciate any help that can be given on this. I simply would like to know if there is a way to retrieve that mail.
    The user is using an IMAP account. This is NOT an Exchange account.

    1. Yes, OCFO is only for comunication with Oracle Calendar
    2. Yes, you can see any mail stored on the Oracle IMAP server without OCFO. Just subscribe to IMAP folders you want ...

  • Installation of Oracle Discoverer for PeopleSoft and Oracle apps(11.5.10)

    Hello Gurus,
    I hope I am in the right forum. I have been assigned to install Oracle Discoverer for Oracle ERP (11.5.10). We currently have a Oracle Discoverer environment for Peoplesoft. My questions are follows.
    1. Can I use the existing Oracle Discoverer which is used to get PeopleSoft data for Oracle Applications (11.5.10) ?? This way I avoid installing another copy of Discoverer. In Future, if we could use the existing technology for other Databases.
    2. If I go in for a new install of Oracle Discoverer, what is that I need to install ? I am guessing, there should be
    1. Desktop application on the client
    2. Do I need to install anything on the server ?
    3. I will have a Oracle Discoverer database
    I guess 1. (Desktop application) would be installed on all desktops ? Is there a web based thingy ?? For 2 and 3 I would require the DBA's to help me out.
    Would anyone have a high level diagram of the things that go in for installation ? I would really appreciate if you could send it to kiranramachandra at yahoo dot com.
    Thanks folks
    Kiran

    Hi,
    1. No, you don't need to reinstall Discoverer, you can just connect to the new database provided you have updated the TNSNames.ora file. However, before you can connect with Discoverer Desktop you will need to use Discoverer Admin to create a new Apps mode EUL in the Applications Database.
    2. You will need a client installation of Discoverer (Admin and Desktop). If you want to use the web based Discoverer Plus and Viewer tools you will need to a Oracle Application Server installation. If you are installing Discoverer 10g then you should install the Oracle Business Intelligence Standard Edition. But depending on your version and configuration you may need to install other tools.
    Rod West

  • Oracle Projects for Exploration and Drilling

    Do oracle projects can be used for exploration and drilling in oil and gas company?
    What are modules which can cover these operations? Please Help

    Hi
    Oracle Projects suite can be used for that industry. You could set each exploration initiative as a single project, track its execution and actual costs versus the schedule and cost budget.
    At minimum you will need Projects Costing. You might also explore the added value of Project Management.
    Dina

  • ARD equivalent for XP and Vista

    Unlikely me: the other guy (the PC guy) at the school I work for left and now the responsibility of managing a XP lab (which will have to go to Vista at some point) is on my shoulders.
    The one nice this that I like that the computers are all MacMinis, dual-booting to both XP and OS X. My question is:
    I use Apple Remote Desktop to manage all of the Macs in the school, and I need some advice on an equivalent for Windows. I would like something similar to ARD in the sense that I can 1) remotely control a single computer, and 2) most importantly, I can roll out updates, patches, and software installs to all the computers at once.
    Any suggestions?

    Hi,
    have a look at RDC from Microsoft http://technet.microsoft.com/en-us/library/cc781938.aspx
    There are also packages for OSX http://www.apple.com/downloads/macosx/networking_security/remotedesktopconnectio nclient.html
    Regards
    Stefan

  • MSDTC, Vista, Oracle Services for MTS and TransactionScope

    Hi there,
    We're using .NET 2.0 TransactionScope on a Vista client. By default this will create a distributed transaction using MTS which will then be proxied using Oracle Services for MTS. However we consistently get the following error:
    ORA-00161: transaction branch length 100 is illegal (maximum allowed 64).
    According to this thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=943955&SiteID=1 Microsoft made some changes in MSDTC in Vista which are likely to have caused this problem. They say they were co-ordinating with Oracle to determine an appropriate fix.
    Is this an acknowledged issue? Has it been fixed and if not, when will it be fixed?
    Kind Regards,
    Dean Ward

    FYI, the following code reproduces the issue...
    using (TransactionScope txScope = new TransactionScope())
    using (OracleConnection oracleConnection = new OracleConnection("Data Source=Test;User Id=Test;Password=Test"))
    oracleConnection.Open();
    using (OracleCommand oracleCommand = new OracleCommand("SELECT 'Test' FROM Test", oracleConnection))
    oracleCommand.Connection = oracleConnection;
    using (OracleDataReader oracleDataReader = oracleCommand.ExecuteReader())
    while (oracleDataReader.Read())
    System.Console.WriteLine(oracleDataReader.GetString(0));
    txScope.Complete();
    }

  • Trying to use Oracle Locator for latitude and longitude proximity searches

    I am prototyping using Oracle Locator to do proximity searches and other spatial operations within the database in our software products. I’ve got it working fine in SQL Server, where geodetic is built in as well as geometric features, but with Oracle we’re trying to restrict ourselves to the Locator features so our customers are forced to buy the add-on. I am getting perplexing results, as you can see if you run the little test program I wrote.
    I am using lat and long as the point coordinates. I am inserting the data using
    SDO_GEOMETRY(2001, 4326, SDO_POINT_TYPE(?, ?, null), null, null
    Then I am doing the search with
    SELECT pointname, SDO_NN_DISTANCE (1) distance_in_miles
    FROM geotest g
    WHERE SDO_NN(g.geopoint, sdo_geometry(2001, 4326, SDO_POINT_TYPE(38.683, 123.083, NULL), NULL, NULL), 'distance=1000 unit=mile', 1) = 'TRUE'
    ORDER BY distance_in_miles
    I am getting distances from 56 to 86 units, whatever the units are.
    Am I attempting the impossible with Locator, to use lat and long and then expect the sdo_nn function to work in miles?
    Select results:
    POINTNAME DISTANCE_IN_MILES
    Point number 19 56.8497254738894
    Point number 17 57.0758802885512
    Point number 5 62.096857977487
    Point number 3 67.3555572959989
    Point number 16 70.8005407529483
    Point number 1 73.0370426667902
    Point number 9 73.1047740624495
    Point number 14 73.1451566004902
    Point number 11 74.9344307572887
    Point number 10 75.3710529989389
    Point number 2 75.423714095366
    Point number 8 77.2121183101138
    Point number 4 77.6458963754559
    Point number 18 80.4569749046142
    Point number 6 81.0025026191188
    Point number 20 81.8444977200089
    Point number 13 83.4095236051998
    Point number 15 86.9333533902019
    Point number 7 88.9312783958262
    Point number 12 98.72957787982
    Point number 0 98.9999489634554
    21 rows selected

    Couple of things that we found out using sdo_nn here...
    It works...but the knobs need to be turned in the right order...
    You may have done this already...but here is what we have...
    a. we create our table containing the location sdo_geometry column ..( in our case the column is called location )
    b.We loaded the data..If you elected to use a partitioned table for your spatial data and created the corresponding spatial index as local...your sql will need to account for that.if your index is global ..don't worry about it
    c. We inserted the metadata...this needs to be done once per table...by either the dba or the schema owner...
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES ('<YOUR TABLE NAME>', '<SPATIAL COLUMN NAME>',
    MDSYS.SDO_DIM_ARRAY
    (MDSYS.SDO_DIM_ELEMENT('LONGITUDE', -180.0, 180.0, 0.5),
    MDSYS.SDO_DIM_ELEMENT('LATITUDE', -90.0, 90.0, 0.5)
    8307);
    COMMIT;
    If this is not done before the spatial index is created...stuff won't work...
    d. create your spatial index
    e. our query looked something like this...( I changed the table names )
    This returns the top 30 results sorted by distance in feet...
    SELECT LOCATION_KEY,
    result_center_distance
    FROM
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    WHERE ROWNUM <= 31
    We had to use this structure because our index is local...and sdo_nn will return the sdo_num_res results for each partition...so you need to get the results first..then treat it as a top-n query...
    If you index is global...this should work
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    If you want the distance in MILE...replace FOOT by MILE...
    good luck...
    Edited by: user5431290 on Oct 23, 2011 9:36 AM

  • Oracle APIs For Contacts and Role Responsibility

    Hello,
    Please, I need a direction on how to proceed about the use of the right API. I'm working with Oracle EBS R12. If this is not the place for this kind of doubt, please let me know the best one.
    I already have a site for a customer, which was created by the ra_customers_interface_all, after loading the data and processing the interface.
    Now I need to create (using Oracle APIs) a contact name, which will have at least a telephone number and an e-mail address.
    I know that the contact name will be in table HZ_PARTIES, but later it will be related to a site. The registry that will be used for this has the Party_Type value equals to 'PARTY_RELATIONSHIP', according to what the customers interface did after being executed.
    Then the telephone number and e-mail address will be in table HZ_CONTACT_POINTS. The Owner_Table_Name of it has to be 'HZ_PARTIES'. The Owner_Table_Id of it will have the value of Party_Id from table HZ_PARTIES, which has Party_Type value equals to 'PARTY_RELATIONSHIP'.
    After this, my main goal is to create a role responsibility to the contact name. So I know there are other two tables involved. They are HZ_CUST_ACCOUNT_ROLES and HZ_ROLE_RESPONSIBILITY.
    And I see there are two more tables involved, which are HZ_RELATIONSHIPS, which will do the PERSON x ORGANIZATION relation, and also table HZ_ORG_CONTACTS, which has the field PARTY_SITE_ID, to finally indicate that this contact is part of a site, which I already have.
    I have all these tables in mind. I just need a tip on how to proceed. I'm able to create a party as PERSON, not yet as PARTY_RELATIONSHIP. I'm able to create a contact point (telephone number). I'm lacking the idea about what to do have this:
    site -> contact name -> telephone number of this contact name inside this site
    I can do this:
    site -> telephone number of this site
    Any help would be great.

    Thanks for the reply but i stil have the problem...............
    My Current machine.config has this to say in that particular section
    <connectionStrings>
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    <add name="OraAspNetConString" providerName="Oracle.DataAccess.Client" connectionString=" "/>
    </connectionStrings>
    What can be done.........................in this case
    Thanks

  • Oracle equivalent for temp table variable

    Can anyone help me regarding this..
    sample code
    declare @temptable table (fldcaptioncode bigint, fldrownumber bigint identity (1,1))
    i have declaration in sqlserver stored procedure,
    Is there any equivalent in oracle 10g
    Thanks in advance
    Regards
    Ariff

    Ariff,
    temporary tables are supported by Oracle, and SQL Developer uses this feature.
    The DDL of the temporary table is extracted and generated as a standalone object.
    Please check docs, since there are several examples and informations about tem tables. Docs are available at
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    or
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    Thanks
    Regards,
    MGILIBER

  • Compatible Oracle Database ---for Nw2004 and Nw2004s

    I want to install Nw2004 system and then upgrade teh system to NW2004s for a POC.
    Please let me know the compatible oracle version as database
    Regards
    Balaji

    Hello,
    I recommend you to take a look at the "Product Availability Matrix":
    http://service.ap.com/pam
    It will give you the most current information.
    For example, NW2004s has kernel 700 and it only supports <b>Oracle 10g</b> ( that means that the information from Ben is <u>not totally correct</u> )
    NW2004 supports <b>Oracle 10g and 9i</b>
    Regards
    Fidel

Maybe you are looking for

  • af:fileDownloadActionListener not calling the bean method

    Hello, I am using Jdev 11.1.1.6. I have a page where user can generate the report and download it. I am using <af:fileDownloadActionListener> for this on my jsff (implemented as region using BTF). The commandbutton with <af:fileDownloadActionListener

  • How to add wsdl files and bpel files in new folders automatically

    Hi All, In our project, we have a lot of wsdl files and bpel file generated. By default, they are all under the folder of SOA Content, like a mess. I want to put them in separate folders. I can manually change the wsdl location and manually change re

  • HOW TO SET A JFRAME TO NOT MOVIBLE

    How can I set a JFrame that contains several JPanel's not movible? Thanks.

  • My schedule report is being sent twice

    Crystal 10.0 This has happened to two of my reports now and I can't see anything wrong. I've loaded the report in the normal way and confirmed its working, then added a schedule to send it automatically to a number of people (individual email address

  • AdSense doesn't seem to be picking up meta keywords

    I've added Google AdSense to all of my iWeb pages. Some pages (like the Home page) work correctly, however some pages display the AdSense ad but the targeted ads don't reflect the content on the page. One of the pages in question is a blog page (the