Author Question: Explain the essential format of the CREATE TABLE statement. What will be an ideal ... (Read 12 times)

washai

  • Hero Member
  • *****
  • Posts: 523
Explain the essential format of the CREATE TABLE statement.
 
  What will be an ideal response?

Question 2

A stored program that is stored within the database and compiled when used is called a trigger.
 
  Indicate whether the statement is true or false



kishoreddi

  • Sr. Member
  • ****
  • Posts: 329
    • Your online Help in Biology and chemistry
Answer to Question 1

The essential format for the CREATE TABLE statement is:
CREATE TABLE tablename (
column-description,
column-description,
column-description,
. . .
optional table constraints
);
Tablename is the name that will be given to the newly created table. Column-description is a three-part description of each column to appear in the table. This description includes the name of the column, the column's data type, and an optional column constraint (either Primary Key, Null, or Not Null), in that order. The CONSTRAINT phrase can be used to set optional primary key, foreign key and referential integrity constraints for the table. All SQL statements must end with a semi-colon (;).

Answer to Question 2

FALSE



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

People with high total cholesterol have about two times the risk for heart disease as people with ideal levels.

Did you know?

The immune system needs 9.5 hours of sleep in total darkness to recharge completely.

Did you know?

As many as 20% of Americans have been infected by the fungus known as Histoplasmosis. While most people are asymptomatic or only have slight symptoms, infection can progress to a rapid and potentially fatal superinfection.

Did you know?

Most women experience menopause in their 50s. However, in 1994, an Italian woman gave birth to a baby boy when she was 61 years old.

Did you know?

Carbamazepine can interfere with the results of home pregnancy tests. If you are taking carbamazepine, do not try to test for pregnancy at home.

For a complete list of videos, visit our video library