How to connect to Oracle DB without OracleService*? - windows

This answer states that we should start OracleService* in order to connect to an Oracle DB.
However, there isn't a OracleService* among the list shown by services.msc.
Is there any other way to connect to an Oracle DB from command line, without using OracleService*?

Related

Oracle Privilege - User can create table but cannot write rows

A user has been configured on Oracle. Via this user, I can create an ODBC connection and an OCI connection, and these both test fine in Win10. Using Alteryx with the ODBC and OCI connection, we try to write data to a new table.
The table is created and appears in PL/SQL with the expected column names. However, the rows are never written and the connection just hangs at this point.
What could be wrong? I am not an Oracle Admin
Based on comments you were expecting oracle to commit without executing "commit" command explicitly. It's not enabled by default in oracle so you have to turn it on.
It's not possible to turn this on for the database, but on client apps only.
E.g. "set autocommit on" command in SQL Plus.
So you need to check docs for the client application you're connected with (presumably Alteryx is the one). It might have such a feature.

DB2 LUW "set db2instance" in Windows Shell not working properly

I am an experienced database administrator with IBM DB2 LUW and I am constantly running into the following problem. Any hint would be highly appreciated. We are running DB2 V 11.1.4070 on this machine.
We have a Windows server running DB2 on four instances. We need to backup the databases on a regular basis. We are using the external software Dataprotector for backing up the databases on an external storage device. We are using CMD-Batchfiles to execute the backup.
The problem I have is the following. In the first line I need to set the value of the OS-Variable "db2instance" to the value of the actual instance I need to backup.
This reads something like this
set db2instance=INSTANCE1
db2 connect to database1
db2 quiesce database
db2 connect reset
db2 deactivate database database1
Call Dataprotector
db2 activate database database1
db2 connect to database1
db2 unquiesce database
db2 connect reset
The problem I am running into is: the set db2instance statement isn't executed every time.
Sometimes it is executed fine, some other time it is not excecuted and some times it is executed but afterwards the shell gets corrupted and any db2 statement yields #
SQL10007N Message "-1390" could not be retrieved. Reason code: "6"
Problem seems to be related somewhat to this one
Any help would be appreciated.

How to connect Oracle Database to Oracle Developer?

I'm developing my small project using Oracle Database and Developer. When I create a new connection, this problem always show up:
I can not create connection.
I check services, and can't find OracleDBHome1Listener, what can I do to fix this?
run lsnrctl status shown this:

How does JDBC Connection to Sybase in Pentaho Kettle differ depending on the number of databases running in the SQL Anywhere server?

I'm trying to test a Database Connection in Pentaho Kettle to a SQL Anywhere database server on local with the Native (JDBC) connection using the default DBA/sql credentials. The .exe used to run the database server is the classic dbsrv10.exe for SQL Anywhere. It runs on port 2638. When I run dbsrv10.exe with only one database file, Kettle can connect just fine with the credentials on that port, and here's the interesting part, with ANY Database Name.
Once I include two database files, I get a Login Error from Kettle, even when using the appropriate names of each database in the Database Name field (I set the names dbsrv10 uses to refer to each database in the command line or I can omit that and SQL Anywhere refers to them by the file names without the .db). Any thoughts as to what's different and how I can actually connect when dbsrv is managing two databases?

Access Oracle Table from Sql Server

I have two different databases, one is in sql server and one is in oracle. i create a linked server between those two. how can i get data from oracle without the option "openquery".
Please help me out this.
You can create a connection link in oracle and then you can access the sql server database
see: Oracle connection link

Resources