Remove company database

hi friends,
   i created  a company (database) for testing purpose . how can i delete the company(database)

Hi Muna
Yes,it is OK to remove the DB from SQL Server Management Studio.
And If you have erased the company DB in SQL Enterprise Manager successfully
please open your Business One client -> in the pop up 'Choose Company'
,please select button 'Scan'. After such operation, this DB will be gone
from this Choose Company table.
Regards,
Syn Qin
SAP Business One Forums Team

Similar Messages

  • How to uninstall Sharepoint Foundation 2010 and remove its databases

    Hello, 
    My company has Sharepoint Foundation 2010 installed on a Windows Server 2008 R2. I want to remove this server from our network. I'd like to know what are the steps to unsintall Sharepoint Foundation 2010 and remove its databases. The databases are located
    on a remote machine with SQL Server 2008 R2. I'm wondering if the Sharepoint uninstall process will remove its databases from the remote server or do the databases need to be removed manually. If the databases need to be removed manually, I'd like to know
    how to find out the name of the configuration, content, administration, search and user profile application databases that Sharepoint is using. 
    I appreciate any help that anybody can provide. Thanks!!

    Uninstall SharePoint via Programs and Features from the SharePoint server. Once that is done, drop/delete the databases from the SQL Server. Uninstalling SharePoint does not remove databases.
    Before you uninstall SharePoint, you can run:
    Get-SPDatabase | Select Name,Server
    That will list all database names and their associated SQL Server/instance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Error While Removing Mailbox Databases

    I'm trying to remove two extra Mailbox databases that we recently migrated users off of during consolidation. However, when I try and remove the DB's I get the following error message:
    Microsoft Exchange Error
    The mailbox database 'chsexmbm' cannot be deleted.
    chsexmbm
    Failed
    Error:
    This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans
    in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox
    -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the
    command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox
    ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
    OK
    Now I have run the "Get-Mailbox -Database <DB> -Arbitration" and get three entries:
    Name                                    Alias                                  
    ServerName
    FederatedEmail.4c1f4d8b-8179-4148-93bf- FederatedEmail.4c1f4d8b-8179-4148-93bf- smschsexmb1
    00a95fa1e042                            00a95fa1e042
    SystemMailbox{1f05a927-f1d5-4153-bd93-d SystemMailbox{1f05a927-f1d5-4153-bd93-d smschsexmb1
    fca46ac6957}                            fca46ac6957}
    SystemMailbox{e0dc1c29-89c3-4034-b678-e SystemMailbox{e0dc1c29-89c3-4034-b678-e smschsexmb1
    6c29d823ed9}                            6c29d823ed9}
    However, when I try and move or remove these mailboxes, I get an error from EMS stating that they cannot be found.
    Any idea what I need to do here to resolve this so I can remove these DB's?
    Thanks!!

    Hi
    Suggestion 1:  verify mailboxes:
    1. In Exchange management shell, run these cmdlets:
    Set-ADServerSettings -ViewEntireForest  $True
    get-mailbox -database "DBname" –arbitration
    2. Please verify if arbitration mailbox shows. If yes, please move these mailboxes with this cmdlet:
    Get-Mailbox -Database "DBname" -Arbitration|New-MoveRequest -TargetDatabase "DB2Name"
    Note: please replace DB2Name with the target database name.
    3. Wait for the complete of AD replication, after that, please try to remove database again.
    Suggestion 2: If the database still cannot be removed and you have followed the instruction in error message, but nothing returned. It seems the database is empty. So I suggest we use ADSI Edit to remove the database object directly since it no
    longer contains any mailboxes.
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]
    Terence Yu
    TechNet Community Support

  • Add-on connection error (-105) Access to company database is not permitted

    Good day,
    One of our clients have upgraded to 8.8 PL 11 (from 2007A PL 41).
    Somehow the SBO-Common became corrupt and SAP suggested that we reinstall the SBO-Common.
    The problem is that now the add-on (developed by us) is not connecting.
    The add-on connects to UI API and DI API, but when trying to connect to the company with SAPbobsCOM.Company, an error is returned (error code: -105).
    I am also confused about what the error actually is, bacause according to the SDK Help file, error -105 is "The observer.dll init has failed.", but the error message returned by the add-on is "Access to company database is not permitted; log on to SAP Business One and sign end user license agreement (EULA)"
    I have tried resigning the EULA, but no success.
    I have also tried deleting the content of the %temp%\SM_OBS_DLL, as suggested in another post.
    The version of the OBServer.dll is 8.80.229.0 - I believe that this is the correct version for 8.8 PL 11?
    Please advise.
    Kind regards,
    Rikard

    Good day all,
    My apologies.
    I have discovered what the problem was - and it was me.
    I did not realise that the connection I was making was not to the same database that I was connected to.
    Therefore, I had to log onto the other database and sign the EULA.
    The error explained exactly what I needed to do, but I wasn't paying attention.
    Regards,
    Rikard

  • MULTI COMPANY DATABASE in SAP B1

    Hi there,
    If you are setting up multi company database in SAP Business One,
    is there a way for us to hide/unhide the other existing databases?
    beth

    Hi,
    You could always create a second SQL server instance and share the licence server.  I am doing this to test addons without effecting the production system.  if it runs on the same server you do not need a further licence for a new instance
    However, there are caveats:
    1)  both databases would have to run exactly the same addons.
    2) users would have to change the database server (instance) to switch between the companies.  this would also mean they would have to know an admin password.
    I am sure there will be more but they are the 2 that spring to mind.
    thanks,
    mike

  • Steps to remove a database

    Hi, I need to create a bat file to remove the database in Oracle 9i. The following are the steps:
    1) remove database Windows services
    2) remove password file
    3) remove database directory structure
    Does anyone have a script to perform that?
    Thanks a lot

    I posted a new set of graphical tools to manage, monitor and tune the Oracle database. One of the many functions and utilities is a function that generates scripts (Windows, Unix) to delete a database. It is free and can be downloaded from http://www.odbtools.com. I will greatly appreciate any suggestions.
    Here is a sample script generated for Wndows:
    @REM Deleting database test817 related files and directories.
    @REM Deleting redo log files.
    del /q/f C:\ORACLE\ORADATA\TEST817\REDO05.LOG
    del /q/f C:\ORACLE\ORADATA\TEST817\REDO04.LOG
    del /q/f C:\ORACLE\ORADATA\TEST817\REDO03.LOG
    del /q/f C:\ORACLE\ORADATA\TEST817\REDO02.LOG
    del /q/f C:\ORACLE\ORADATA\TEST817\REDO01.LOG
    @REM Deleting data files
    del /q/f C:\ORACLE\ORADATA\TEST817\DEMOIDX01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\DEMOTBS01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART101.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART201.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART301.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART401.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART501.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\PART601.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\RBS01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\SYSTEM01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TEMP01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TEMP02.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TEMP101.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TEMP102.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TEST101.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\TOOLS01.DBF
    del /q/f C:\ORACLE\ORADATA\TEST817\USERS01.DBF
    @REM Deleting admin files.
    rd /s/q C:\oracle\admin\test817\bdump
    rd /s/q C:\oracle\admin\test817\udump
    rd /s/q %ORACLE_HOME%\RDBMS\TRACE
    del /q/f C:\oracle\oradata\test817\control01.ctl
    del /q/f C:\oracle\oradata\test817\control02.ctl
    del /q/f C:\oracle\oradata\test817\control03.ctl
    @REM Deleting Oracle service.
    cd C:\oracle\ora81\bin
    C:\oracle\ora81\bin\oradim -DELETE -SID test817
    Michel.
    http://www.odbtools.com

  • Remove mailbox database copy from DAG

    Hi There,
    We would like to remove the mailbox database copy from our exchange server as we are lack of the space on our fixed vhd and we hope to be able to free about 100GB from the passive database copies as we have deployed DAG. is there any guidelines or procedures
    to safely remove the database copies? currently, we have 4 mailbox servers, HQMB01, HQMB02, SSMB01, and SSMB02. HQMB01 and HQMB02 is already part of DAG members by itself. however, on ssmb01 and ssmb02, we also add in HQMB01 and HQMB02 as the DAG member,
    thus they can fail over to HQMB01 or HQMB02 if their server have issue. in this situation, SSMB01 and SSMB02 passive copies is also inside our HQMB01 and HQMB02. As the our HQMB01 and HQMB02 is lack of the disk space and we would like to remove SSMB01
    and SSMB02 from the DAG, thus we could remove the passive database copies. The following is the picture of the activation preference for all servers. what is the procedures and the guidelines to remove mailbox database copy and also remove the server from
    the DAG members? we are quite confuse and worry that after we are removing wrongly and cause the active database to lost as we understand that there is replication happening between them. as we have 4 mailbox servers from which server we should perform
    the task? Wish to get some advises from the exchange guru from this forum. we are on exchange server 2010 sp1 and windows server 2008 R2.Thanks so much.
    Name                 : HQDB01
    Servers              : {HQMB01, HQMB02}
    ActivationPreference : {[HQMB01, 1], [HQMB02, 2]}
    ReplayLagTimes       : {[HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    Name                 : HQDB02
    Servers              : {HQMB02, HQMB01}
    ActivationPreference : {[HQMB02, 1], [HQMB01, 2]}
    ReplayLagTimes       : {[HQMB02, 00:00:00], [HQMB01, 00:00:00]}
    TruncationLagTimes   : {[HQMB02, 00:00:00], [HQMB01, 00:00:00]}
    Name                 : SSDB01
    Servers              : {SSMB01, SSMB02, HQMB01, HQMB02}
    ActivationPreference : {[SSMB01, 1], [SSMB02, 2], [HQMB01, 3], [HQMB02, 4]}
    ReplayLagTimes       : {[SSMB01, 00:00:00], [SSMB02, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[SSMB01, 00:00:00], [SSMB02, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    Name                 : SSDB02
    Servers              : {SSMB02, SSMB01, HQMB01, HQMB02}
    ActivationPreference : {[SSMB02, 1], [SSMB01, 2], [HQMB01, 3], [HQMB02, 4]}
    ReplayLagTimes       : {[SSMB02, 00:00:00], [SSMB01, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}
    TruncationLagTimes   : {[SSMB02, 00:00:00], [SSMB01, 00:00:00], [HQMB01, 00:00:00], [HQMB02, 00:00:00]}

    Hi Exchange Guru,
    thanks so much for the prompt response..i have few queries to ask following your guidelines above:
    1. from the show result above, I am still confuse which server that I should go to remove as this is involving 4 database copies. from what I understand from the truncation or replay lag times of SSDB01 and SSDB02, I can see that HQMB01 and HQMB02 are on
    the third and fourth preference, which means that SSDB01 and SSDB02 will be able to failover to each of them when there is a failure and it cause the passive copies of both of SSDB01 and SSDB02 to be stored in the HQMB01 and HQMB02. what my purpose
    is to remove both SSDB01 and SSDB02 passive copies in HQMB01 and HQMB02. in this case, should I login to SSDB01 or SSDB02 mailbox servers to perform the removal with your guidelines above?
    2. is the command as below:
    Remove-MailboxDatabaseCopy -Identity SSDB01\HQMB01 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB01HQMB02 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB02\HQMB01 -Confirm:$False
    Remove-MailboxDatabaseCopy -Identity SSDB02\HQMB02 -Confirm:$False 
    will this cause the risk either of my HQDB01, HQDB02, SSDB01, and SSDB02 active copies accidentally  being removed? I am sorry that I am a bit naggy and always want a confirmation as this is very critical and I must be super careful.
    3. If after the removal successful, when is the best time to go to the drive where the passive copies stored and remove them so I can clear some space on  my disk? and is it just as simple by going to the drive and do a folder file deletion manually?
    because I just worry when I delete the file and the server is still replicating between each other, which will cause even corruption to the active database.
    4. From point 3, you mention about when the server is empty. what do you mean by that? do you mean that when the passive copies are no more there? and what command that I used to check?
    5. From point 4, is removing the server from DAG the last step to be performed? yes, I want to remove them from DAG, thus will left only HQMB01 and HQMB02 as one DAG and SSMB01 and SSMB02 as one DAG.
    Thank so so much for your patient and attention.
    Regards,
    Henry

  • Removing the database from Linux

    What I have to delete (files) in order to remove my database from my computer (Linux) ?
    Thanks,
    Paul

    Sounds like you want a clean system ... no trace of Oracle. Under Linux, the correct way of doing that would be
    1) For each database, use DBCA to remove/drop the database.
    Depending on the version of the DBCA, you may need to follow up with manually removing the "Oracle Data" directories, the "Flashback" directories (especially if they changed over time), and the "Admin" directories (where the alert.log and other trace files are kept)
    2) For each set of software (ORACLE_HOME), use the Oracle Universal Installer to remove the Oracle software.
    Depending on the version of the Oraclee Universal Installer, and which patches have been applied, you may need to manually remove the directories under the ORACLE_HOME
    3) Manually remove the Oracle Inventory, as identified by the oraInst.loc file
    4) Manually remove the /etc/oratab, /etc/oraInst.log and (if RAC has been installed) the /etc/oracle directory tree.
    Under Linux, you can cheat - skip the DBCA and OUI portions of the first 2 steps and go to the manual deletes.
    In Linux, I typically install everything Oracle under /u01/app/oracle as my ORACLE_BASE ... to clean the system, I simply "rm -rf /u01/app/oracle /etc/oratab /etc/oraInst.loc /etc/oracle"
    Or better, just start up a saved VMWare clone, if this is not a real system.

  • Show error when connect Company Database by DI API in 2004B

    Hi
    I use the DI API to connect company database in 2004B.  I can get the company lists by SAPbobsCOM.CompanyClass.GetCompanyList().
    I write a program to testing the connection that show two different result in client and server side.
    - It show the error -2147221164 (Class not registered), when connect company database in client PC. 
    - The same program run in server, it connected.
    I already checked my config as below
    - SAP 2004B is installed 7.20.145 SP:00 PL:25
    - SAPbobsCOM67.dll is 6.70.188.0 version, and "Special Build Description" is 21.
    The client and server side are same config.
    Any ideas how I should handle this?
    Thanks
      Winson

    sorry! it is wrong posted in here!!

  • Uploading Data File to Company Database

    I've created a form using iWork Numbers on my iPad.
    If I create a data file from specific data in my form is there a way to upload the data file from my iPad directly to a company database over the internet.
    I don't want to have use iTunes or MobileMe because it seems that the data would then have to be manually forwarded to the database. At least that's my perception but I could be wrong.
    I would appreciate any help on directly forwarding data from an iPad to a company database via the internet.
    Thanks

    The only thing I can think of off the top of my head is email as an excel file. You would want to email it to yourself and open in excel, then use that (unmodified) file as a template for your IT to set up an email and script that would take the emailed file and import into the proper table(s).
    Jason

  • SBO Backup not backing up one of the Company Database

    Hi Expert,
    My customer environment is :-
    Windows Server 2008 R2 SP1
    MS-SQL 2005 SP3
    SAP B1 2007B PL15 Hotfix
    There are 8 company databases ticked in SBO Backup Database tab. 7 of them are backup successfully at the scheduled time, except 1. The MDF file is 3GB and the LDF file is around 800MB. There are still around 45GB free disk spaces remaining in this drive.
    May i know why this database not backup?
    Thanks,
    Taw-Fey
    Edited by: Taw Fey Tan on Mar 22, 2011 8:49 AM

    Hi Bala,
    I have tried to just run SBO Backup for that particular company. Still no backup happen.
    But there is an error in Windows Event Viewer Application Log with SBO Backup.
    ERROR
    The description for Event ID 166 from source SBOBackUp cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The specified resource type cannot be found in the image file
    Please advice what else should i do, thanks.
    Taw-Fey, Tan

  • Removing Oracle Database Enterprise Edition Release 11.2.2.0 on linux 5

    I have installed Pre-Built Developer-VM (for Oracle VM VirtualBox) named Database App Development VM, including Oracle Database 11g Release 2 Enterprise Edition.
    VirtualBox VMs for Developers&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;VirtualBox VMs for Developers&q…
    I would like to remove Oracle Database Enterprise Edition Release 11.2.2.0 on linux 5, but I am getting the error "command not found".
    [oracle@localhost ~]$ cd $ORACLE_HOME
    [oracle@localhost dbhome_2]$ cd deinstall
    [oracle@localhost deinstall]$ ls -ltr
    -rwxr-xr-x 1 oracle oracle 32343 Dec 16  2009 sshUserSetup.sh
    -rw-r--r-- 1 oracle oracle 489   Nov 16  2009 readme.txt
    -rw-r--r-- 1 oracle oracle 3466  Mar 19  2010 deinstall.xml
    -rwxr-xr-x 1 oracle oracle 9369  Jun 10  2010 bootstrap.pl
    -rwxr-xr-x 1 oracle oracle 14776 Jul 15  2010 deinstall.pl
    drwxr-xr-x 2 oracle oracle 4096  Oct  2  2010 response
    drwxr-xr-x 2 oracle oracle 4096  Oct  2  2010 jlib
    -rwxr-xr-x 1 oracle oracle 8474  Oct  2  2010 deinstall
    [oracle@localhost deinstall]$ ./deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    ./deinstall: line 217: ERROR:: command not found
    Does anybody have an idea?

    Hello Asif,
    I opened deinstall.pl with vi and jumped to line 217. There is nothing in line 217. Its the end of file. In line 216 is the following command:
    $TOOL_DIR/perl/bin/perl $TOOL_DIR/deinstall.pl $HOME_VER $TEMP_LOC $TOOL_DIR $ARCHITECTURE_FLAG $TOOL_ARGS
    I cannot find the problem.
    deinstall.pl
    # $Header: install/utl/scripts/db/deinstall /main/3 2010/05/28 20:12:57 ssampath Exp $
    # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
    #    NAME
    #      deinstall - wrapper script that calls deinstall tool.
    #    DESCRIPTION
    #      This script will set all the necessary variables and call the tools
    #      entry point.
    #    NOTES
    #      <other useful comments, qualifications, etc.>
    #    MODIFIED   (MM/DD/YY)
    #    mwidjaja    04/29/10 - XbranchMerge mwidjaja_bug-9579184 from
    #                           st_install_11.2.0.1.0
    #    mwidjaja    04/15/10 - Added SHLIB_PATH for HP-PARISC
    #    mwidjaja    01/14/10 - XbranchMerge mwidjaja_bug-9269768 from
    #                           st_install_11.2.0.1.0
    #    mwidjaja    01/14/10 - Fix help message for params
    #    ssampath    12/24/09 - Fix for bug 9227535. Remove legacy version_check
    #                           function
    #    ssampath    12/01/09 - XbranchMerge ssampath_bug-9167533 from
    #                           st_install_11.2.0.1.0
    #    ssampath    11/30/09 - Set umask to 022.
    #    prsubram    10/12/09 - XbranchMerge prsubram_bug-9005648 from main
    #    prsubram    10/08/09 - Compute ARCHITECTURE_FLAG in the script
    #    prsubram    09/15/09 - Setting LIBPATH for AIX
    #    prsubram    09/10/09 - Add AIX specific code check java version
    #    prsubram    09/10/09 - Change TOOL_DIR to BOOTSTRAP_DIR in java cmd
    #                           invocation of bug#8874160
    #    prsubram    09/08/09 - Change the default shell to /usr/xpg4/bin/sh on
    #                           SunOS
    #    prsubram    09/03/09 - Removing -d64 for client32 homes for the bug8859294
    #    prsubram    06/22/09 - Resolve port specific id cmd issue
    #    ssampath    06/02/09 - Fix for bug 8566942
    #    ssampath    05/19/09 - Move removal of /tmp/deinstall<timestamp> to java
    #                           code.
    #    prsubram    04/30/09 - Fix for the bug#8474891
    #    mwidjaja    04/29/09 - Added user check between the user running the
    #                           script and inventory owner
    #    ssampath    04/29/09 - Changes to make error message better when deinstall
    #                           tool is invoked from inside ORACLE_HOME and -home
    #                           is passed.
    #    ssampath    04/15/09 - Fix for bug 8414555
    #    prsubram    04/09/09 - LD_LIBRARY_PATH is ported for sol,hp-ux & aix
    #    mwidjaja    03/26/09 - Disallow -home for running from OH
    #    ssampath    03/24/09 - Fix for bug 8339519
    #    wyou        02/25/09 - restructure the ohome check
    #    wyou        02/25/09 - change the error msg for directory existance check
    #    wyou        02/12/09 - add directory existance check
    #    wyou        02/09/09 - add the check for the writablity for the oracle
    #                           home passed-in
    #    ssampath    01/21/09 - Add oui/lib to LD_LIBRARY_PATH
    #    poosrini    01/07/09 - LOG related changes
    #    ssampath    11/24/08 - Create /main/osds/unix branch
    #    dchriste    10/30/08 - eliminate non-generic tools like 'cut'
    #    ssampath    08/18/08 - Pickup srvm.jar from JLIB directory.
    #    ssampath    07/30/08 - Add http_client.jar and OraCheckpoint.jar to
    #                           CLASSPATH
    #    ssampath    07/08/08 - assistantsCommon.jar and netca.jar location has
    #                           changed.
    #    ssampath    04/11/08 - If invoking the tool from installed home, JRE_HOME
    #                           should be set to $OH/jdk/jre.
    #    ssampath    04/09/08 - Add logic to instantiate ORA_CRS_HOME, JAVA_HOME
    #                           etc.,
    #    ssampath    04/03/08 - Pick up ldapjclnt11.jar
    #    idai        04/03/08 - remove assistantsdc.jar and netcadc.jar
    #    bktripat    02/23/07 -
    #    khsingh     07/18/06 - add osdbagrp fix
    #    khsingh     07/07/06 - fix regression
    #    khsingh     06/20/06 - fix bug 5228203
    #    bktripat    06/12/06 - Fix for bug 5246802
    #    bktripat    05/08/06 -
    #    khsingh     05/08/06 - fix tool to run from any parent directory
    #    khsingh     05/08/06 - fix LD_LIBRARY_PATH to have abs. path
    #    ssampath    05/01/06 - Fix for bug 5198219
    #    bktripat    04/21/06 - Fix for bug 5074246
    #    khsingh     04/11/06 - fix bug 5151658
    #    khsingh     04/08/06 - Add WA for bugs 5006414 & 5093832
    #    bktripat    02/08/06 - Fix for bug 5024086 & 5024061
    #    bktripat    01/24/06 -
    #    mstalin     01/23/06 - Add lib to pick libOsUtils.so
    #    bktripat    01/19/06 - adding library changes
    #    rahgupta    01/19/06 -
    #    bktripat    01/19/06 -
    #    mstalin     01/17/06 - Modify the assistants deconfig jar file name
    #    rahgupta    01/17/06 - updating emcp classpath
    #    khsingh     01/17/06 - export ORACLE_HOME
    #    khsingh     01/17/06 - fix for CRS deconfig.
    #    hying       01/17/06 - netcadc.jar
    #    bktripat    01/16/06 -
    #    ssampath    01/16/06 -
    #    bktripat    01/11/06 -
    #    clo         01/10/06 - add EMCP entries
    #    hying       01/10/06 - netcaDeconfig.jar
    #    mstalin     01/09/06 - Add OraPrereqChecks.jar
    #    mstalin     01/09/06 -
    #    khsingh     01/09/06 -
    #    mstalin     01/09/06 - Add additional jars for assistants
    #    ssampath    01/09/06 - removing parseOracleHome temporarily
    #    ssampath    01/09/06 -
    #    khsingh     01/08/06 - fix for CRS deconfig
    #    ssampath    12/08/05 - added java version check
    #    ssampath    12/08/05 - initial run,minor bugs fixed
    #    ssampath    12/07/05 - Creation
    #MACROS
    if [ -z "$UNAME" ]; then UNAME="/bin/uname"; fi
    if [ -z "$ECHO" ]; then ECHO="/bin/echo"; fi
    if [ -z "$AWK" ]; then AWK="/bin/awk"; fi
    if [ -z "$ID" ]; then ID="/usr/bin/id"; fi
    if [ -z "$DIRNAME" ]; then DIRNAME="/usr/bin/dirname"; fi
    if [ -z "$FILE" ]; then FILE="/usr/bin/file"; fi
    if [ "`$UNAME`" = "SunOS" ]
    then
        if [ -z "${_xpg4ShAvbl_deconfig}" ]
        then
            _xpg4ShAvbl_deconfig=1
            export _xpg4ShAvbl_deconfig
            /usr/xpg4/bin/sh $0 "$@"
            exit $?
        fi
            AWK="/usr/xpg4/bin/awk"
    fi
    # Set umask to 022 always.
    umask 022
    INSTALLED_VERSION_FLAG=true
    ARCHITECTURE_FLAG=32
    TOOL_ARGS=$* # initialize this always.
    # Since the OTN and the installed version of the tool is same, only way to
    # differentiate is through the instantated variable ORA_CRS_HOME.  If it is
    # NOT instantiated, then the tool is a downloaded version.
    # Set HOME_VER to true based on the value of $INSTALLED_VERSION_FLAG
    if [ x"$INSTALLED_VERSION_FLAG" = x"true" ]
    then
       ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_2
       HOME_VER=1     # HOME_VER
       TOOL_ARGS="$ORACLE_HOME $TOOL_ARGS"
    else
       HOME_VER=0
    fi
    # Save current working directory
    CURR_DIR=`pwd`
    # If CURR_DIR is different from TOOL_DIR get that location and cd into it.
    TOOL_REL_PATH=`$DIRNAME $0`
    cd $TOOL_REL_PATH
    DOT=`$ECHO $TOOL_REL_PATH | $AWK -F'/' '{ print $1}'`
    if [ "$DOT" = "." ];
    then
      TOOL_DIR=$CURR_DIR/$TOOL_REL_PATH
    elif [ `expr "$DOT" : '.*'` -gt 0 ];
    then
      TOOL_DIR=$CURR_DIR/$TOOL_REL_PATH
    else
      TOOL_DIR=$TOOL_REL_PATH
    fi
    # Check if this script is run as root.  If so, then error out.
    # This is fix for bug 5024086.
    RUID=`$ID|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
    if [ ${RUID} = "root" ];then
    $ECHO "You must not be logged in as root to run $0."
    $ECHO "Log in as Oracle user and rerun $0."
    exit $ROOT_USER
    fi
    # DEFINE FUNCTIONS BELOW
    computeArchFlag() {
       TOOL_HOME=$1
       case `$UNAME` in
          HP-UX)
             if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK -F\- '{print $2}' | $AWK '{print $1}'`" = "64" ];then
                ARCHITECTURE_FLAG="-d64"
             fi
          AIX)
             if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK '{print $1}' | $AWK -F\- '{print $1}'`" = "64" ];then
                ARCHITECTURE_FLAG="-d64"
             fi
             if [ "`/usr/bin/file $TOOL_HOME/bin/kfod | $AWK -F\: '{print $2}' | $AWK '{print $2}' | $AWK -F\- '{print $1}'`" = "64" ];then
                  ARCHITECTURE_FLAG="-d64"
             fi
       esac
    if [ $HOME_VER = 1 ];
    then
       $ECHO "Checking for required files and bootstrapping ..."
       $ECHO "Please wait ..."
       TEMP_LOC=`$ORACLE_HOME/perl/bin/perl $ORACLE_HOME/deinstall/bootstrap.pl $HOME_VER $TOOL_ARGS`
       TOOL_DIR=$TEMP_LOC
    else
       TEMP_LOC=`$TOOL_DIR/perl/bin/perl $TOOL_DIR/bootstrap.pl $HOME_VER $TOOL_ARGS`
    fi
    computeArchFlag $TOOL_DIR
    $TOOL_DIR/perl/bin/perl $TOOL_DIR/deinstall.pl $HOME_VER $TEMP_LOC $TOOL_DIR $ARCHITECTURE_FLAG $TOOL_ARGS
    Best regards

  • Integration Framework not showing company database

    I want to run SAP Application Software on Iphone. Integration Framework installed. in SLD-> B1 Server DB List is not showing current company database.
    Error on Iphone : Permission denied.
    Kindly Help.

    Hi,
    Try this,
    1.First, you should detach the company database in SQL Server. Then,
    2.Goto--> SAP B1---> choose company---> click [Refresh]---> Company Database are not shown in the Matrix.
    3.Again, goto SQL and attach all company Database.
    4. Repeat Step-2 Again.
    5. Now, goto Integration Framework and relogin.
    I Hope It will work.
    Thanks,
    P.T.Sampath

  • Removing a database

    How to remove a database? I want to migrate to Oracle 8.1.6, and I don't want to use the previous database. But I want to reuse the SID and its domain name. Any suggestion?

    Uninstall the old software, delete the $ORACLE_HOME directory and the remaining content, remove all database files (datafiles, redolog files, controlfiles, parameter file, archived logfiles), remove the entry from the oratab file. After this you can install the new software and recreate the database.

  • Querying for company database version

    Dear Experts,
    Via the SQL Management Studio, what will be the query to allow us to extract the company database version? PL version?.. etc
    Much Thanks in Advance!
    Warmest Regards,
    Chinho

    You can also use the following Query in Company Database
    Select * from CINF
    To know the Version Number from SBO-Common use the following query
    Select * from SINF

Maybe you are looking for