Solved

Error Message using VS 2008 Professional edition SP 1 and SQL Server Compact edition 3.5:

Posted on 2012-03-23
3
341 Views
Last Modified: 2012-03-26
The CREATE INDEX SQL construct or statement is not supported.

VS 2008 Professional Hotfix KB 968436 SQL Compact

Query run:
CREATE UNIQUE INDEX bobIndex ON bobaadr(segid)

Microsoft says it should work?

http://msdn.microsoft.com/en-us/library/ms345331%28v=sql.100%29.aspx

Thank you any help
0
Comment
Question by:bobcann
3 Comments
 
LVL 7

Assisted Solution

by:tipsybroom
tipsybroom earned 100 total points
ID: 37758963
did you try it in sql server management studio?

is the database created with sql serverCE 3.5 SP1? if not it could be, that the database version dont supports this.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 400 total points
ID: 37765062
Notice the following bit in that article

NONCLUSTERED
Creates an index that specifies the logical ordering of a table. With a nonclustered index, the physical order of the data rows is independent of their indexed order. This is the only supported index type.  (The default is NONCLUSTERED)
0
 

Author Closing Comment

by:bobcann
ID: 37766401
Thanks, guys.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now