Current Headline

Listen to Your Daily Tune's

Saturday, September 11, 2010

Inserting Data in Sql Table




--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

Related Posts with Thumbnails

Xpert-Zone Blog Overview