SQL Editor
SQL Bigint Integer Types Example
Tables and Columns
Customer
- Id
(int)
- FirstName
(nvarchar)
- LastName
(nvarchar)
- City
(nvarchar)
- Country
(nvarchar)
- Phone
(nvarchar)
Order
- Id
(int)
- OrderDate
(datetime)
- OrderNumber
(nvarchar)
- CustomerId
(int)
- TotalAmount
(decimal)
OrderItem
- Id
(int)
- OrderId
(int)
- ProductId
(int)
- UnitPrice
(decimal)
- Quantity
(int)
Product
- Id
(int)
- ProductName
(nvarchar)
- SupplierId
(int)
- UnitPrice
(decimal)
- Package
(nvarchar)
- IsDiscontinued
(bit)
Supplier
- Id
(int)
- CompanyName
(nvarchar)
- ContactName
(nvarchar)
- ContactTitle
(nvarchar)
- City
(nvarchar)
- Country
(nvarchar)
- Phone
(nvarchar)
- Fax
(nvarchar)
Task:
List the maximum value of each integer data type.
Click here
for details on
BIGINT
.
CREATE TABLE DemoTable ( MyBigInt BIGINT, MyInt INT, MySmallInt SMALLINT, MyTinyInt TINYINT ); GO INSERT INTO DemoTable VALUES (9223372036854775807, 2147483647, 32767, 255); GO SELECT * FROM DemoTable; GO DROP TABLE DemoTable; GO
Cannot use a ';' (semicolon) in this editor.
About Us
Our Story
Customers
Contact Us
FAQs
Forum
Login
Sign up
Sitemap
Pricing
Product Pricing
Bundle Pricing
Compare Editions
Jobs
Find Jobs
Jobs by Technology
Jobs by Role
Jobs by Location
Jobs by Company
Post a free Job
Companies
Find Companies
Companies by Technology
Companies by Location
List your Company
Products
Overview
Dofactory .NET
Dofactory SQL
Dofactory JS
Dofactory Bundle
Demos
Overview
Analytics App
Ecommerce App
SaaS App
CRM App
33-Day App Factory™
Learning
Overview
SQL Tutorial
SQL Reference
HTML Tutorial
HTML Reference
.NET Design Patterns
C# Coding Standards
JavaScript Tutorial
Connection Strings
Visual Studio Shortcuts
C# Code Examples
Articles
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms
Privacy
Cookies
Do Not Sell
Licensing
Made with
in Austin, Texas.
- vsn 44.0.0
© Data & Object Factory, LLC.