Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.
IF EXISTS(SELECT CreateDate FROM Customer_H WHERE (TransID = @TransID AND CreateDate < (select DATEADD(mi, -2, GETDATE())) )) BEGIN @TimeCheck = 1 END exec sp_BuyersCheckPosition @TransID, @CustomerNr, @PosCheck OUTPUT IF (@PosCheck = 1 OR @TimeCheck = 0) BEGIN Do my Batch thing End
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.