What does this mean ?
GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;
Answers were Sorted based on User's Feedback
Answer / guest
Granting BIND gives BIND authority on the Plan MK2 to all
users.
BIND PLAN establishes the relationship between DB2 and all
DBRMs or packages in that plan.
BIND(ADD) can be used for creating a new plan or package.
BIND(REPLACE) can be used when the program has been changed.
With this authority, any user is able to bind a DBRM or a
package to the plan MK2. The users can rebind the Plan as
well.
The Bind process performs the following :
1) Checks SQL syntax.
2) Checks security.
3) Compares column and table names against the DB2 Catalog.
4) Builds an access path strategy for each SQL statement.
Granting EXECUTE to PUBLIC gives all users, the authority
to EXECUTE the plan MK2.
Regards,
Amit
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / guest
BIND gives the authority to bind, rebind and free the plan
MK2 by anyone(PUBLIC)
EXECUTE gives the authority to run the programs that uses
the plan MK2.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / shilpa
this is data control language these work will done by data
base administrator. if the dba gives the permission then
only we can use tables and other components otherwise we
can do any operation.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / ravi
This is basically -922 error, Authorization failure, so
admin will grant permission to bind the plan or dbrm
| Is This Answer Correct ? | 0 Yes | 3 No |
if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.
What is difference between isnull and coalesce?
In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.
How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?
Define db2 and its databases?
List down the data types in the db2 database.
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What are the two types of logging in the db2 database? Explain them.
What do you need to do before you do EXPLAIN ?
List down the types of triggers in the db2 database?
How many databases are there?
How many types of page locks can be held in db2?