Database MCQS - QUESTION DETAILS

What does the SQL NOT NULL constraint do?
A. Allows NULL values
B. Prevents NULL values
C. Sorts values in descending order
D. Groups values

The NOT NULL constraint prevents NULL values in a column.

Similar Questions

Which SQL function is used to find the current user in MySQL?






What is the purpose of the Oracle DUAL table?






Which SQL Server statement is used to rename a table?






Which Oracle function is used to find the length of a string?






In SQL Server, what is the purpose of the SQL Server VARBINARY data type?






What is the purpose of the SQL DISTINCT keyword?






Which SQL Server statement is used to add a new row to a table?






What is the purpose of the SQL Server CHARINDEX() function?






What is the purpose of the SQL Server TRY...CATCH block?






Which MySQL statement is used to delete a database?