Are oopen cursors forward-only and read-only? - oracle

Is a cursor created with oopen (from the Oracle 7.x OCI api) forward-only and read-only?
Thanks,
Eric

Cursors are both forward-only and read-only.

A swift bout of Googling turned up this link to the OCI 7 docs. I don't know whether this publication is licit under Oracle's terms of use (even for educational sites). On the other hand Oracle's OTN site only goes back as far as 8, so what choice do we have?
As DCooke points out, OTN does have the Oracle 7.3.4 docs. I salute D's superior Google-fu.

Related

Getting started as Oracle Student

I've starting to learn SQL and heavily interested in learning Oracle. I'm trying to download a version of Oracle to help with hands-on learning, and wondering if I should learn from the Express 18c version or 19c. I notice a lot of the courses on Udemy are Oracle Database is version 12c. I'm wondering if it matters? As far as I can tell the Oracle website does not allow a download of 12c anymore (though I might have just missed it), and Exam 1Z0-071 seems to be more conceptual of an exam. However, I'd like to make the best choice for future, more detailed and in-depth learning as well
I'd suggest 18c XE (or even 11gXE; it is still available). (You're right, 12c is unavailable.)
Express Edition (XE) is a good choice for students because it is easily installed and ready to go. As you don't plan to follow the DBA path (at least, that's how I understood what you said) and don't need to understand installation tricks in depth, something that installs in a matter of a few NEXT clicks is just a plus.
Alternatively, if you don't want to install anything, you can get a free account on apex.oracle.com. It is primarily used for Apex developers, but - you can still practice your (PL/)SQL skills in its SQL Workshop.

Oracle Edition required to use fuzzy operators

I've checked in the Oracle documentation etc but can't find any specific mention of what Version of Oracle 11.2 can use Fuzzy operators.
In particular want to know if avaialable in Std Ed
Thanks
The Oracle documentation includes the Licensing guide which explains the limitation of features by edition. Find out more.
Anything which is not mentioned in the Licensing Guide is available in all editions. Oracle Text is not mentioned (assuming that's what you mean by "fuzzy operators") so you can use it with SE.

Oracle license for development environment?

I'm sorry that I have to ask that here, but I haven't found a conclusive answer on the oracle page or in the internet. I've even been on the phone with a sales rep, but they couldn't help me neither.
What kind of Oracle Setups/licenses are you using for your development environments? We currently are using 10g XE which only has one significant limitation: the 4gb database size limit. Are there any other 'free' versions which don't have such limitations? And if not, what would be the most economic version/combination? The often have a hard user limit which are ridiculous low.
Thanks!
Cheers
Reto
PS. I'm not sure if I have to mention that: I'm not looking for any illegal solutions
Since it appears that there exists a production environment, the license for the software you download from OTN will almost certainly not be sufficient. Since it sounds like each developer has a local development environment, however, you should be able to make use of the Personal Edition. This is a relatively inexpensive ($460 perpetual/ $92 for a 1-year license plus support in the Oracle Store at the moment) version of Oracle that is intended to be used by a single developer on a local machine. It has all the functionality of the enterprise edition of the database.
You can download Oracle Database 11g (and most other Oracle solutions) from their website oracle.com.
All you need is to register for free, and download the application, you don't need any license if it is for personal use.

Comparison of 3rd Party Oracle .NET Providers

I'm in the process of cleaning up an Oracle database application. In this application, performance and ease of access are paramount concerns. It has to get out of your way and let you get to the data in a free and uninhibited way. While doing that, it has to be very fast. When it can't be fast, it has to be multi-threaded so that it doesn't freeze up the system.
All of that out of the way, here's what I've learned. Microsoft has deprecated the System.Data.OracleClient namespace. It'll be around in .NET 4.0, but it'll be marked with ObsoleteAttribute. I've currently swapped it out for ODP.NET from Oracle (which turned out to be surprisingly painless), but in reviewing other comments, I realized that I was still failing to meet a few design goals:
I might not be using the fastest provider out there.
I still can't seem to provide access to the SYSOPER account. I haven't quite worked out why, yet. That could be a coding issue, but I'm stumped.
So here's my question for you guys.
What are the 3rd party alternatives to System.Data.OracleClient that you've used, and what are their pros and cons?
I used ODP.NET and I'm satisfied with it.
There were some cons, which are gone with the last version of oracle instant client supporting odp.net.
We've used ODP.NET since it was first released and have been pretty happy with it. I haven't used the following, but the fact that you can use them without installing an oracle client is appealing:
DevArt
DataDirect

LINQPad and Oracle

Does LINQPad work with Oracle? Has anyone tried? What do you suggest?
As of beta version 4.35, LINQPad supports Oracle fully - you can now do "LINQ to Oracle" queries. I believe it uses the DevArt dotConnect libraries for managing this great feat. Further, in addition to native OCI support, it also supports a direct mode which does not require the Oracle OCI DLLs to be present.
To enable this feature you will need to simply add a new data connection in LINQPad, and when asked which driver to use - click the View more drivers... button. You can then install the IQ Driver and use it for querying Oracle, MySQL and SQLite databases.
Judging by their user voice item request for Oracle support, it appears unsupported at the moment.
A comment on the O'Reilly forums also suggests its not supported.
update As we understand it, there's now built-in Oracle support in the latest versions of LinqPad; the home page of LinqPad now lists support for Oracle.
update January 2013 The new LinqPad-to-Oracle support appears to still be available. Per the LinqPad FAQ:
Q. Why does LINQPad use LINQ to SQL under the covers, rather than Entity Framework?
A. LINQ to SQL is faster with large schemas and in most cases, emits
better SQL. You can, however, use EF with EDMs that you define
yourself. For querying SQLite, MySQL and Oracle (via the optional
plug-in), LINQPad uses Matt Warren's IQueryable toolkit.
Linqpad now has support for lightspeed which supports oracle.

Resources