Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server CE / January 2008

Tip: Looking for answers? Try searching our database.

Change schema for existing SDF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harry Simpson - 15 Jan 2008 15:59 GMT
Created a SDF in VS2008.  Saved it to VSS and saw that a field was
misspelled.  Welp used Server Explorer in VS2008 to connect to it but could
not modify the schema field names at all.
Then went into SQL 2005 and tried to connect to it and it said if it was CE
3 or later i'd need to run compact/repair on it to be able to open it. All
the help points to programmatic manipulation.  How do I best modify the
field name for an SDF?

TIA
Harry
ErikEJ - 15 Jan 2008 17:34 GMT
In code you must drop the column and add a new one with the correct
spelling.

The "Data Port Console" from www.primeworks-mobile.com allows you to rename
a field from the UI.

Signature

Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com

> Created a SDF in VS2008.  Saved it to VSS and saw that a field was
> misspelled.  Welp used Server Explorer in VS2008 to connect to it but
[quoted text clipped - 6 lines]
> TIA
> Harry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.