Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: SQL Query optimization.

$
0
0
Author: Rohit Umarjikar
Posted: Wed Sep 28, 2016 8:29 pm (GMT 5.5)

Quote:
"SQLCODE = -551, ERROR: YOU DOES NOT HAVE THE PRIVILEGE TO
PERFORM OPERATION CREATE INDEX ON OBJECT TEST_TABLE".

Why you do yourself, don't you have any DBA's at your site?

Quote:
Secondly i want to ask if a field is already a Primary Key do I still need to make index for that...????
In above case it is one of the Primary key
It is must to have unique index.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles