Solved

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

Posted on 2012-03-23
3
345 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 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