Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Database

SQL Server Everywhere: Just Another Database?


Scott is a consultant specializing in convergence of current and emerging technologies. Scott can be contacted at [email protected].

With the release of SQL Server Everywhere Edition looming on the horizon, Scott Swigart was able to sit down with Mark Jewett, Senior Product Manager of the SQL Server Team, and Steve Lasker, Program Manager and Technical Lead, to find out what's what with the new database engine.

DDJ: Microsoft is coming out with SQL Server Everywhere Edition. What is it and why do we need yet another database?

MJ: SQL Server Everywhere Edition is, very simply, a database designed for a client environment, for client applications. First, it's only about 1.5 MB and when you compare that to other SQL Server products, it's a very small footprint, which also makes it easy to download. Second, it runs in-process. The end user of the application doesn't even need to be aware that there's a database. It just operates seamlessly within that application. Third, everything developers know about SQL Server today is applicable knowledge; in other words, the T-SQL and objects that you are familiar with if you use SQL Server today. You have many of those same things with SQL Server Everywhere Edition.

SL: When we started to go public with what we're doing with SQL Server Everywhere Edition, people said, "Oh, great, that's exactly what I wanted," and then often the very next question was, "How do I synchronize with the data store?" Everyone wants one big database that stores everything, but that never happens. Most companies can't even consolidate where they have their list of phone numbers, much less consolidate all the data. Once you accept that you're going to have many databases within an organization, the question is, how do you get those disparate data islands to communicate? That goes back to the synchronization strategies we're working on with SQL Server Everywhere Edition.

DDJ: There are some applications that are never going to synchronize with SQL Server, but there are a lot of applications that want to work offline and sync, or just want to cache local data for performance. What are some of the SQL Server Everywhere Edition features that support those scenarios?

SL: When using SQL Server Everywhere Edition, it's focused on having the proper subset of the SQL Server product features. From day one, it's used a subset of the T-SQL language. The technologies that developers may need to deal with are growing at an exponential rate. The number of technologies that we deal with inside of Microsoft is growing exponentially. Developers can't keep up with 15 ways to do the same task. But, if you can use the same skills when you start with the client, and move to the server, that helps keep developers productive. That's where SQL Server Everywhere Edition takes off. It uses the T-SQL syntax and the ADO.NET programming model. It's a subset of the SQL Server feature set.

Now, when data gets spread out in the field, how do you roll it up in the central store? If you have data in the central store, how do you push it out to the field? How do we make that easy? One part of the answer is that SQL Server Everywhere Edition has a subset of the SQL Server data types. So we don't have the data conversion issues that you would have with Jet or other local database options. For example, we have nchar and nvarchar. SQL Server has data types like XML, which SQL Server Everywhere Edition doesn't yet support, and in that case, we convert it to NTEXT. We don't lose any of the data, we just don't have the XQuery functionality in SQL Server Everywhere Edition that you have with SQL Server 2005.

Once we get past what we're doing with our 3.1 release, we'll build on that in our 3.5 release with a new set of synchronization components. The synchronization components will also have a better together story with SQL Server, even though they will let you sync with other back ends. You'll be able to leverage your existing ADO.NET knowledge, and extend that with a component model that does synchronization. We're referring to that as our "synchronization framework." If you think about ADO.NET DataAdapters, we'll be shipping SyncAdapters which let you compose together a synchronization infrastructure between a server and the client.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.