Hi
We have a database which is rarely used now but taking a lot of disk space (19Gb). I have truncated a lot of tables and ran the Shrink Database option (right click on database) but db is still 19GB. When I go into the properties for the Data File the Space Allocated (MB) says 19494. When I try to change this here it to say 30000 I get the error file 'Cognos Data Warehouse_Data does not exist (I notice no ' at the end of the name). I can see the name to the left of the path reads Cognos Data Warehouse_Data so I cannot see why it tells me it cannot find it. I can also see the .mdf file in the correct path
When I run the command below I get the same error.
ALTER DATABASE Cognos
MODIFY FILE
(NAME = [Cognos Data Warehouse_Data],
SIZE = 3GB)
GO
Anyone have any ideas at all where I am going wrong? Any help would be appreciated.
Cheers
We have a database which is rarely used now but taking a lot of disk space (19Gb). I have truncated a lot of tables and ran the Shrink Database option (right click on database) but db is still 19GB. When I go into the properties for the Data File the Space Allocated (MB) says 19494. When I try to change this here it to say 30000 I get the error file 'Cognos Data Warehouse_Data does not exist (I notice no ' at the end of the name). I can see the name to the left of the path reads Cognos Data Warehouse_Data so I cannot see why it tells me it cannot find it. I can also see the .mdf file in the correct path
When I run the command below I get the same error.
ALTER DATABASE Cognos
MODIFY FILE
(NAME = [Cognos Data Warehouse_Data],
SIZE = 3GB)
GO
Anyone have any ideas at all where I am going wrong? Any help would be appreciated.
Cheers