Hi,
I try to get only one row from a table, when I run “select PhysicalFile, Size_KB from SQLDBSIZE” I get all the physical file locations:
C:\Program Files\Microsoft SQL Server\MSSQL. \MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_STEALTH.mdf
But sometimes this location will pop up multiple times. I need then only once this entry. I don’t know how to do this.
Thanks,
Navmen
I try to get only one row from a table, when I run “select PhysicalFile, Size_KB from SQLDBSIZE” I get all the physical file locations:
C:\Program Files\Microsoft SQL Server\MSSQL. \MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_Partners.mdf
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\WSS_Content_STEALTH.mdf
But sometimes this location will pop up multiple times. I need then only once this entry. I don’t know how to do this.
Thanks,
Navmen