Official TuningSQL.com Blog | Page 3 of 6 | 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

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/Efficiency2 Comments

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, SQL2 Comments

The *LOWEST* Possible Cost For a Query

May 24, 2020August 13, 2020 Kaley Crum

Quick: If you had to pick the least-expensive-cost query you could think of, what would that query look like? …(hums Jeopardy theme)…. Ding! Time’s up!! Most people respond with something “select from a one-block table.” Let’s give it a shot:… Read More

Database Objects, Explain Plans, Hash Clusters, Oracle, Tuning/EfficiencyLeave a comment

Get the Oracle Database Version Number

May 7, 2020August 13, 2020 Kaley Crum

If you’re looking for how to get the Oracle Database Version, there are lots of ways to do so, depending on what your end-goal is. Running A Quick Query The easiest, simplest, fastest method is to run the following query:… Read More

Oracle, Pl/SQL, Pl/SQL Compiler Flags, Versiondatabase version, oracle version, versionLeave a comment

ORA-28104: input value for statement_types is not valid.

April 29, 2020August 13, 2020 Kaley Crum

If you’re receiving the ORA-28104: input value for statement_types is not valid error, it might be because you are trying to apply a row-level security policy to a table in a database that has been upgraded to 12.2 or greater… Read More

Oracle, Problems and Troubleshooting, Row Level SecurityORA-28104Leave a comment

Are Single-Table Hash Clusters USELESS?!?

April 20, 2020August 13, 2020 Kaley Crum

I remember being at an Oracle conference a few years ago, and I attended a session that was related to SQL Tuning. One of the things that was discussed in this lecture was Oracle Single Table Hash Clusters, and I… Read More

Database Objects, Hash Clusters, Oracle, Tuning/Efficiencyhash clusters, oracle, single table, single table hash clusterLeave 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

  • When Statistics Help with Filters
  • How to Make a “God User” in Oracle
  • View Hidden Parameters in Oracle
  • KUP-01005: syntax error: found “hash” (How to fix on an External Table)
  • Finding mod(power(x,y)) for Larger Values

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
  • External Table Problems
  • FORALL
  • Hash Clusters
  • Hash Joins
  • Hints
  • Keywords
  • Network Connections
  • NULL Values
  • NULL Values
  • Oracle
  • Oracle Error Messages
  • Oracle SQL Developer
  • Parameters
  • 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
  • Uncategorized
  • 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