Can A column defined as PRIMARY KEY can have NULL values ?
Answers were Sorted based on User's Feedback
Answer / parul chaudhary
No,a coloum defined as PRIMARY KEY can't have NULL values,
because when we assign a coloum as a PRIMARY KEY that mean
its a unique coloum by which whole the table have to be
accessed.
| Is This Answer Correct ? | 5 Yes | 0 No |
What's the difference between file and database?
1.If we have a Salary coloumn in Staff entity with this description the salary must be monetary and >=$35450.00, how we can write it in into schemain SQL? 2. If we have Weight and Marks in Assessment entity and the Weight has the description of this it must be Non-zero percentage. And also the Marks attribute stores the maximum possible raw mark for assessment (e.g., 30), while Weight stores of the weight of this assessment for the paper as a whole (e.g., 10%). If Marks is not specified, then Weight is used for both. How we can convert this into schema in SQL????
What is a candidate key in dbms?
How to Handle Missing Data in a Database?
Describe concurrency control.
Describe the types of keys?
Enlist the various transaction phases.
What is 2-tier architecture?
Why dbms is used?
What is the difference between indexes,views,synonyms?
What is 1nf in the dbms?
write a query to retrieve the last day of next month in oracle.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)