Re: Sql Mobil (SqlCE 3.0) and Full Framework

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Ader,

For starters, make sure you try SQL 2005 Management Studio against your SQL
Mobile database. (You can target a local instance on your desktop computer
or one on an Activesync-connected device.) You can do most of the things
you're used to doing with regular SQL Server using Management Studio such as
queryies, analyzing query plans, defining and refining the database, etc. Of
course features like stored procecures an triggers which aren't supported by
SQL Mobile won't work.

Programmatically, you target SQL Mobile in your desktop app just as you
would on the device *except* you bring in a reference to the desktop version
of SqlServerCe.dll. When you create a desktop app and you select Add
Reference from Visual Studio, the correct version of Microsoft SQL Mobile
should be listed for you in the Add Reference dialog on the .NET tab and not
the one for mobile devices. Give it a try and let me know if you have
problems finding the right DLL - but I'll probably off-line for the next few
days.

--
Ginny Caughey
..NET Compact Framework MVP


"gonzalez" <none@xxxxxxxxxxxxxx> wrote in message
news:OJmkU8ACGHA.2912@xxxxxxxxxxxxxxxxxxxxxxx
>I understand that, and I don't plan to deploy it to a desktop due to
>licencing limitations... My only interest is
> to be able to build and troubleshoot the database on the desktop. We have
> a complex requirement to build
> a large SqlServer DB, but in order to be able to fit it on the PPC, we
> need to transform it to reduce it to a
> manageable size, and just put just the info the user needs on it, that
> would be done on our server backend,
> and then the sql ce db will be deployed to the Pocket PC device where it
> would be used.
>
> Can you tell me how I can use the full framework? the SqlServerCe ADO.Net
> provider doesn't work on the desktop.
>
> Thanks Ginny,
> --Ader.
>
> PS.
> I'm currently using replication to build the db manually, but to get the
> DB to a manageable size, I have drop all the rowguid id's and replication
> related tables before we ca put it on the device or it won't fit on most
> of our user devices. And the current process it's a pain, so I'm looking
> for a way to automate it either with my own server tool (full framework)
> or using SQL IS (DTS) services.
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@xxxxxxxxxxxxxx> wrote in
> message news:OOTlAFACGHA.3936@xxxxxxxxxxxxxxxxxxxxxxx
>> Ader,
>>
>> In order to use SQL Mobile with .NET 2.0 on the desktop, you must either
>> be running on a development machine or on a TabletPC. It's not available
>> as a normal client database except on TabletPC operating system.
>>
>> --
>> Ginny Caughey
>> .NET Compact Framework MVP
>>
>>
>> "gonzalez" <none@xxxxxxxxxxxxxx> wrote in message
>> news:e3kmqg$BGHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
>>>I heard that it's possible to use Sql Mobil with the full .NET framework
>>>2.0 from the desktop. Can somebody point me in the right direction where
>>>I can find more info?
>>>
>>> Thanks,
>>> --Ader.
>>>
>>
>>
>
>


.



Relevant Pages

  • !!!Attention SQL Server 2005 Gurus :: Management Studio problems!!!
    ... I use Management Studio to develop/maintain a SQL Server 2000 database ... What is the equivalent Management Studio action for the following SQL ... SQL Query Analyzer 2000 has an option to "Script object-level ...
    (microsoft.public.sqlserver)
  • Re: SQL CE and unknown databasefile
    ... the older devices can only handle SQL CE 2.0, but SQL Mobile is the same is SQL CE 3.0, and the databases are somewhat different. ... The database file cannot be found. ... >>> Whether i can copy the database to target using Active Sync. ...
    (microsoft.public.sqlserver.ce)
  • Re: Making the Step from embedded VB to .NET CF and problems with databases
    ... old sync solution and upgrade to a muche better device database. ... software for PocketPC 2002 till Windows Mobile 5.0. ... old system of data exchange PC to PocketPC and vice versa. ... none of our customers got a SQL Server running. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Stop the madness - please help?
    ... I am completely new to Mobile Development. ... I plan to develop my application in C# and use SQL CE to store the data. ... JET database design but how do you set it up and use it. ... will install the Service pack tonight. ...
    (microsoft.public.pocketpc.developer)
  • Re: SQL Mobile 2005 better performance ?
    ... You need SQL 2005 Management Studio, which comes with SQL 2005 Developer. ... You connect to your SQL Mobile database, then run a query. ...
    (microsoft.public.sqlserver.ce)