This is along the same line as my last question: 2013-11-15 at 17:33:08 ID28295719
In this case, it is one file that is being split into about 380 files.
Each section to be copied out begins with /*Sec and ends with the line before the next /*Sec.
The file should be named Sec-01-01.sql, Sec-01-02.sql, etc.
/*Sec-01-01:Connecting to a Database*/USE AdventureWorks2008R2;/*Sec-01-02:Retrieving Specific Columns*/SELECT NationalIDNumber, LoginID, JobTitleFROM HumanResources.Employee;/*Sec-01-03:Retrieving All Columns*/SELECT *FROM HumanResources.Employee;/*Sec-01-04:Specifying Rows to Be Returned*/SELECT Title, FirstName, LastNameFROM Person.PersonWHERE Title = 'Ms.';SELECT Title, FirstName, LastNameFROM Person.Person WHERE Title = 'Ms.' AND LastName = 'Antrim';