Groups | Blog | Home
all groups > sql server clustering > june 2005 >

sql server clustering : Creating a unique index on a table


Robert
6/15/2005 1:04:03 AM
Hi,

I'm trying to create an index on a newly created table. I want the index to
be on the field ref. I tried running:


CREATE INDEX ref ON U_segment (ref)

but it's just sitting there! The ref is unique anyway, and there are about
700,000 records.

Any help, or advice would be appreaciated.

Regards
Andrew J. Kelly
6/15/2005 7:17:47 AM
Did you look to see if you are being blocked?

--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

Kevin3NF
6/15/2005 7:48:00 AM
Does it run and stop, or what?

I wonder if having the index name and the column name the same is the
issue...try

CREATE INDEX IX_ref ON U_segment (ref)


--
Kevin Hill
President
3NF Consulting

www.3nf-inc.com/NewsGroups.htm

www.DallasDBAs.com/forum - new DB forum for Dallas/Ft. Worth area DBAs.

www.experts-exchange.com - experts compete for points to answer your
questions


[quoted text, click to view]

AddThis Social Bookmark Button