Schema Management

Howdy All,
I am currently evaluating Qwest Software's Schema Manager to assist in maintaining multiple schemas. This product is a repository based application. We are currently using Designer just for a table/view/index/trigger repository. We use the scripts from Designer to build the tables/view/indexes/trigger in the remote scemas.
It seems to me that Designer has source control options that seem like they would be very similary to the functionality that Quest's Schema Manager provides. I am also vaguley familiar with Oracle's Enterprise Manager and it seems to have some of the same types of fuctions to maintain schemas.
Does anyone have any recommendations on Schema Management products?
Thanks,
Jeff

as far as i know:
With designer you can only view differences between repository and other schema. Not between two schemas.
Peter

Similar Messages

  • Error when running "regsvr32 schmmgmt.dll" to add the Schema Management Snap In on Windows 8

    I am running Windows 8 Enterprise and trying to install the Active Directory Schema Management MMC Snap In.
    When I follow the procedure listed via the link below, it doesn't work, I get an error.
    http://technet.microsoft.com/en-us/library/cc732110.aspx      
    The error message that I get is shown below.
    I did a search and found schmmgmt.dll in the "C:\Windows\System32" folder, but if I do a "C:\> regsvr32 C:\Windows\System32\schmmgmt.dll", I still get the same error.
    Any ideas how I can register this .dll so that I can use the Active Directory Schema Management Snap In in Windows 8 Enterprise?
    I do not have this problem on Windows 7 or Windows XP, so I am thinking this must be a "Windows 8" thing.
    I have a support case open with Microsoft Premier Support and will post the resolution when I get it, but in the interest of saving time, if anyone already dealt with this and has a quick fix, I'd be happy to take a look at it.

    Hi,
    I have not found the files in my computer. Can you please double check that.
    Juke Chou
    TechNet Community Support

  • DBA Studio - Schema Management

    Under Schema Management in DBA Studio, the tables list consists of 'Table', 'Tablespace', 'Partitioned' and 'Rows'. Sometimes the Rows column contains the number of rows for each table and sometimes it's blank. Any idea why, and how I can set the display to report the number of rows when it is currently blank?
    Thanks,
    Mike

    I am getting the same issue .... I didn't find a response to this original question, from 2000.
    Anyone have an answer?
    When DBA Studio was first launched it picked up the service names from tnsnames.
    When I select File|Add Database to Tree nothing happens! So it is impossible to access a new database.
    Any suggestions?

  • Migration to 10.2: Target Schema managed by old Control Center/Runtime Rep

    Hi
    We are migrating from OWB10gR1 to R2 (10.2.0.4)
    After loosing (!) the old 10.1 runtime repository "OWBRUN" we created a new Design Repository.
    Then we wanted assign an old target schema named "TARGET" to the new one (with Security -> User -> New ...)
    Unfortunately we receive the message:
    User "TARGET" is managed by another control center: OWBRUN
    How can we remove this connection between "OWBRUN" and "TARGET" ?
    Otherwise we can not use this schema as a target, and therefore we can't deploy mappings to it.
    Beat

    I solved my problem using the 10gR2-Repository Assistant:
    1. Installing a new Control Center with the name of the old one (OWBRUN exactly!).
    2. Register the target schemas to this new CC (as before in 10gR1)
    3. Unregister those targets from OWBRUN
    4. Register the targets to the correct CC (OWBRUN1020)
    (5. Deinstall CC OWBRUN)
    Beat

  • Question on Avro schema management

    Hi,
    in our use case, we need to generate Avro schema on the fly (given some business object structure) and install with Oracle NoSQL. I have
    the following questions:
    1. Is there an API to install the Avro schema in NoSQL. Ideally we'd like to avoid using the command line tool for this (and also creating
    a .avsc file)
    2. Any recommended way to make the Avro schema available on the client? Ideally we don't want to use any file system operations
    for this. Would it be a reasonable way to store the Avro schema itself as a String in NoSQL and then when the client connects to NoSQL,
    first thing it does is read the schemata stored in NoSQL and parse them?
    On another topic, are there any performance penalties using JsonAvroBinding vs. GenericAvroBinding. Our objects are all JSON so we'd
    like to use JsonAvroBinding, however we'd go the extra mile and use GenericAvroBinding if that performs better.
    Best Regards and thanks in advance for your answer,
    Ralf

    Hello Ralf,
    1. Is there an API to install the Avro schema in NoSQL. Ideally we'd like to avoid using the command line tool for this (and also creating a .avsc file)No, there is no administrative API currently available. So currently, I think this would have to be done using a script that is invoked by your application and that uses the NoSQL DB admin CLI.
    2. Any recommended way to make the Avro schema available on the client? Ideally we don't want to use any file system operations for this. Would it be a reasonable way to store the Avro schema itself as a String in NoSQL and then when the client connects to NoSQL, first thing it does is read the schemata stored in NoSQL and parse them?The begs the question of how you'll do schema evolution. Will there ever be multiple versions of the same Avro schema (more than one version having the same schema name) in your application? If so, there will be additional complications with the approach you're taking.
    If not (if there will only ever be one version of a given schema), you can use the latest (only) version of a schema on the client. In that case you can call AvroCatalog.getCurrentSchemas to get the schemas you need. If a schema you recently added is not in the returned map, call AvroCatalog.refreshSchemaCache followed by AvroCatalog.getCurrentSchemas.
    On another topic, are there any performance penalties using JsonAvroBinding vs. GenericAvroBinding. Our objects are all JSON so we'd like to use JsonAvroBinding, however we'd go the extra mile and use GenericAvroBinding if that performs better.They should have similar performance characteristics -- they do essentially the same thing -- but I would guess that in general JsonAvroBinding is slightly faster than GenericAvroBinding, based on my knowledge of the Avro and Jackson code. However, we have not done any performance testing to compare them. It is possible that the answer depends on the schema you're using. So you should do your own testing, if you're concerned about minor performance differences.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to add a new schema in active directory by jndi?

    I can add new objectclass schema and new attribute into eDirectory from JNDI. But I failed doing the same to active directory. I search all topic in this forums and seems like there is no such answer. So for active directory, the only way to add new schema is by using MS MMC + AD schema snap-in?

    You can update the schema via LDAP. Any tool that uses LDAP, such as Active Directory Services Interface (ADSI), Java/JNDI, LDAP Data Interchange Format (LDIF) can be used. You are not restricted to the Active Directory Schema Management snap-in.
    I strongly recomend that you read the following article http://windowssdk.msdn.microsoft.com/en-us/library/ms677995.aspx as schema extensions are not to be undertaken lightly.
    Also, if you are extending the schema, DO NOT use other organization's schema OID's. Imagine how directories would become inoperable because you defined hat size as an integer value with an OID of 1.2.3 and someone else defined Social Security Number as a string with an OID of 1.2.3 ! You can obtain your own OID branch from either Microsoft (http://msdn.microsoft.com/certification/ad-registration.asp) or from a standards organization such as ANSI.
    I'm kind of hoping that seeing as though you have mentioned that you have extended the schema for e-Directory, that you understand LDAP schemas and that you have your own valid OID. Do not use my shoe size OID !
    The following snippet illustrates how to extend the schema using JNDI.....
    String attrName = "cn=ms-ShoeSize,cn=Schema,cn=Configuration,dc=antipodes,dc=com";
    LdapContext ctx = new InitialLdapContext(env,null);
    Attributes attr = new BasicAttributes(true);
    attr.put("cn","ms-ShoeSize");
    attr.put("objectClass","attributeSchema");
    attr.put("ldapDisplayName","msShoeSize");
    attr.put("isSingleValued","TRUE");
    attr.put("attributeID","1.2.840.113556.1.4.7000.141");
    attr.put("attributeSyntax","2.5.5.9");
    Context newattr = ctx.createSubcontext(attrName,attr);Having created a new attribute, you could then either add it to an existing class, or create another abstract class, add it to the new abstract class, and add the the new abstract class as an auxilliary class to an existing structural class. For example create a new auxilliary class called "clothes Sizes", add the attribute "Shoe Size" as a mayContain attribute, and then add "Clothes Sizes" as an auxilliary class to inetOrgPerson.
    Note that you need to wait for the schema cache to refresh, before adding attribute or class definitions to one another, and before instantianting new objects with the new classes & attribute definitions. You can either wait for teh schema cache to refresh itself, or you can force a refresh by writing the value of 1, to the attribute "schemaUpdateNow" on the RootDSE.
    As I mentioned at the start of this response, I personally prefer to use LDIF, simply because it enables end-users/customers to review the schema extensions and understand their potential impact before applying them. A sample that accomplishes the above would look something like:dn: CN=ms-ShoeSize,CN=Schema,CN=Configuration,DC=Antipodes,dc=com
    changetype: add
    objectClass: attributeSchema
    cn: ms-ShoeSize
    ldapDisplayName: msShoeSize
    attributeID: 1.2.840.113556.1.4.7000.141
    attributeSyntax: 2.5.5.9
    isSingleValued: TRUE
    dn:
    changetype: modify
    replace: schemaupdatenow
    schemaupdatenow: 1
    dn: CN=inetOrgPerson,CN=Schema,CN=Configuration,DC=Antipodes,dc=com
    changetype: modify
    add: mayContain
    mayContain: mSShoeSize
    dn:
    changetype: modify
    replace: schemaupdatenow
    schemaupdatenow: 1
    -

  • What kind of permissions are needed  in LDAP to install Access Manager?

    Hi people,
    I'm trying to install Access Manager in three different machines, and i'll try to configure them in a failover schema, but I'm not the owner of the LDAP where the Access Manager DIT is going to live, my question is what kind of permissions do I need to install it, rigth now I've tried to install it three times and I can't get a succesfull install process, this is a resume of the common errors that I've got in the Java_Enterprise_System_Config_Log.xxxx
    adding new entry ou=portalmmm_1.0_n21i,ou=internalData,ou=1.0,ou=SunAMClientData,ou=ClientData,o=bbva
    sleep 3
    ERROR : Configuring/Loading of the default DIT in the Directory Server failed
    CLASSPATH is --- /opt/SUNWam/locale:/etc/opt/SUNWam/config:/opt/SUNWam/lib:/opt/SUNWam/lib/am_services.jar:/opt/SUNWam/lib/ldapjdk.jar:/usr/share/lib/mps/secv1/jss4.jar:/opt/SUNWam/lib/am_sdk.jar
    Loading service schema XML files ...
    Info 109: Calling SCHEMA MANAGER
    Info 110: XML file to import:/etc/opt/SUNWam/config/ums/ums.xml
    Info 103: Loading Service Schema XML /etc/opt/SUNWam/config/ums/ums.xml
    Loading Service Schema XML /etc/opt/SUNWam/config/ums/ums.xml
    Error occured while loading: /etc/opt/SUNWam/config/ums/ums.xml
    Error Log:
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'nsslapd-pluginEnabled' attribute of entry 'cn=referential integrity postoperation,cn=plugins,cn=config'.
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'nsslapd-pluginarg10' attribute of entry 'cn=referential integrity postoperation,cn=plugins,cn=config'.
    ldap_add: Already exists
    ldap_add: Insufficient access
    ldap_add: Insufficient access
    ldap_add: Insufficient access
    ldap_add: Insufficient access
    ldap_add: Insufficient access
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'nsslapd-sizelimit' attribute of entry 'cn=config'.
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'nsslapd-timelimit' attribute of entry 'cn=config'.
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'nsslapd-lookthroughlimit' attribute of entry 'cn=config,cn=ldbm database,cn=plugins,cn=config'.
    ldap_add: Already exists
    ldap_add: Insufficient access
    ldap_add: additional info: Insufficient 'add' privilege to add the entry 'ou=DSAME Users,o=isp'.
    ldap_modify: Type or value exists
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'objectClass' attribute of entry 'o=isp'.
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'objectClass' attribute of entry 'o=isp'.
    ldap_modify: Insufficient access
    ldap_modify: additional info: Insufficient 'write' privilege to the 'objectClass' attribute of entry 'o=isp'.
    ldap_add: No such object
    ldap_add: matched: o=isp
    ldap_add: No such object
    ldap_add: matched: o=isp
    /opt/SUNWam/bin/amadmin: -Dcom.sun.identity.sm.enableDataStoreNotification=true: not found
    Error 29: ServiceManager Exception
    Error 10: Cannot process requests:
    sms-UNKNOWN_EXCEPTION_OCCURRED
    Identity Server Configuration Failed ...
    Configuration failed for : ISConfigurator
    *** End configuring ISConfigurator***Please suggest...
    Thanks in advance
    Lalo

    You can't install Access Manager without full control on the base organization.
    You need the Directory Manager user (maybe with a temporary password) or a user with full permissions on the Access Manager root DN.
    Hope It Helps
    Saludos!!

  • How to start DBA Management tools on Redhat v.8?

    How do I start DBA Management tools like security manager, schema manager on linux/unix (Red Hat 8), I'm using oracle 8i.

    These are all OEM applications. You an start OEM by issuing the command:
    oemapp console
    from a user with DBA group, and ORACLE_HOME defined.
    oemapp can also be used to launch the individual tools as desired.
    Mike Ault

  • Associate a application with schema - URGENT

    gurus,
    i upgraded webdb 2.2 to oracle portal. a new application was created in portal called 'bpsi_app' based of the schema 'bpsi'.
    now i need to create another application based of the same schema. but when i create the new application, the schema name does not show up in the application schema list.
    so, i went to the schema manager from portal and selected 'bpsi' from the list and wanted to make it as an application schema. when i hit edit button after selecting the schema, it showws the 3 tabs, Main, Grants and Roles. but the Main tab is blank. it shows nothing.
    how can i then make this schema as a 'Application Schema' ??
    pls help ...
    this is very crucial for me ...
    thanx in advance.
    null

    Have you tried the PDK-Java? You find more information about the PDK on Portal Center.
    Peter

  • Unable to search successfully on Company field in a Contact list - SharePoint 2013 online

    When searching for a company in a contact list, I get NO search results when the line items returned should be abundant.
    I am using SharePoint 2013 Online with an Office 365 E3 license. I am the global administrator as well as site collection owner.
    Since Company is an existing site collection column, I went to its managed property in the SharePoint Administration portal. I went to Search > Manage Search Schema > Managed properties and opened CompanyOWSTEXT in order to click the Searchable checkbox.
    All items were grayed out and unable to be edited. The Searchable check box was UNCHECKED.
    Why am I unable to edit that property?
    How can I ensure that the Company field is crawled and can return search results?
    Thank you

    Please post your question to below SharePoint Online Technet forum:
    http://social.technet.microsoft.com/Forums/msonline/en-us/home?forum=onlineservicessharepoint
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Using Designer to generate Web Applications

    I'm using Designer R1.3 to generate Web applications but example in a textfield i need make a validation how ca i do this using designer without make this using schema manager to correct by hands line by line

    You can certainly do this with JWS. You will have to request full access permissions to the user's machine because you will need to start the web server (& maybe DB server) from your JWS application. Do this with:
    <security>
    <all-permissions/>
    </security>
    That means you'll have to get a certificate for your server.
    In terms of resources - When you start resin, seems to me that all you should need to do is include all of the jars that resin needs in the command line classpath variable. To get access to this information, this code by Masahiro Takatsuka was very useful for me:
    http://forum.java.sun.com/thread.jsp?forum=38&thread=71208
    We did something similar to what you are doing - we ran Apache's Xindice XML DB from the JWS client. (We have since ditched Xindice because of performance issues, but launching it worked fine from JWS)
    good luck!
    catherine

  • How to port database changes from development to a production environment

    How do I port database changes from the development to the production environment?
    I am using v8 and have always had to redo everything using the schema manager all over in the production environment. Is there an easy way to generate a script, for example to dump the database changes on the development machine to be executed later on the production machine?

    This should already be a clearly defined change control process. Once a procedure, function, package, trigger, or whatever completes the testing rounds, it should be promoted to production.
    Forgive me if it seems I'm trivializing, but I don't see the problem, just copy the object(s) from your software library (or development) into production using whatever tool works best or has been chosen. If you are doing data copies then you have various options again including good old export/import.

  • 10G db console - who gets access to it can you tie it down?

    Hi Guys
    I'm a newbie - with a certain amount of knowledge and lack of management support (I'm the only person in the sys admin team with Oracle knowledge - and have done certs). Forgive me for asking the obvious.
    My interpretation of 10g's installation of the "console" is that it is designed to make the job of managing a database easier for DBA's.
    Previously, with 9i console - I could enable other teams to have access to the whole of the database structure - but only as read only users and not give them sys/system or even dba access - but they could still have access to the structure under that user.
    Although 10g has the console - the old Enterprise Management Console still works with 10g as it did with 9i - and they can still see exactly what they did before - but not change anything.
    However, we are now in a situation where we have a new person in GIS team who insists they are an Oracle DBA (done one course on Oracle) and want all rights (as they had it in their previous job which was a much smaller organisation than we have) to the db console.
    The license they have is for Oracle Standard only.
    Have explained - they can have DB console but only for a standalone instance (not yet created - so they don't get it until the intance is created) and asked why they want the DB console and how will they use it?
    I got no answers but was told to leave the meeting as I was preventing them from doing "their" job - so I left.
    The DB console is designed for DBAs to manage the environment in a more newbie friendly way, yes?
    The DB console actually does control how the database works - and has facilities for DBA functions RMAN management, tablespace management/creation, users etc, normal DBA stuff, yes?
    And if you don't have the licence to monitor performance - well then you either disable or ignore? It can do some powerful stuff - but since we have TOAD and SPOTLIGHT - that's what we use to monitor overall.
    My question is - do you allow - non DBA's access to db console - and how do you set them up as users to just see certain tablespaces?
    What I've read so far - not extensive - the DB console user has to have the DBA role at least for it function?
    Or have I missed something and I can give this person the rights - but only allow them read only?
    Also, I wonder why would you need the db console - if you are a GIS officer?
    This person has also asked for a server totally under his control - at no cost in terms of licenses.
    In the meeting that person saidthat they didn't need any Oracle licenses for a test-bed environment.
    I explained that since it was a corporate environment that licensing - even if just a named user as a test generic - as long as it wasn't concurrent - was required.
    I was told by this person that Oracle test environments were free in a corporate environment and I was talking rubbish.
    I have multiple test environments in our place - and by multiple I mean 20 test environments - and those guys have all paid for their licences based on what I've told the Oracle account person direct - and our test environment is named users only - and I monitor it closely.
    These new GIS guys - have never talked to me about licenses or been involved with an Oracle account manager.
    But they say Oracle is free?
    The DB console is the main issue - license - I've already told them to cough up!
    DB console = contol the database - you can create tablespaces etc.
    So can I tie them down if I give them db console to read only - everything I've read so far says no because it's not designed for anything other than dba's?
    Thanks guys - I'm a newbie with my job on the line - seriously I'm fighting - but I may lose and am prepared to resign although I'll probably not get another job for a long time.
    Hey I can type fast - so I guess I'll get a job as a typist!!!!
    Thanks!!

    Thank you very much Stellios for your reply.
    Armed with your reply, I showed my line manager what db console is and does.
    I agree with you - and think often people ask for these things - DBA's put the brakes on but unless Managers undestand too what these things do - they assume anyone asking to have access should have it - in the same way as asking for other "applications".
    Sometimes as DBA's we try and put the brakes on - as I was doing - but then unless line managers understand - we're seen as being deliberately obstructive.
    Although having asked many times why the said person feels they need - they do have the old Enterprise Manager console access on their machine but set-up so they can just see a limited amount (although much, much more than they need).
    Based on the previous team - all they wanted was a pretty GUI picture of how many tablespaces there were and what objects were in the tablespace (although they should have known the objects as they put them there in most cases via the GIS application which also enables them too see the same in GUI form) but at that stage, the team were also developing a new database structure - so teaching them and giving them access to Enterprise Manager helped them understand more about how Oracle was structured underneath the hood but they only had readonly access and only to what their schemas contained.
    Although I know the new db console is there with 10g - it's not been installed with a service to run except on one test database (not set-up by me) which always seems to hang on shutdown because of the emagent process on the server.
    We use TOAD and Spotlight, SQL Plus - and so I haven't yet felt the need to use the console.
    However, I did quickly whizz through stuff to see if I could easily just enable them to see via the console via the web, access to schemas, tablespaces and objects only, but couldn't find and easy way of setting up a user account that just gave them that only. Admittedly, I haven't had time to experiment.
    The console seems to be designed as a DBA tool - albeit one that is more GUI friendly - rather than something to be used by non-DBAs just to look at the database structure.
    Is that the case in your experience? - and have you found a way just to enable a user read-only access to leap to the tab with tablespace management and schema management for that user (who created the tables) only?
    Thanks for you support!

  • Calling Oracle Package Function from Visual Basic

    Hi,
    Oracle Client 8.04
    Oracle ODBC Driver 8.00.04
    VB 6.0
    Windows 2000
    I'm stumped here. I want to have a Oracle stored procedure run a
    query and return a result set which I can assign to a recordset
    object in VB. Based on things I've read here and on MS's site,
    here's what I've done:
    In the Oracle Schema Manager under the Packages folder I created
    the following package:
    PACKAGE test
    IS
    TYPE test_cur IS REF CURSOR;
    FUNCTION mycur RETURN test_cur;
    END test;
    and under the Package Body folder created:
    PACKAGE BODY test
    IS
    FUNCTION mycur RETURN test_cur
    IS
    c_return test_cur;
    BEGIN
    OPEN c_return FOR
    SELECT * FROM table_A;
    RETURN c_return;
    CLOSE c_return;
    END mycur;
    END test;
    They both compile without errors and in Oracle SQL Worksheet I
    can enter the following:
    variable x refcursor;
    execute :x :=test.mycur;
    print x;
    and the query results are displayed as expected.
    The problem is trying to get the result back into a VB recordset
    object.
    In VB 6.0 I have done this:
    Dim RS As ADODB.Recordset
    Dim Conn As ADODB.Connection
    Dim sConnection As String
    Dim sSQL As String
    sSQL = "{call test.mycur}"
    sConnection = "Provider=MSDASQL;UID=" & sUserID & ";PWD=" &
    sPassword & ";Driver={Microsoft ODBC for Oracle}; Server=" &
    sInstance & ";"
    Conn.Open sConnection
    RS.CursorLocation = adUseClient
    RS.Open sSQL, Conn, adOpenForwardOnly, adLockOptimistic,
    adCmdStoredProc ' or adCmdText
    but get:
    ?err.Number -2147217900
    ?err.Source Microsoft OLE DB Provider for ODBC Drivers
    ?err.Description [Microsoft][ODBC driver for Oracle]Syntax error
    or access violation
    The problem is not with the connection or permissions, since the
    query works fine when I just use the select statement in the
    package function as the string, instead of calling the function
    in the package (eg sSQL = "Select * from table_A") and can
    process the resulting recordset in VB.
    I've also tried variations using:
    Set RS = Conn.Execute("{call test.mycur}")
    or using a Command object something like:
    Dim com As ADODB.Command
    Set com = New ADODB.Command
    With Conn
    .ConnectionString = sConnection
    .CursorLocation = adUseClient
    .Open
    End With
    With com
    .ActiveConnection = Conn
    .CommandText = sSQL
    .CommandType = adCmdText
    End With
    Set RS.Source = com
    RS.Open
    But still get the same errors. Any help is appreciated. Also, in
    my package body, is it necessary to explicitly close the cursor,
    or does the function just exit when it executes the return and
    not ever hit the close statement?
    Thanks,
    Ed Holloman

    Hi
    i don't know if you got your answer, but i work with VB and
    Oracle.
    the procedure in the DB should have the cursor like you writen
    in your mail.
    to call a procedure in Oracle and get the data back
    into a recordset you shuld use a Command object like this:
    Dim conn As ADODB.Connection
    Dim cmd As ADODB.Command
    Dim rs As ADODB.Recordset
    Set conn = CreateObject("adodb.connection")
    Set cmd = CreateObject("adodb.command")
    Set rs = CreateObject("adodb.recordset")
    With conn
    .ConnectionString = ""
    .CursorLocation = adUseClient
    .Open
    End With
    'THE IMPORTENT SECTION IS THIS WHERE YOU SET THE COMMAND TO THE
    STORE PROCEDURE TYPE
    With cmd
    .ActiveConnection = conn
    .CommandText = "proc.fun"
    .CommandType = adCmdStoredProc
    End With
    'Then you set the rs to the command
    Set rs = cmd.Execute
    Set conn = Nothing
    Set rs = Nothing
    Set cmd = Nothing

  • Not able to run adadmin adfter installing R12 Upgrade file system

    Sawwan,
    Now we are doing 11i apps to R12 upgrade single node, before we did database upgrade 9i to 10.2.0.4,
    I successfully installed R12 upgrade file system with out any errors, i have chagned the
    new Installation creates APPL_TOP, COMMON_TOP, INST_TOP and 10g Oracle Home
    i moved the new environment file into .bash_profile
    mv .bash_profile .bash_profile_11.5.10
    Iset the R12 environment , When ever i tried to run adadmin system manager password is not taking its giving error
    [applupg@peabody appl]$ adadmin
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications AD Administration
    Version 12.0.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    Your default directory is '/u01/R12/apps/apps_st/appl'.
    Is this the correct APPL_TOP [Yes] ?
    AD Administration records your AD Administration session in a text file
    you specify. Enter your AD Administration log file name or press [Return]
    to accept the default file name shown in brackets.
    Filename [adadmin.log] :
    ************* Start of AD Administration session *************
    AD Administration version: 12.0.0
    AD Administration started at: Sat Apr 18 2009 06:12:52
    APPL_TOP is set to /u01/R12/apps/apps_st/appl
    Backing up restart files, if any......Done.
    Your previous AD Administration session did not run to completion.
    Do you wish to continue with your previous AD Administration session [Yes] ?
    You are about to use or modify Oracle Applications product tables
    in your ORACLE database 'upg'
    using ORACLE executables in '/u01/R12/apps/tech_st/10.1.2'.
    Is this the correct database [Yes] ?
    AD Administration needs the password for your 'SYSTEM' ORACLE schema
    in order to determine your installation configuration.
    Enter the password for your 'SYSTEM' ORACLE schema: manager
    ...Unable to connect.
    AD Administration error:
    The following ORACLE error:
    ORA-12541: TNS:no listener
    occurred while executing the SQL statement:
    CONNECT SYSTEM/*****
    AD Administration error:
    Unable to connect to 'SYSTEM'; password may be invalid.
    AD Administration needs the password for your 'SYSTEM' ORACLE schema
    in order to determine your installation configuration.
    Enter the password for your 'SYSTEM' ORACLE schema:
    Enter the password for your 'SYSTEM' ORACLE schema:
    Before running R12 adadmin is there nessary 11i apps servicess should up or down..
    Edited by: HumanDBA on May 5, 2009 12:26 PM

    Sawwan,
    As a oracle user i am able to see the tns_admin home dir
    [oraupg@peabody upg_peabody]$ echo $TNS_ADMIN
    /stage/10gsoftware/network/admin/upg_peabody
    [oraupg@peabody upg_peabody]$
    After installing R12 uprade file system i am able do the tnsping
    [applupg@peabody appl]$ tnsping upg
    TNS Ping Utility for Linux: Version 10.1.0.5.0 - Production on 18-APR-2009 06:26:49
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=peabody)(PORT=1526)) (CONNECT_DATA=(SID=upg)))
    TNS-12541: TNS:no listener
    [applupg@peabody appl]$
    [applupg@peabody appl]$ sqlplus apps/xxxx@upg
    SQL*Plus: Release 10.1.0.5.0 - Production on Sat Apr 18 06:29:45 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12541: TNS:no listener
    Enter user-name:
    ========================================
    Sawwan
    after installing i am trying to apply R12.AD.B patch, do we need to apply this patch in 11i fiile system or New R12 file system, for 11i file system i am not getting any issue, but when ever i set the R12 new file system enviroment file then only i am not able to connect the database,i have changed new port numbers in R12 file system, is that causing any issues..?
    Edited by: HumanDBA on May 5, 2009 12:37 PM

Maybe you are looking for