If I create the following table:
CREATE TABLE dbo.foo(ID INT, CONSTRAINT foo_ID PRIMARY KEY(ID));
Then in Object Explorer, expand my table > indexes and right-click the constraint, choosing script as > drop and create, I get this script:
ALTER TABLE [dbo].[foo] DROP CONSTRAINT [foo_ID]
ALTER TABLE [dbo].[foo] ADD CONSTRAINT [foo_ID] PRIMARY KEY CLUSTERED
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
This script runs fine. But in Management Studio, if IntelliSense is enabled, I get red squigglies under SORT_IN_TEMPDB = OFF and ONLINE = OFF - both tooltips tell me these are not valid **CREATE** TABLE options.
While the tooltip in isolation is correct, it's out of place in this context - this isn't a CREATE TABLE statement.