Viewing 15 posts - 18,616 through 18,630 (of 26,484 total)
Matt Wilhoite (10/26/2009)
I knew there was a table I was missing. I couldn't think of the master_files table to save my life.Thank you Lynn 😀
Well, I can't take...
October 26, 2009 at 12:58 pm
You don't need the dynamic sql in the cursor solution if you change the the table from sys.sysfiles to sys.sysaltfiles.
But I'd look at the code I provided above.
October 26, 2009 at 12:57 pm
Give this code a try:
select
db.name as DBName,
mf.name as DBFileName,
mf.growth as Growth
from
sys.databases db
...
October 26, 2009 at 12:54 pm
Change this:
set @DbGrowth =(select top 1 cast((growth) as varchar(30)) from sys.sysfiles)
to this:
set @DbGrowth =(select top 1 cast((growth) as varchar(30)) from sys.sysfiles where name = @DbName)
Please note, this is untested. ...
October 26, 2009 at 12:49 pm
Jack, I know what that is like. Your family will be in our prayers.
October 23, 2009 at 7:02 pm
sqlservercentral.w.micmurphys (10/23/2009)
October 23, 2009 at 11:07 am
I do find that quite sexist. I happen to work with a group of female developers and they work quite while and do their research. I have also...
October 18, 2009 at 5:51 pm
Betty and I bought Proud Mom and Dad sweat jackets Thursday and were wearing them today coming back from the grocery store. We were coming up in the elevator...
October 17, 2009 at 4:59 pm
One of her fellow soldiers was sitting next a lady who at the end of the flight handed her (not Kassondra) a note that said "thanks for serving" along with...
October 17, 2009 at 4:31 pm
Well, the graduation ceremony was great. We got to spend quite a bit of time with Kassondra Thursday and Friday, but it was a bit difficult saying goodbye again...
October 17, 2009 at 4:21 pm
If you aren't having disk space issues and the LDF file is maintaining the same size, I'd leave everything alone. If you shrink the log file it will just...
October 17, 2009 at 2:43 pm
Typical military, hurry up and wait. We are here on Fort Jackson waiting to get into the stadium for the ceremony. But hey, the line is finally moving.
October 15, 2009 at 6:20 am
Bob Hovious 24601 (10/14/2009)
"You'll have to get the rest of your question answered by someone else... they're about to close the casket, and nobody bothered to put extra batteries...
October 14, 2009 at 3:08 pm
Looks like you all are doing fine without me so far, haven't seen a cry for a Saint yet. We are about a half hour outside of Columbia SC....
October 14, 2009 at 2:37 pm
Viewing 15 posts - 18,616 through 18,630 (of 26,484 total)