Viewing 15 posts - 376 through 390 (of 501 total)
This should work:
sp_msforeachdb 'USE ?
select Name,
(convert(float,size)) * (8192.0/1048576) File_Size,
(convert(float,fileproperty(name,''SpaceUsed''))) * (8192.0/1048576) MB_Used,
((convert(float,size)) * (8192.0/1048576) - (convert(float,fileproperty(name,''SpaceUsed''))) * (8192.0/1048576)) MB_Free
from sysfiles
order by
fileproperty(name,''IsLogFile'')'
December 5, 2008 at 3:53 pm
Arthur.Lorenzini (11/11/2008)
Let me phrase that, there is 0.25MB in the Blob File group which is preventing me from deleting it.
Have you tried deleting the data file(s) from the filegroup? If...
November 12, 2008 at 5:50 pm
Leo (11/12/2008)
A connection could not be established to LOCALReason : Cannot Open user default database. Login failed.
Pelase verify the sql server is running.........
Sounds like the default database for the SQL...
November 12, 2008 at 5:46 pm
Loner (11/10/2008)
So I will have...
November 10, 2008 at 5:10 pm
November 7, 2008 at 4:32 pm
Executing sp_who2 in Query Analyzer will give you the most of the info in Current Activity
November 7, 2008 at 3:54 pm
If it's just a handful of packages, you can open them to find the connections. However, if you have hundreds or thousands of packages it might be worth the $300...
October 31, 2008 at 5:21 pm
I would agree with winash. You could create a new db with a smaller inital size and script out all the objects and data into the smaller db.
EDIT - oops,...
October 31, 2008 at 4:57 pm
When using sp_spaceused, database_size includes the log file size but the free space in the log file is not included in unallocated_space.
My guess is you have a 9500MB log file...
October 31, 2008 at 4:45 pm
Sounds like you may have to reinstall. Be sure to backup all system and user databases prior to the reinstall.
October 29, 2008 at 4:53 pm
You can view schema changes by using the reports built into SSMS.
Right click on the database, Reports, Standard Reports, Schema Changes History
Might require SP2, can't remember off the top of...
October 29, 2008 at 4:16 pm
If the BUILTIN|Administrators group is still in the logins for SQL, you can add your account to the local Administrators group on the machine which would give you sa access...
October 24, 2008 at 4:00 pm
These links from BOL should give you a good idea of what is involved.
http://msdn.microsoft.com/en-us/library/ms191233(SQL.90).aspx
http://msdn.microsoft.com/en-us/library/ms178117(SQL.90).aspx
October 24, 2008 at 2:51 pm
Is "Auto Close" enabled on the database? Is there anti-virus software which is allowed to scan inside the SQL folders? I have seen this error when a virus scanner is...
October 15, 2008 at 4:12 pm
GilaMonster (10/13/2008)
You can't do a shink file with empty on the primary file.
Actually, you can do a shrinkfile with empty on the primary data file. You can shrink it down...
October 14, 2008 at 4:30 pm
Viewing 15 posts - 376 through 390 (of 501 total)