Top "Oracle" questions

Oracle Database is a Multi-Model Database Management System created by Oracle Corporation.

How to select the nth row in a SQL database table?

I'm interested in learning some (ideally) database agnostic ways of selecting the nth row from a database table. It would …

mysql sql database oracle postgresql
Update statement with inner join on Oracle

I have a query which works fine in MySQL, but when I run it on Oracle I get the following …

sql oracle inner-join ora-00933
How to find the privileges and roles granted to a user in Oracle?

I am using Linux, Oracle10g. I have created one user called test. and granted create session and select any …

oracle security oracle10g user-accounts
How to declare variable and use it in the same Oracle SQL script?

I want to write reusable code and need to declare some variables at the beginning and reuse them in the …

sql oracle variables declaration
How do I find duplicate values in a table in Oracle?

What's the simplest SQL statement that will return the duplicate values for a given column and the count of their …

sql oracle duplicate-data
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

I have installed Oracle 11g Express Edition Release 2 in my windows 7 64 bit OS and tried to execute JDBC program, then …

oracle jdbc
How can I get column names from a table in Oracle?

I need to query the database to get the column names, not to be confused with data in the table. …

sql database oracle
Checking oracle sid and database name

I want to check SID and current database name. I am using following query for checking oracle SID select instance …

oracle oracle10g
Comparing Dates in Oracle SQL

I'm trying to get it to display the number of employees that are hired after June 20, 1994, Select employee_id, count(*) …

sql oracle date-comparison