adplus-dvertising
frame-decoration

Question

Inorder to ensure that the value of budget is non-negative which of the following should be used?
CREATE TABLE Manager(ID NUMERIC,Name VARCHAR(20),budget NUMERIC,Details VARCHAR(30));

a.

Check(budget>0)

b.

Check(budget<0)

c.

Alter(budget>0)

d.

Alter(budget<0)

Posted under DBMS

Answer: (a).Check(budget>0)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Inorder to ensure that the value of budget is non-negative which of the following should be used?

Similar Questions

Discover Related MCQs

Q. Domain constraints, functional dependency and referential integrity are special forms of _________

Q. Create index studentID_index on student(ID);
Here which one denotes the relation for which index is created ?

Q. Values of one type can be converted to another domain using which of the following ?

Q. CREATE DOMAIN YearlySalary NUMERIC(8,2)
CONSTRAINT salary VALUE test __________;

In order to ensure that an instructor’s salary domain allows only values greater than a specified value use:

Q. In contemporary databases the top level of the hierarchy consists of ______ each of which can contain _____

Q. The database administrator who authorizes all the new users, modifies database and takes grants privilege is

Q. Which of the following is a basic form of grant statement ?

Q. Which of the following is used to access the database server at time of executing the program and get the data from the server accordingly ?

Q. Which of the following header must be included in java program to establish database connectivity using JDBC ?

Q. DriverManager.getConnection(_______ , ______ , ______)
What are the two parameters that are included ?

Q. Which of the following invokes functions in sql ?

Q. Which of the following function is used to find the column count of the particular resultset ?

Q. Which of the following is a following statement is a prepared statements ?

Q. Which of the following is used as the embedded SQL in COBOL ?

Q. Which of the following is used to distinguish the variables in SQL from the host language variables ?

Q. The update statement can be executed in host language using

Q. Which of the following is used to access large objects from a database ?

Q. Which of the following is used to input the entry and give the result in a variable in a procedure ?

Q. The format for compound statement is

Q. Repeat
sequence of statements;
__________________
end repeat

Fill in the correct option :