Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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