Created
July 29, 2013 07:38
-
-
Save AlexArchive/6102676 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
USE TSQL2012; | |
IF OBJECT_ID('vendor') IS NOT NULL | |
DROP TABLE vendor | |
CREATE TABLE Vendor | |
( | |
VendorID INT IDENTITY PRIMARY KEY, | |
VendorName VARCHAR(32), | |
VendorEmail VARCHAR(200) | |
); | |
INSERT INTO Vendor | |
VALUES('Dell', '[email protected]'); | |
INSERT INTO Vendor | |
VALUES('IBM', '[email protected]'); | |
INSERT INTO Vendor | |
VALUES('Microsoft', '[email protected]'); | |
INSERT INTO Vendor | |
VALUES('Oracle', ''); | |
INSERT INTO Vendor | |
VALUES('Intel', NULL); | |
INSERT INTO Vendor | |
VALUES('Apple', '[email protected]'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment