Viewing 15 posts - 1,051 through 1,065 (of 7,191 total)
How do you decide which process should run the stored procedure? What are these processes - are they from the application? Why do you need to do this, by the...
November 30, 2017 at 4:38 am
Prasanna
I'm not sure why you're getting that error message. But you need to use ALTER LOGIN instead of CREATE LOGIN, since the sa login already exists. - then...
November 30, 2017 at 4:15 am
If the stored procedure is located on Sever A then specifying ServerB in your four-part name isn't going to get you anywhere. You can get this to work by (a)...
November 30, 2017 at 2:38 am
Since INSERT is your only course of action (part from doing nothing), I don't think I'd bother with the MERGE statement. Try something like this. If it doesn't work, it...
November 30, 2017 at 2:23 am
November 29, 2017 at 9:40 am
Thanks for providing DDL and sample data, but please test before posting.
What results are you expecting?
John
November 29, 2017 at 8:58 am
Yes, because IF @newEnabled <> @oldEnabled will always evaluate to False for an insert or delete, That's because there will only be an Inserted or a Deleted table and therefore @newEnabled or...
November 28, 2017 at 9:07 am
You don't appear to have taken ZZartin's advice about using FOR UPDATE, nor mine (five days ago) about making the trigger work for multiple modifications. Nor does it look like...
November 28, 2017 at 8:54 am
OK, you've posted the code that does work. If you show us what you've tried that doesn't work for added and deleted jobs, we should be able to help out.
November 28, 2017 at 8:18 am
How (or why) do you have a stored procedure that includes CREATE FUNCTION statements?!
I'd start by searching this site for string splitter functions. The ones in your codes...
November 28, 2017 at 2:27 am
Stefan
It works for me. Note my modifications to your code:DECLARE @command varchar(1000)
SELECT @command = 'SELECT ''?'', * FROM sys.symmetric_keys'
EXEC sp_MSforeachdb @command
John
November 23, 2017 at 8:53 am
raghuldrag - Thursday, November 23, 2017 5:36 AMKinldy solve the issue
We're not here to do your job or your homework for...
November 23, 2017 at 5:46 am
As far as I know, those numbers identify the components of the package. Since the error message provides the respective names of those components (UAT tablename Destination.Inputs[OLE DB Destination Input]...
November 23, 2017 at 3:55 am
November 23, 2017 at 2:14 am
November 23, 2017 at 2:10 am
Viewing 15 posts - 1,051 through 1,065 (of 7,191 total)