Collections:
Adding Address Records into AdventureWorksLT in SQL Server
How to add an address record into AdventureWorksLT in SQL Server?
✍: FYIcenter.com
To find out if we can add data into AdventureWorksLT or not, you can try to add an address record into the "SalesLT.Address" in AdventureWorksLT:
USE AdventureWorksLT
GO
INSERT SalesLT.Address (AddressLine1, City, StateProvince,
CountryRegion, PostalCode)
VALUES('1 Main Street', 'Java', 'Oracle',
'FYI', 'Center')
GO
SELECT * FROM SalesLT.Address
WHERE CountryRegion = 'FYI'
GO
AddressID/AddressLin1/AddressLine2/City/StateProvince
/CountryRegion/PostalCode/rowguid
/ModifiedDate
11384/1 Main Street/NULL/Java/Oracle
/FYI/Center/6073DFAE-9803-4B4F-B60E-D9742C0EED1D
/2007-05-19 19:24:44.140
⇒ Getting Started with Transact-SQL Statements in SQL Server
⇐ AdventureWorksLT Entity Relation Diagram in SQL Server
2016-12-02, 2575🔥, 0💬
Popular Posts:
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
How To Calculate DATETIME Value Differences Using the DATEDIFF() Function in SQL Server Transact-SQL...
What is dba.FYIcenter.com Website about? dba.FYIcenter.com is a Website for DBAs (database administr...
How To Query Tables and Loop through the Returning Rows in MySQL? The best way to query tables and l...
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...