-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e02fd9b
commit b4201d3
Showing
1 changed file
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,37 @@ | ||
## SQL DATATYPES | ||
Most databases have comprehensive documentation on the types they support, and this is a good resource for any needed detail beyond | ||
what is presented here. We are focused loosely on the datatypes and their variations. | ||
|
||
### GENERAL CATERGORISATION OF DATA TYPES | ||
|
||
### GENERAL CATERGORISATION OF DATA TYPES | ||
Data types in SQL can be summarised as follows: | ||
|
||
[Readmore here]() | ||
### EXAMPLES IN WRITTEN QUERIES | ||
|S/N|TYPES| | ||
|----|----| | ||
|1|Exact Numerics| | ||
|2|Approximate Numerics| | ||
|3|Date or Datetime| | ||
|4|Strings | | ||
|5|Unicode Strings| | ||
|6|Binary Strings| | ||
|7|Others| | ||
|
||
[Readmore MSSQL Dataypes here](https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver16) | ||
[Readmore MYSQL Dataypes here]() | ||
[Readmore POSTGRESQL Dataypes here]() | ||
[Readmore SQLITE Dataypes here]() | ||
|
||
|
||
### EXAMPLES IN WRITTEN QUERIES | ||
|
||
[Readmore here]() | ||
### EXAMPLES IN OTHER CASES | ||
CREATE TABLE MyUniqueNames ( | ||
FirstName varchar(10), | ||
LastName varchar(10), | ||
CreateDate datetime default GETDATE() | ||
PRIMARY KEY (FirstName,LastName) | ||
) | ||
|
||
|
||
[Readmore here]() | ||
### TABLES SUMMARY OF DATATYPES IN SQL | ||
|
||
[Readmore here]() |