SQL Server CE instead of SQL Server Express
NickName:Jacek Wojcik Ask DateTime:2014-12-29T00:13:37

SQL Server CE instead of SQL Server Express

When creating a new ASP.NET MVC application in VS2010 you get Account (Simple Membership Database) database in SQL Server Express format.

Since I have problems with database migration / configuration on my remote host I decided to switch to SQL Server CE.

Question: how can I migrate from SQL Server Express to SQL Server CE? Tried to re-create tables from SQL Server Express in SQL Server CE but my approach to create names starting with 'dbo.' i.e. failed (used CompactView software)

CREATE TABLE [dbo].[webpages_UsersInRoles]
(
    [UserId] [int] NOT NULL,
    [RoleId] [int] NOT NULL
);

So I created tables without 'dbo.' and it does not work.

Question: what is the best approach to migrate a simple membership database from SQL Server Express to SQL Server CE?

Question2: Is migration from SQL Server Express to SQLite easy?

Thank you!

Copyright Notice:Content Author:「Jacek Wojcik」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/27678188/sql-server-ce-instead-of-sql-server-express

More about “SQL Server CE instead of SQL Server Express” related questions

SQL Server CE instead of SQL Server Express

When creating a new ASP.NET MVC application in VS2010 you get Account (Simple Membership Database) database in SQL Server Express format. Since I have problems with database migration / configur...

Show Detail

Move from SQL Server CE to SQL Server Express

I just wrote a large program using SQL Server Express and was very happy, the difficulty is that it is difficult for customers to install SQL Server to test the program out. I looked into SQL Se...

Show Detail

Is SQL Server Express DB replacement for SQL Server CE Compact Edition?

SQL Server CE Compact Edition has officially passed the extended end support date: https://learn.microsoft.com/en-us/lifecycle/products/microsoft-sql-server-compact-40 is SQL Server Express LocalDB a

Show Detail

Is SQL Server Express DB replacement for SQL Server CE Compact Edition?

SQL Server CE Compact Edition has officially passed the extended end support date: https://learn.microsoft.com/en-us/lifecycle/products/microsoft-sql-server-compact-40 is SQL Server Express LocalDB a

Show Detail

Understand localDB is relation to SQL Server Express and SQL Server CE

I'm trying to understanding LocalDB by reading MSDN: SQL Server 2016 Express LocalDB and MSDN: SQL Server Express LocalDB and SQL Server Express and a number of SO posts including confusion about SQL

Show Detail

Using SQL Server CE and SQL Server Express

I have an app which currently uses SQL Server CE, and the schema is in a .sdf file. Now we want to allow it to connect to a SQL Server Express edition based on some mode. I have a couple of quest...

Show Detail

Why this code works for SQL Server Express but *not* SQL Server CE?

I get a NullReferenceException when my target provider is SQL Server CE, but with SQL Server Express it works. I get the exception on the return... when I'm trying to access the Comments. Model is ...

Show Detail

Import from SQL Server Express into SQL Server CE

I'm using SQL Server 2005 Express as a database in my desktop application. My question is how to import from that database (which include table and stored procedure) into SQL Server CE. Regards,

Show Detail

SQL Server CE convert to SQL Server Express Website publishing strategy? Using Umbraco and getting started

I am looking to convert from SQL Server CE to SQL Server 2012 (or 2016) for my Umbraco project, but I am unsure what the best strategy is for deployment. I have a godaddy plesk server that runs SQL

Show Detail

Switching from SQL Server CE to SQL Server Express entity issue

My application uses SQL Server Ce for the database and Entity Framework as the ORM. Now I'm trying to switch to SQL Server Express but I'm having trouble doing so. UPDATE So after banging my head...

Show Detail