jump to navigation

11g new view – V$SQL_HINT May 3, 2009

Posted by sendtoshailesh in Uncategorized.
Tags:
trackback

In case you wanted to know which Oracle version a particular SQL hint is
applicable in or was introduced in. You can query V$SQL_HINT introduced
in 11g for that. It holds even historical information. Column “version”
gives oracle version in which a particular hint was introduced and
version_outline probably gives upto which version upto which it is
applicable.

This even has a column to give you inverse of an hint.

This view is a undocumented view.

SQL> desc v$sql_hint

Name Null? Type

—————————————– ——–
—————————-

NAME VARCHAR2(64)

SQL_FEATURE VARCHAR2(64)

CLASS VARCHAR2(64)

INVERSE VARCHAR2(64)

TARGET_LEVEL NUMBER

PROPERTY NUMBER

VERSION VARCHAR2(25)

VERSION_OUTLINE VARCHAR2(25)

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: