Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.
jayram11 Yak Posting Veteran
97 Posts
tkizer Almighty SQL Goddess
38200 Posts
marcodelphi Starting Member
4 Posts
ALTER TABLE [dbo].[table1]DROP CONSTRAINT [PK__table1]
ALTER TABLE [dbo].[table1]ADD CONSTRAINT [PK__table1] PRIMARY KEY CLUSTERED ([col1,col2])WITH ( PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)ON [PRIMARY]GO
SQLTeam.com Articles via RSS
SQLTeam.com Weblog via RSS
- Advertisement -
Articles
Forums
Blogs
Contact Us
About the Site