Viewing 15 posts - 6,226 through 6,240 (of 13,876 total)
Lowell, that's a neat trick!
Next step would be some refinement to return the actual SQL needed, ready for cut & paste. This sort of thing (borrowing your code):
IF OBJECT_ID('tempdb..#temp', 'U')...
December 8, 2016 at 10:17 am
sanjaydut26 (12/8/2016)
Thanks John, but no such files. 🙂Thanks
Sanjay
I think you are out of luck. There is no magic 'reduce the size of files without shrinking them' command.
December 8, 2016 at 8:23 am
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
Viewing 15 posts - 6,226 through 6,240 (of 13,876 total)