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
Caps Lock out of sync in RDP Session
Command:Click:Command is working fine for Button but its not working for Hyperlink
Autoplay Synctoy when USB harddrive plugged in
Exchange 2007 Standby Continuous Replication
Trim() in JavaScript using Regular Expression
[BlazeDS]Unknown AMF type '17'. flex.messaging.io.UnknownT
ypeExcepti
on: Unknown AMF type '17'.
Binary data
Web Interface 5.3 PNAgent Site - Citrix Online Plug-in could not contact the server entered.
Computer restarted itself twice, event logs attached. Windows 7 Pro
How do i recover missing notes in office 2007 pro. Missing from archive folders as well.