how to connect oracle 9i database to forms 6i - database

I recently restored my old computer's system (running win XP SP2), on which I was using oracle 8i in addition to Forms and Reports 6i.
Unfortunately, restoring the system deleted the software, and thereafter I had no access to the local database nor the Forms and Reports I had earlier.
I then installed Oracle 9i v 9.0 as I think that Oracle DB usually has 2-updates compatibility. The installer didn't recognize my 8i database so I went on creating a new 9i database, but now I can't connect forms 6i.
Logging in to sqlplus 9 works fine, but sqlplus 8 requires
DATABASE CONNECTION (e.g. t:node:SID) [LOCAL]
What should the input be??
My 9i SID = ABD and tnsnames.ora is cloned from 9i network folder to 6i net80 folder.
Thank you in advance

Usually, 6i version should be installed in this order: database first, then Reports, and Forms at the end. Why? Because Reports installation overwrites Forms' configuration files, but Forms installation won't overwrite Reports' ones.
Apart from that, the rest should be relatively simple: if you don't use TNS_ADMIN environment variable (my suggestion: do use it), then you have to manually maintain all copies of TNSNAMES.ORA synchronized - that's what you already did: put copy into \developer_suite_home\network\admin directory.
Forms should then be able to recognize the database and connect to it.

Related

Migrate SQL Server to Windows from Linux

I've been running SQL Server Express 2019 on our Linux Server, and I am currently planning our disaster recovery setup.
I was already able to backup the database automatically, but I can't seem to restore the database to a SQL Server on Windows. I've been using a localDB instance to test it, but I seem to be unable to restore the database to it
Note: the .bak file came from Linux SQL Server.
Every time I try to restore the database it says that the sysfiles1 is corrupted, but when I try to restore a database from a Windows SQL Server, it works fine. I also tried to restore the Linux database back to itself and that works, too.
There have been many articles that show how to migrate from Windows to Linux but I can't find any that shows how to migrate from Linux to Windows.
The reason I want to test if I can go back to Windows is that we only have one server that runs Linux in the office and a lot of Windows computers.
TLDR: I want to know if its possible to migrate database from Linux to Windows
The problem is LocalDB. I got same error each time I tried to restore database from linux. Then I made same restore in another server (SQL Server Standart is installed) and it successfully restored database. Then I restored to my local machine from that SQL Server Standart backup.

redgate oracle 12c compare shows noneditionable

Why does Redgate compare for Oracle show NONEDITIONABLE for objects?
We have installed Oracle 12C locally on a windows machine to dry run database scripts before running them on the main Oracle 12C database on a Unix machine.
After running the scripts on the local version we run Redgate Schema compare and find that some of the Views and Triggers don't match. Upon further review the only difference between the two is the word "NONEDITIONABLE". This is not part of the our script and we are unsure how this was added to the local version of the object.
CREATE OR REPLACE FORCE NONEDITIONABLE
When researching EDITIONING we thought that maybe it was because the local Oracle install wasn't a portable database (PDB), so we changed our install, and confirmed that the EDITIONS_ENABLE was 'Y' for the user.
We are restoring a dump of the main to our local, and it appears to only be the objects that existed previously. Any new objects do not experience this issue.
I was never able to find a good solution in the local 12C version install. I finally used the restored 12C version to create by own backup, which I downgraded to the 11.2 version for Oracle Express. Once I restored the downgraded version the comparison and ran the scripts I no longer experienced an issue with the compare.

Is it possible to create a backup image of an already installed sql server? (complete image not just configuration file installation)

I am wondering if it is possible to create an image of an already installed SQL server on my machine?
The issue is as follows:
I have SQL server developer 2014 and 2016 with all components installed on my machine (Sql server, SSIS, SSRS, SSAS), my OS is Windows 10 pro (upgraded from windows 8.1), and recently I had windows 10 anniversary update and I am having a lot of issues since this then, so I want to reset Windows (resetting resolved same issues I had with my other computers).
I know I can use configuration file installation, but this will not include all the components and will not have setting for things like Management Data Warehouse and SSAS query history.
So I am asking if there is a way to generate an image of the already installed SQL server and it's components and just re-install that image again after resetting windows?
Thank you.
There is no built in SQL Server tool to do this (Oracle does have such a tool) and many dbas think because they can restore a database they have done enough in the area of backup. You can use VMWARE (Virtual Machine Converter) to create an image of your machine or you have to backup all the databases (including the system dbs) that are installed on your machine, all the binaries (programs both SQL Server and non-SQL Server utils such as antivirus) and all the settings at the system level (especially accounts).
The best way to check is to do a bare metal restore and see if the machine matches what you have exactly.

what is oracle universal installer in oracle database products

I am new to oracle database products. I am planning to install oracle 11g express edition in my PC,it looks like a standard installer.But in many of the oracle database installation tutorial mentions oracle universal installer.oracle universal installer provides more open options,but those options and features not available in downloaded oracle 11g express edition.
difference between two https://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#XEINW151 and http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r1/prod/install/dbinst/windbinst2.htm
so anyone explain me exactly what is oracle universal installer??Thx in advance.
As the name suggests oracle universal installer is a utility which can be used to install or uninstall multiple oracle products.
The utility can also check pre-requisites before installing a new software.
Only thing you need to do is to provide path to products.xml file inside oraparam.ini file. This can be location for the file on your physical machine or remote location may be hosted on oracle site.
The products.xml file actually have the information about the product being installed for example it is Oracle Client or DB.
For more information please check this link
FYI, this question would have been better asked on the DBA site since it has nothing to do with programming.
XE is a minimal installation for test/dev work so I guess they decided not to clutter it up with OUI, which I have never liked anyway. OUI is simply Oracle's Java-based installer that installs and keeps track of the majority of Oracle software you have installed on your system. There's nothing special about it, and you have no need to worry about missing out on something. If you were installing the standard database, it would try to start the network config tool that creates the TNSNames.ora file, for example. It's been a while since I used XE but I think it's install just creates a generic one for connecting to the XE instance.

Connect to remote Oracle Database

I needed to make an application connect with a oracle database located in the same network (ping the host works fine), but not in the same machine (i.e. an remote server). I developed then a software using Qt and I was able to connect it successfully with that database from my machine, but I'm not being able to do it from the machine my software is supposed to be located during its functioning. I've tried to understand what is so special about my machine that on it my software is able to connect with the Oracle database while it's not able to do the same in the right machine, and it seems that the only different thing is that I've installed the Oracle database here, while I'm not allowed to do the same there.
The error returned by Qt is that I'm simply unable to logon, while the QOCIDriver returns that it wasn't possible to create the environment. Interestingly enough, the same problem was occurring with me on my machine during the time I didn't have the Oracle database installed and neither the Oracle Client something. And this Oracle Client something is already installed in the official machine with no positive results.
So I'ld like to know exactly what I need to do to make my software works. Install the database after all in the official machine? Not viable. Install the Oracle Client? I've already done it. Add the ORACLE_HOME registry/environment variable? Did both. ^^ Copied the dbhome_1/BIN folder with lots of dlls and .exe to the official machine? Did it already, and that only made it began to crash while trying to connect to the database. And now I'm out of solutions...
I'm glad for any help!
Momergil
After some days of trying, finally I was able to solve my problem.
Essentially I had to copy the Oracle database installer to the official computer and active the Oracle Universal Installer choosing the option "Install only the database softwares", i.e., not the database itself. After that, it run fine.

Resources