???????5??TABLE_INSERTS.sql


/* ????????? */

PRINT 'TOTAL TABLES CREATED = ' + CAST(@TOTAL_TABLES AS VARCHAR)
GO
PRINT '?????????????? EMPLOYEE'
GO
USE TestDB
GO
INSERT  INTO DBO.EMPLOYEE
        ( FIRSTNAME?? LASTNAME )
        SELECT  'JOHN' ??
                'DOE'
GO
INSERT  INTO DBO.EMPLOYEE
        ( FIRSTNAME?? LASTNAME )
        SELECT  'JANE' ??
                'DOE'
GO
INSERT  INTO DBO.EMPLOYEE
        ( FIRSTNAME?? LASTNAME )
        SELECT  'JEFF' ??
                'DOE'
GO
 


?????????????C??????′??????bat???create_db.bat?????????SQLCMD??


SQLCMD -E -dmaster -ic:Scriptscreate_db.sql
PAUSE


??????????????C??????????bat?????

???????????????????

?????????????????TestDB??

????????У?

??????к????????????????????????

??????????е???????????1?ж??????????????м??????????г????

???????

?????????????飬????????????????й??????????????????????????????????á?