--Data Manipulation Commands
--Inserting values in our table
INSERT INTO xpertzoneblogspot
VALUES (1,
'xpert',
Getdate(),
1000)
INSERT INTO xpertzoneblogspot
VALUES (2,
'Blog',
Getdate(),
2000)
INSERT INTO xpertzoneblogspot
VALUES (3,
'Spot',
'2010-09-11',
4000)
--- how to select values from the table
SELECT *
FROM xpertzoneblogspot
Microsoft SQL Server 2008 R2 Unleashed
No comments:
Post a Comment