We walk in the dark places no others will enterWe stand on the bridge and no one may pass
create table dbo.MyTable ( MyTableID int identity(1,1) primary key, MyTableData1 varchar(10), MyTableDate1 datetime); -- create the test tableinsert into dob.MyTable(MyTableData1, MyTableDate1)select 'Joe', '2007-10-01' union allselect 'Sam', '2008-10-01'; -- insert some test dataselect * from dbo.MyTable; -- show the datadelete from dbo.MyTablewhere MyTableDate1 < '2008-08-01'; delete some dataselect * from dbo.MyTable; -- show what's leftdrop table dbo.MyTable; -- drop the test table