Microsoft
Software
Hardware
Network
Question : cannot drop statistics in sql server
I have a problem deleting one of the statistics in the table.
when i script
if exists (select * from sys.stats where name = N'inx_add_1' and object_id = object_id(N'[dbo].[Call_De
tails_]'))
DROP STATISTICS [dbo].[Call_Details_].[inx
_add_1]
then get an error below
Msg 3739, Level 11, State 1, Line 3
Cannot DROP the index 'dbo.Call_Details_.inx_add
_1' because it is not a statistics collection.
any idea why is this happening, and when i right click on the stats name the "script statistics as" is grayed out by default. any idea friends....
Answer : cannot drop statistics in sql server
It appears that it's an index and not statistics
try drop index instead
Random Solutions
Can I make an iPhone operational "without SIM" card (very good reason to-read please)?
Disable IMAP service in Exchange 2010 Certificate?!
dlookup with ' in the text does not work
Getting an operation failed error when logging into the Plesk Panel
How do I hide/show divs in a custom (ascx) control inside an asp:repeater control?
Anyone run an online backup software along side Ghost with no conflicts.
In between Asterisk BLF
Can't access variable in code behind page
Citrix XenApp 5 Installation General Question
Is there a way to format an external drive so Linux and Windwos 7 can see it?