Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

24 Experts available now in Live!

Get 1:1 Help Now