Viewing 15 posts - 6,226 through 6,240 (of 13,874 total)
dianerstein 8713 (12/7/2016)
December 7, 2016 at 1:02 pm
Can you use something like this?
IF NOT EXISTS(SELECT * FROM sys.indexes WHERE object_id = object_id('schema.tablename') AND NAME ='indexname')
--Do stuff
December 7, 2016 at 11:11 am
dianerstein 8713 (12/7/2016)
December 7, 2016 at 11:07 am
wendy elizabeth (12/7/2016)
December 7, 2016 at 10:52 am
paul 69259 (12/7/2016)
That appears to be nearly there the only problem now is if a job doesn't have any additional drops it doesnt show the collection and...
December 7, 2016 at 10:48 am
IF my understanding is correct, STUFF should do what you want.
You had the same idea as me, though STUFF is not doing much here other than removing an unwanted character;...
December 7, 2016 at 10:08 am
So ... a single row in the Jobs table can have multiple related rows in the Drops table, is that correct?
If so, you could make use of the FOR XML...
December 7, 2016 at 10:05 am
clucasi (12/7/2016)
December 7, 2016 at 5:47 am
Brandon Groom (12/5/2016)
December 5, 2016 at 5:42 pm
swarun999 (12/5/2016)
(
@UserId nvarchar(255),
@Password nvarchar(255)
)
as
begin
declare @count int
select @count = count(*) from UsersTable where UserId = @UserId and [Password] = @Password
if(@count = 0)
begin
Print...
December 5, 2016 at 12:22 pm
One thing you could also try is putting the results of the entire source query into a temp table, then indexing the temp table, then merging from only the temp...
December 5, 2016 at 8:55 am
TheBI (12/5/2016)
I want to optimise the following query that is running so slowly.
Please help or gimme an advice.
MERGE dbo.LocalizedCategories AS T
USING (SELECT L.LanguageID,SC.CategoryID,BC.Value
FROM (SELECT...
December 5, 2016 at 8:48 am
It's difficult to diagnose without looking into what the package is doing. Is there an error handler configured on the component which is failing inside the FEL?
December 5, 2016 at 6:25 am
But on Sql Server Agent it is still runing but I writes error on job history.
You wrote an error to job history? What problem do you think this is?
December 5, 2016 at 5:49 am
kpmandani (12/4/2016)
December 5, 2016 at 4:40 am
Viewing 15 posts - 6,226 through 6,240 (of 13,874 total)