Viewing 15 posts - 4,726 through 4,740 (of 13,871 total)
Try something like this
BEGIN TRY
IF NOT EXISTS (
SELECT 1
FROM dbo.view_MyView
WHERE MemberID = @MemberID
)
BEGIN
THROW 50000
,'MemberId does not exist'
,1;
February 6, 2018 at 9:03 am
February 6, 2018 at 7:35 am
February 6, 2018 at 6:58 am
February 6, 2018 at 6:35 am
Steve has got it right, despite his 'not much of an SSIS guy' disclaimer 🙂
Use a FOREACH loop to process the file, even though you know that there...
February 6, 2018 at 5:50 am
February 5, 2018 at 2:48 pm
February 5, 2018 at 2:43 pm
While I am sure that there are good reasons for doing so on occasions, including DDL to modify your database schema within a stored procedure is not best practice. For...
February 5, 2018 at 10:39 am
February 5, 2018 at 9:12 am
February 5, 2018 at 9:08 am
Can you try changing the connections from project level to package level?
February 5, 2018 at 3:29 am
Viewing 15 posts - 4,726 through 4,740 (of 13,871 total)