Is there anyway to create an SQL Server CE Database on the pc desktop, and also a way of taking the SQL Server CE Database from the pda to the desktop using a method other than replication??
Is there anyway to create an SQL Server CE Database on the pc desktop, and also a way of taking the SQL Server CE Database from the pda to the desktop using a method other than replication??
You cannot create a CE database on the desktop. You can use RDA (Remote Data Access) to keep a desktop SQL Server db in sync with a CE db. That is what I'm doing. Here is what I did for my app: 1) Create the database I want on desktop SQL Server. Remember not to use stored procs or views as they are not supported on SQLCE. 2) Add any initial data I want into the desktop SQL Server database. 3) In my PPC app, I then use SQLCE and do a CreateDatabase to create a database on the PPC device. 4) I then use RDA and connect to my desktop database and pull all the tables down to my SQLCE database. 5) I then reset my identity columns as they don't come down with RDA. That's it. The app can then use the SQLCE database. You can then use RDA again to push any changes made on the SQLCE db to your desktop DB. I do this so that my desktop database remains my "master" db. HTH, Mark
so, I'm interested in what you're saying about stored procedures on the desktop DB. Is it really impossible to use stored proc on the server even if my SqlCe doesn't try to use them. I mean, when doing the RDA, where is the prob with stored proc if RDA only copy tables to the SqlCe. I'm quite a beginner in developping C# for mobile but I have a huge solution to make before soon. My databses on the server are already created and use stored procs. You make me nervous by telling me it won't work !! ;-) thanks for explaining me in details how all that work. bye use RDA (Remote Data db. That is what Remember not to use Server database. CreateDatabase to create a pull all the tables down with RDA. can then use RDA desktop DB. I do this from the
No no. Sorry to confuse you. You can use sp and views on the desktop database. You just can't use them on the CE database (on the PDA). So, your PDA app has to be able to work without relying on stored procs or views.
1.Accessing a sql server ce database on a PDA from a desktop applica
Hi, is there a possibility to access a sql server ce databse on a pocket pc through a desktop application (pda is connected via active sync). Applications developed with .Net an Visual Basic Cheers, Egils
2.sql server ce desktop database designer application
greetinns does anyone know any visual desktop program that we can use to create databases and generate the SQL to use on a sql server ce to create the pocket database? thanks almeida
3.How to transfer SQL CE database (sdf) to SQL Server database (mdf)
Hello I have SQL CE database (.sdf file) and want to transfer it to MS SQL Server 2000 (.mdf file). Is there any solution to do it in relatively simple way (without creating database with corresponding tables on SQL Server 2000). My setup is: - SQL Server CE database with a number of tables - SQL Server 2000 database without tables (empty) With RDA it isn't possible, because it works according to pull-push principe. With no tables in SQL Server 2000 one cannot do pull. What about Merge Replication or any other solution? My device is out of order, so any solution related to using ActiveSync is not for me. Thanks in advance. Pavel.
4.problem connecting from desktop to sql mobile database on pda
hi there, i cant get it to connect, i added the reference to System.Data.SQLServerCE.dll, and using the following code (IP is pinged and working okay) ------------ string DATABASE_CONN = "Data Source = \\\\192.168.1.107\\My Documents\\OrdersDB.sdf"; SqlCeConnection conn = new SqlCeConnection(DATABASE_CONN); conn.Open(); ------------ any help appreciated. thanks, Paul
5.How to build SQL CE Database on desktop?
Hi, All, How to build SQL CE Database on desktop? e.g. if I need build 10 different SQL CE databases on desktop, is there any way to do it in batch? Any ideas are welcome. Thanks in advance. -Hank
6. Reading a SQL Ce Database from a desktop machine
7. Database Migration From SQL Server8.0 to Sql server ce 2.1
Users browsing this forum: No registered users and 17 guest