Viewing 15 posts - 466 through 480 (of 769 total)
I find it easier to write to capture useful details while I write my script...
April 17, 2015 at 6:18 am
Thnx Jeff..
April 16, 2015 at 5:16 pm
In which version of sql server did u run the script?
April 15, 2015 at 1:30 pm
YEs , It's fixed. Thanks Gila...
select a.[Database Name],a.[Type],a.[Size in MB],b.LastUserUpdate
from
(
SELECT [Database Name] = DB_NAME(database_id),
[Type] = CASE WHEN Type_Desc = 'ROWS' THEN 'Data File(s)'
...
April 13, 2015 at 9:16 am
Guys
The below query works. I think per CTE, before "AS" we need to add the column names which were missing. I chose Option #4. Not sure, why Option#4, is not...
April 12, 2015 at 10:14 pm
HI Lowell,
Please suggest how to capture DML operation here.
Thanks
Sourav
April 10, 2015 at 4:20 pm
Yes, I got the issue and fixed it. 🙂
April 9, 2015 at 5:10 pm
Thanks.
I will share with you my final rebuild index script.
please suggest if you see any correction or modification neeeded.
Cheers
April 8, 2015 at 3:38 pm
Thanks...
When you pasted the script here, are you enclosing
Code
/code
For the proper indentation and color as is in SSMS?
April 8, 2015 at 3:24 pm
It was not clearly mentioned about the schema!!
I hope that the question should be loud and clear , rather for users to guess around
April 8, 2015 at 9:57 am
Ah...got it. you're right. Many thanks. I will try tomorrow and will let you know how it goes. But what you said is right for sure.
April 7, 2015 at 9:18 pm
No Error.
I was expecting the raise error function to be thrown if the option was not provided correctly. It only printed the message in the ELSE block.
Can you help me...
April 7, 2015 at 8:45 pm
Hi
Can you please share the script???
April 7, 2015 at 3:31 pm
If this could have brought the details for all the DB's would have been highly useful.
April 7, 2015 at 9:19 am
Viewing 15 posts - 466 through 480 (of 769 total)