0% found this document useful (0 votes)
36 views1 page

SQL

The document discusses how databases can be created in SQL either graphically through SSMS or by using queries, and it mentions primary keys for uniquely identifying data and foreign keys for maintaining data integrity.

Uploaded by

Sachin Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views1 page

SQL

The document discusses how databases can be created in SQL either graphically through SSMS or by using queries, and it mentions primary keys for uniquely identifying data and foreign keys for maintaining data integrity.

Uploaded by

Sachin Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

In SQL everything can be created in two ways by Graphically by SSMS or by Using Query.

Create.

Alter Database name Modify Name= name

Primary Key: It is used to uniquely identify each and every data stored in the table.

Foreign Key: Data Base Integrity can be stored by foreign key constraints. If you are going to any invalid
data by intentionally or by mistakenly.

You might also like