Results 1 to 7 of 7

Thread: [RESOLVED] Sql Ce

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Resolved [RESOLVED] Sql Ce

    Ok - quick question...

    I downloaded SQL CE from the MS site (SQLServerCE3 1-EN.MSI) - it installed on my workstation but nothing seems to appear in my START/PROGRAM list.

    I'm guessing this is just so that my app in the VS2005 IDE can use the SQL CE - right? And when I deploy it does it copy the needed dep's and the engine to the PPC?

    How to I create a DB and put that on the PPC - all through the IDE?

    I'm very used to QA and EM from SQL 2000 - I like to scripts all my table objects and what not.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Sql Ce

    Hi
    if you look at http://samples.gotdotnet.com/quickst...pactFramework/ there is a sample of creating a database, and table etc.

    You can also do it through VS2005 and copy it to the device, or RemoteSQLCe from our site allows you to do it, or port existing ODBC databases to SqlMobile. Remember, you can now access and manipulate SDF files on the desktop.

    Writing for SqlMobile is pretty much like the desktop version, excepting that there are no stored procs, triggers etc.

    Also look at SqlCeResultset - it is much faster when retrieving from a SqlMobile database

    HTH

    Pete
    Last edited by petevick; Mar 28th, 2007 at 01:27 AM.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Sql Ce

    Quote Originally Posted by petevick
    Also look at SqlCeResultset - it is much faster when retrieving from a SqlMobile database
    Thanks for the tips...

    I'm doing a read only app - appears that the SqlCeDataReader is probably better then the SqlCeResultSet - right?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: [RESOLVED] Sql Ce

    Hi,
    would still use ceresultset - it is faster

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: [RESOLVED] Sql Ce

    Quote Originally Posted by petevick
    Hi,
    would still use ceresultset - it is faster

    Pete
    Really - bindable and all - scrollable? Going to take a resultset and load it into a control - listview - grid - whatever - and immediately trash that resultset. The MS doc seemed to point me in the direction of the reader...

    What do you base your choice of the ceresultset on?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  6. #6
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: [RESOLVED] Sql Ce

    Hi,
    experience, and discussions with other device developers

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  7. #7

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: [RESOLVED] Sql Ce

    Quote Originally Posted by petevick
    Hi,
    experience, and discussions with other device developers

    Pete
    Thanks - I'll take that under consideration...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width