Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
declare @RecordID int, @Price int declare csr cursor for Select top 100 a.RecordID FROM Records ORDER BY a.RecordDate desc open csr fetch next from csr into @RecordID while @@FETCH_STATUS = 0 begin --cursor loop set @Price = (SELECT Price FROM Records where RecordID = @RecordID) if @Price > 0 begin update Records set Priced = 1 where RecordID = @RecordID end else begin update Records set Priced = 0 where RecordID = @RecordID end fetch next from csr into @RecordID end --cursor loop close csr deallocate csr
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Need to merge 3 large tables into one Table in SQL server||2||35|
|SQL 2008 - Disappearing Temp Table in Stored Procedure||24||60|
|store vs query adhoc - no show rows||4||37|
|What is GIS method of Geometry data type?||6||33|
Join the community of 500,000 technology professionals and ask your questions.