We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
UPDATE Tbl1 SET CalcFld = (select row_Number() over(ORDER by Value DESC) as Row from Tbl2 where tbl2.Id = Tbl1.Id and Tbl2.Date = '4/1/09') from Tbl1 IF @@ROWCOUNT = 0 BEGIN INSERT Tbl1 (Id, CalcFld) select Id, row_Number() over(ORDER by Value DESC) as Row from Tbl2 where Tbl2.Date = '4/1/09' END
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|semaphore timeout period has expired||1||27|
|get count of orders by customer Sql Server table.||3||44|
|T-SQL: need to reset a declared variable||4||29|
|Modifying Powershell to list all server with SQL Server running ?||4||18|
Join the community of 500,000 technology professionals and ask your questions.