At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.
CREATE PROCEDURE spAddSomething @ID BIGINT OUTPUT, @AnotherID BIGINT, AS BEGIN IF (NOT EXIST(SELECT [ID] FROM TableX WHERE [ID] = @AnotherID)) BEGIN RAISERROR ('The passed Another Id odes not exist in persistence.', 16, 1) END .. insert statement 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.