Viewing 15 posts - 6,226 through 6,240 (of 13,877 total)
First thing I'd suggest is removing this line:
INNER JOIN dbo.Drops D ON J.JobID = D.JOBID
As it is no...
December 8, 2016 at 7:26 am
padmakumark26 (12/8/2016)
Like select * from table .
But i cannot access like that it is...
December 8, 2016 at 7:15 am
padmakumark26 (12/8/2016)
I created a user (User1) and Schema (shema1). Made schema1 as defult user schema.Now i cannot access table name without schema1.table name. Select * from table don't work
I...
December 8, 2016 at 6:38 am
December 7, 2016 at 2:11 pm
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
Viewing 15 posts - 6,226 through 6,240 (of 13,877 total)