Delete conditions from MS SQL 2008 table

I have a table that somehow got added some conditions that I wish to delete. I am using MS SQL 2008 and I am not sure how to do this in the Enterprise. The bottom part of my table looks like:

ActNote] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DateInitiated] [datetime] NULL,
[LastModified] [datetime] NULL,
[Complete] [bit] NULL CONSTRAINT [DF_Activities_Complete] DEFAULT ((0)),
[PartyList] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[TimeSpent] [int] NOT NULL CONSTRAINT [DF_Activities_TimeSpent] DEFAULT ((0)),
[BlobId] [int] NULL,
[Processtep] [nvarchar] (150) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ProcesstepID] [int] NULL,
[sent_by] [int] NULL CONSTRAINT [DF_Activities_sent_by] DEFAULT ((0)),
[responsible] [int] NULL,
[Schdemailon] [datetime] NULL,
[efile] [smallint] NOT NULL CONSTRAINT [DF__Activitie__efile__2A563856] DEFAULT ((0)),
[efiledate] [datetime] NULL,
[efilereference] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
)
GO
-- Constraints and Indexes

ALTER TABLE [dbo].[Activities] ADD CONSTRAINT [PK_Activities] PRIMARY KEY NONCLUSTERED  ([ActivityId])
GO
CREATE CLUSTERED INDEX [_dta_index_Activities_c_11_1702297124__K2] ON [dbo].[Activities] ([CaseId])
GO
CREATE NONCLUSTERED INDEX [_dta_index_Activities_11_1702297124__K3_K5_K11_K2_K18_13] ON [dbo].[Activities] ([FirmId], [ActType], [Complete], [CaseId], [responsible]) INCLUDE ([TimeSpent])
GO
CREATE STATISTICS [_dta_stat_1702297124_1_14_6_2_11_3] ON [dbo].[Activities] ([ActivityId], [BlobId], [ActName], [CaseId], [Complete], [FirmId])
GO
CREATE STATISTICS [_dta_stat_1702297124_6_1_14_2_3_5_11] ON [dbo].[Activities] ([ActName], [ActivityId], [BlobId], [CaseId], [FirmId], [ActType], [Complete])
GO
CREATE STATISTICS [_dta_stat_1702297124_6_2_3_5_1] ON [dbo].[Activities] ([ActName], [CaseId], [FirmId], [ActType], [ActivityId])
GO
CREATE STATISTICS [_dta_stat_1702297124_6_2_3_5_11_1] ON [dbo].[Activities] ([ActName], [CaseId], [FirmId], [ActType], [Complete], [ActivityId])
GO
CREATE STATISTICS [_dta_stat_1702297124_5_1_14_6_2_11] ON [dbo].[Activities] ([ActType], [ActivityId], [BlobId], [ActName], [CaseId], [Complete])
GO
CREATE STATISTICS [_dta_stat_1702297124_5_2_11] ON [dbo].[Activities] ([ActType], [CaseId], [Complete])
GO
CREATE STATISTICS [_dta_stat_1702297124_5_11_3] ON [dbo].[Activities] ([ActType], [Complete], [FirmId])
GO
CREATE STATISTICS [_dta_stat_1702297124_14_3_5_1_6] ON [dbo].[Activities] ([BlobId], [FirmId], [ActType], [ActivityId], [ActName])
GO
CREATE STATISTICS [_dta_stat_1702297124_2_5] ON [dbo].[Activities] ([CaseId], [ActType])
GO
CREATE STATISTICS [_dta_stat_1702297124_2_11_3_5_1_14] ON [dbo].[Activities] ([CaseId], [Complete], [FirmId], [ActType], [ActivityId], [BlobId])
GO
CREATE STATISTICS [_dta_stat_1702297124_2_3_5] ON [dbo].[Activities] ([CaseId], [FirmId], [ActType])
GO
CREATE STATISTICS [_dta_stat_1702297124_2_18_11_3_5] ON [dbo].[Activities] ([CaseId], [responsible], [Complete], [FirmId], [ActType])
GO
CREATE STATISTICS [_dta_stat_1702297124_11_1_14_6] ON [dbo].[Activities] ([Complete], [ActivityId], [BlobId], [ActName])
GO
CREATE STATISTICS [_dta_stat_1702297124_11_3] ON [dbo].[Activities] ([Complete], [FirmId])
GO
CREATE STATISTICS [_dta_stat_1702297124_3_5_14_1_6] ON [dbo].[Activities] ([FirmId], [ActType], [BlobId], [ActivityId], [ActName])
GO
CREATE STATISTICS [_dta_stat_1702297124_18_3_5_11] ON [dbo].[Activities] ([responsible], [FirmId], [ActType], [Complete])
GO

----

How can I delete all those entries that read "Create statistics ... bla bla" and leave everything else untouched.  There isnt any place in the Enterprise where I can see this. I got to see this by using a tool to compare to another database and it shows this.
LVL 1
AleksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sventhanCommented:
In SSMS right click on the tables, you'll see create scripts. Choose DROP & Create to generate the script. Please EDIT the script as you like once you generated.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
Any idea where those createstats statements came from ?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Rahul AgarwalTeam LeaderCommented:
HainKurtSr. System AnalystCommented:
use

DROP STATISTICS [_dta_stat_1702297124_1_14_6_2_11_3];
...
DROP STATISTICS [_dta_stat_1702297124_18_3_5_11];

or in one line

DROP STATISTICS [_dta_stat_1702297124_1_14_6_2_11_3],...,[_dta_stat_1702297124_18_3_5_11];


sventhanCommented:
Did you run sp_createstats? This SP might have created.
Rahul AgarwalTeam LeaderCommented:
use

DROP STATISTICS [_dta_stat_1702297124_1_14_6_2_11_3];
...
DROP STATISTICS [_dta_stat_1702297124_18_3_5_11];
AleksAuthor Commented:
It asks me to provide the object name (table)
AleksAuthor Commented:
DROP INDEX [_dta_index_Users_c_11_390292450__K6_K7] ON [dbo].[Users]
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.