Official TuningSQL.com Blog | Page 2 of 5 | Oracle Database SQL, Tuning, Features, and Toubleshooting
Skip to content
  • TuningSQL.com
  • TuningSQL.com
Official TuningSQL.com Blog

Official TuningSQL.com Blog

Oracle Database SQL, Tuning, Features, and Toubleshooting

Where did the DBA_PARAMETERS View Go in Oracle?

October 1, 2020October 1, 2020 Kaley Crum

If you’re searching for DBA_PARAMETERS or ALL_PARAMETERS or USER_PARAMETERS…it’s because (like me) you’ve forgotten that the name is DBA_ARGUMENTS, not DBA_PARAMETERS. There are 3 steps you can follow to prevent this from happening in the future: 1.) Go clear your… Read More

Data Dictionary Views, OracleLeave a comment

How To Create A SQL Monitor Report

September 21, 2020September 21, 2020 Kaley Crum

First of all, you want to ensure that you have the tuning and diagnostic pack for your database–if you do not have the tuning and diagnostic pack, Oracle does not authorize you to create SQL Monitor Reports. Important Information About… Read More

Oracle, SQL Monitor Reports, Tuning/EfficiencyLeave a comment

How to Fix “ORA-01489: Result of String Concatenation is Too Long” When Using Listagg

August 19, 2020November 16, 2020 Kaley Crum

If you’re using the LISTAGG() function in Oracle, and you’ve encountered the error ORA-01489: result of string concatenation is too long it’s because you’re trying to create a comma-delimited list that is too long for a VARCHAR2. In Oracle, a… Read More

Oracle, Oracle Error Messages, Problems and Troubleshooting, SQL2 Comments

How to Unexpire a Password in Oracle (ORA-28001: the password has expired)

August 18, 2020August 18, 2020 Kaley Crum

What This Error Means You’re trying to login to an Oracle database and you get ORA-28001: the password has expired. Yikes! This means that the user’s profile forces them to periodically change their password, due to a security precaution. So,… Read More

Oracle, Oracle Error Messages, Problems and Troubleshooting, User Profiles, UsersLeave a comment

ORA-12727: Invalid Back Reference In Regular Expression

August 17, 2020August 17, 2020 Kaley Crum

If you’ve run across ORA-12727: invalid back reference in regular expression, it’s because you’ve referenced a group (a group is an expression enclosed in parenthesis) either that doesn’t exist, or doesn’t exist yet. There are two common reasons for this… Read More

Oracle, Oracle Error Messages, Problems and Troubleshooting, Regular ExpressionsLeave a comment

How to Tell If Statistics are Stale in Oracle

August 14, 2020August 14, 2020 Kaley Crum

There are two ways to tell if statistics are stale in Oracle. One way is to allow Oracle to tell you if it thinks the statistics are stale. The other way is to compare the statistics of what Oracle thinks… Read More

Oracle, Table Statistics, Tuning/EfficiencyLeave a comment

How To Do a CREATE OR REPLACE TABLE In Oracle

August 13, 2020August 13, 2020 Kaley Crum

I’ve always appreciated the CREATE OR REPLACE functionality in Oracle for views, packages and triggers, and I’ve often wanted a similar CREATE OR REPLACE TABLE. Many times, I’ll find myself needing to quickly drop and re-create a table while I’m… Read More

Keywords, Oracle, Table Definitioncreate or replace table, oracleLeave a comment

Conditional Compilation Errors in Pl/SQL

July 27, 2020August 13, 2020 Kaley Crum

Here’s a list of common Pl/SQL Conditional compilation errors, along with what may have caused them. This should allow you to know where to look in your code for errors. This isn’t a complete list, but it should be enough… Read More

Oracle, Oracle Error Messages, Pl/SQL, Pl/SQL Compiler Flags, Problems and TroubleshootingLeave a comment

Index Range Scan vs. Leading Wildcard

July 2, 2020August 13, 2020 Kaley Crum

Can you use an index range scan with a LIKE if you have a leading wildcard in your expression? e.g. Most people would say “no” but, I actually found a way to “trick” Oracle into doing so using bind variables,… Read More

Bind Variables, Execution Plans, OracleLeave a comment

Oracle: Coding Around NULL Values

June 18, 2020August 13, 2020 Kaley Crum

In Oracle, NULLs can complicate your code–a lot. Suppose, for example, you want to see if two different values are the same in a SQL query. You might be tempted to write something like this: The problem with the above… Read More

NULL Values, NULL Values, Oracle, Pl/SQL, SQLLeave a comment

Posts navigation

Older posts
Newer posts

FREE Sql Tuning Tips!

Get FREE tips and tricks for FASTER Oracle SQL queries delivered directly to your email inbox!

Just a minute...

Awesome! You're subscribed!!

Recent Posts

  • Selecting From a View: ORA-01031: insufficient privileges
  • Calculating Scalar Subquery Cache Size, Part 2
  • How to Migrate a Baseline From One Database to Another
  • How to Get A Query’s Execution Plan (With All The Details)
  • Using DBMS_UTILITY.EXPAND_SQL_TEXT

Categories

  • Approximate Query Processing
  • Arrays
  • Autonomous
  • Baselines
  • Bind Variables
  • Caching
  • Certification
  • Creating Users
  • Cursors
  • Custom Aggregation
  • Data Dictionary Views
  • Data Types
  • Database Objects
  • Day to Second Interval
  • DBMS_METADATA
  • DBMS_UTILITY
  • Dirty Hacks
  • Execution Plans
  • Explain Plans
  • FORALL
  • Hash Clusters
  • Hash Joins
  • Hints
  • Keywords
  • Network Connections
  • NULL Values
  • NULL Values
  • Oracle
  • Oracle Error Messages
  • Oracle SQL Developer
  • Pl/SQL
  • Pl/SQL Compiler Flags
  • Pluggable Databases
  • Pragmas
  • Privileges
  • Problems and Troubleshooting
  • Regular Expressions
  • Row Level Security
  • Row Source Statistics
  • Scalar Subqueries
  • Scripts and Queries
  • SQL
  • SQL Monitor Reports
  • SQL Plan Management
  • Table Definition
  • Table Statistics
  • Tuning/Efficiency
  • User Profiles
  • Users
  • Version
  • Virtual Columns
  • Wrapping Pl/SQL Code
  • Writing Queries for Performance
Copyright © TuningSQL.com All rights reserved.
Business Cast by Axle Themes