473,473 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DataBase Programming

I am totally confused between Access, SQL Express, and SQL Server and MSDE
and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
following:

With MSDE installed, I can program using OLEDB in ADO.Net for Access then
convert later to an SQL Express or SQL Server database and my program still
work if I change the connection string.

With MSDE installed, I can program ADO.Net for SQL and it will work for SQL
express or SQL server databases but not for Access databases.

MSDE comes with Windows XP and will also come with Windows Vista
automatically when the operating systems are installed.

The Access Jst Engine comes with Windows XP and will come with Windows Vista
automatically when the operating systems are installed.

If I program with ADO.Net for SQL using a SQL Express database, I can later
convert to SQL Server database and my program will work with out
modificaitons.

Please, would someone tell me if the above is True or False and if False,
what is the real story.

--
Dennis in Houston
Jun 13 '06 #1
5 1899

"Dennis" <De****@discussions.microsoft.com> wrote in message
news:2D**********************************@microsof t.com...
I am totally confused between Access, SQL Express, and SQL Server and MSDE
and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
following:

With MSDE installed, I can program using OLEDB in ADO.Net for Access then
convert later to an SQL Express or SQL Server database and my program
still
work if I change the connection string.
False. The engines are different, and the SQL dialicts are different.

With MSDE installed, I can program ADO.Net for SQL and it will work for
SQL
express or SQL server databases but not for Access databases.

True.
MSDE comes with Windows XP and will also come with Windows Vista
automatically when the operating systems are installed.

False. MSDE and it's replacement SQL Server 2005 Express Edition are
availible for free download, and can be redistributed with custom
applications.
The Access Jst Engine comes with Windows XP and will come with Windows
Vista
automatically when the operating systems are installed.
False, I think. The Jet Engine used to be included in MDAC, which is part
of the OS now. But it was removed. So unless some other
installed-by-default product installs Jet, it may not be there.
If I program with ADO.Net for SQL using a SQL Express database, I can
later
convert to SQL Server database and my program will work with out
modificaitons.


True. SQL Express _is_ SQL Server.

David

Jun 14 '06 #2
Dennis,

Almost everything you wrote seems for me a wrong perception, therefore this
text.

Access is in fact the MS-Office Access system that has used in past forever
the Jet engine.
That Jet engine is usable using the MDAC parts which are delivered now
standard with XP SP2.

Those parts are just some DLL's with what you can access a Jet "MDB" file on
your disk(s) using SQL commands. You can create that file yourself using
ADODB.

SQLServer is the Database server from Microsoft. It is as well a file,
however only accessible by a windowservice.

The SQLServer has been downsized and given for free. In past this were two
versions named MSDE. One was a kind of Office add on, while the later was
downloadable and fit inside SQL server pack 3. Both were a hell to install
and to manage (while it is not almost clear for which version the
documentation is on MSDN).

Those two MSDE versions are replaced by SQLExpress. The install part is
better but the managing has still to be done by a beta management tool (if
you don't have a full SQL package). I did not try it but that beta tool
seems to be fine.

The MSDE and SQLExpress versions are downsized and therefore limited in use.
This limiting is by instance about the total size of a database (you can
have more databases on one server) and the concurrent connections.

The windowservice to access those databases is very extended and reachable
from very much places as long as you have the correct connection string. In
past the connection string did not tell anything about the place where the
actual Data was stored, but because for stand alone installations is this
changed for SQLExpress.

MS-Office (including Access) can use the Jet engine and the SQL server as a
database.

I hope this gives an idea,

Cor

"Dennis" <De****@discussions.microsoft.com> schreef in bericht
news:2D**********************************@microsof t.com...
I am totally confused between Access, SQL Express, and SQL Server and MSDE
and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
following:

With MSDE installed, I can program using OLEDB in ADO.Net for Access then
convert later to an SQL Express or SQL Server database and my program
still
work if I change the connection string.

With MSDE installed, I can program ADO.Net for SQL and it will work for
SQL
express or SQL server databases but not for Access databases.

MSDE comes with Windows XP and will also come with Windows Vista
automatically when the operating systems are installed.

The Access Jst Engine comes with Windows XP and will come with Windows
Vista
automatically when the operating systems are installed.

If I program with ADO.Net for SQL using a SQL Express database, I can
later
convert to SQL Server database and my program will work with out
modificaitons.

Please, would someone tell me if the above is True or False and if False,
what is the real story.

--
Dennis in Houston

Jun 14 '06 #3
Thanks for your reply...I do understand the difference between access and SQL
Server but wasn't clear on what I could do and what I need to supply when I
distributed an application. When I wrote an application with an access
database, I could rely on the user's machine to have the Jet engine if he had
almost any windows operating system but from one reply I got, it seems that
the Jet engine won't be installed automatically with "Vista".

Maybe you could clear up a couple of more questions I have:

If I write an application using an SQL database, then any user wanting to
run my application will have to have SQL Express or SQL server installed..is
this correct?

Can I use ADO.Net with the OLEDB Class for SQL databases?

Thanks Cor for your help.
--
Dennis in Houston
"Cor Ligthert [MVP]" wrote:
Dennis,

Almost everything you wrote seems for me a wrong perception, therefore this
text.

Access is in fact the MS-Office Access system that has used in past forever
the Jet engine.
That Jet engine is usable using the MDAC parts which are delivered now
standard with XP SP2.

Those parts are just some DLL's with what you can access a Jet "MDB" file on
your disk(s) using SQL commands. You can create that file yourself using
ADODB.

SQLServer is the Database server from Microsoft. It is as well a file,
however only accessible by a windowservice.

The SQLServer has been downsized and given for free. In past this were two
versions named MSDE. One was a kind of Office add on, while the later was
downloadable and fit inside SQL server pack 3. Both were a hell to install
and to manage (while it is not almost clear for which version the
documentation is on MSDN).

Those two MSDE versions are replaced by SQLExpress. The install part is
better but the managing has still to be done by a beta management tool (if
you don't have a full SQL package). I did not try it but that beta tool
seems to be fine.

The MSDE and SQLExpress versions are downsized and therefore limited in use.
This limiting is by instance about the total size of a database (you can
have more databases on one server) and the concurrent connections.

The windowservice to access those databases is very extended and reachable
from very much places as long as you have the correct connection string. In
past the connection string did not tell anything about the place where the
actual Data was stored, but because for stand alone installations is this
changed for SQLExpress.

MS-Office (including Access) can use the Jet engine and the SQL server as a
database.

I hope this gives an idea,

Cor

"Dennis" <De****@discussions.microsoft.com> schreef in bericht
news:2D**********************************@microsof t.com...
I am totally confused between Access, SQL Express, and SQL Server and MSDE
and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
following:

With MSDE installed, I can program using OLEDB in ADO.Net for Access then
convert later to an SQL Express or SQL Server database and my program
still
work if I change the connection string.

With MSDE installed, I can program ADO.Net for SQL and it will work for
SQL
express or SQL server databases but not for Access databases.

MSDE comes with Windows XP and will also come with Windows Vista
automatically when the operating systems are installed.

The Access Jst Engine comes with Windows XP and will come with Windows
Vista
automatically when the operating systems are installed.

If I program with ADO.Net for SQL using a SQL Express database, I can
later
convert to SQL Server database and my program will work with out
modificaitons.

Please, would someone tell me if the above is True or False and if False,
what is the real story.

--
Dennis in Houston


Jun 15 '06 #4
Thanks for answers...just a couple of clarifiying questions:

I thought that you could use the ADO.Net OLEDB class to program access to
SQL databases...is this not correct?

If the jet engine won't be installed by Vista Operating system, then any
application that I write using either an Access or SQL database that will be
installed on another user's computer must also install either the Jet Engine
or SQL on the users machine if he is running Vista (unless he has already
installed same)? Is this correct
--
Dennis in Houston
"David Browne" wrote:

"Dennis" <De****@discussions.microsoft.com> wrote in message
news:2D**********************************@microsof t.com...
I am totally confused between Access, SQL Express, and SQL Server and MSDE
and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
following:

With MSDE installed, I can program using OLEDB in ADO.Net for Access then
convert later to an SQL Express or SQL Server database and my program
still
work if I change the connection string.


False. The engines are different, and the SQL dialicts are different.

With MSDE installed, I can program ADO.Net for SQL and it will work for
SQL
express or SQL server databases but not for Access databases.


True.
MSDE comes with Windows XP and will also come with Windows Vista
automatically when the operating systems are installed.


False. MSDE and it's replacement SQL Server 2005 Express Edition are
availible for free download, and can be redistributed with custom
applications.
The Access Jst Engine comes with Windows XP and will come with Windows
Vista
automatically when the operating systems are installed.

False, I think. The Jet Engine used to be included in MDAC, which is part
of the OS now. But it was removed. So unless some other
installed-by-default product installs Jet, it may not be there.
If I program with ADO.Net for SQL using a SQL Express database, I can
later
convert to SQL Server database and my program will work with out
modificaitons.


True. SQL Express _is_ SQL Server.

David

Jun 16 '06 #5
Dennis,

Inline the answers,
....

If I write an application using an SQL database, then any user wanting to
run my application will have to have SQL Express or SQL server
installed..is
this correct?
No only on one computer working as Server, the users needs of course to
have rights to connect to that SQLServer either by integrated windows
authority or special SQLServer authority. And they share of course the data,
therefore the concurrency routines should be correct. (You can of course as
well install on every computer an SQLExpress database for standalone
purpose. But you wrote will have to have.)
Can I use ADO.Net with the OLEDB Class for SQL databases?
You can use OLEDB, however that gives a loss on performance while probably
the only thing you have to change in your program is everywhere the prefix
OleDB by SQL (And than the right imports). The only difference I know are
the parameters, OleDB has no named parameters while SQLClient needs them. If
you have used parameters in OleDB as @Dennis, than you have in fact used
SQLClient parameters. This is a flaw in the MSDN documentation but can be in
your advance. The other difference I know is the way an update sets the
autokeynumbers in the dataset. That is done by SQLClient and not by OleDB.

I hope this gives an idea,

Cor
Thanks Cor for your help.
--
Dennis in Houston
"Cor Ligthert [MVP]" wrote:
Dennis,

Almost everything you wrote seems for me a wrong perception, therefore
this
text.

Access is in fact the MS-Office Access system that has used in past
forever
the Jet engine.
That Jet engine is usable using the MDAC parts which are delivered now
standard with XP SP2.

Those parts are just some DLL's with what you can access a Jet "MDB" file
on
your disk(s) using SQL commands. You can create that file yourself using
ADODB.

SQLServer is the Database server from Microsoft. It is as well a file,
however only accessible by a windowservice.

The SQLServer has been downsized and given for free. In past this were
two
versions named MSDE. One was a kind of Office add on, while the later was
downloadable and fit inside SQL server pack 3. Both were a hell to
install
and to manage (while it is not almost clear for which version the
documentation is on MSDN).

Those two MSDE versions are replaced by SQLExpress. The install part is
better but the managing has still to be done by a beta management tool
(if
you don't have a full SQL package). I did not try it but that beta tool
seems to be fine.

The MSDE and SQLExpress versions are downsized and therefore limited in
use.
This limiting is by instance about the total size of a database (you can
have more databases on one server) and the concurrent connections.

The windowservice to access those databases is very extended and
reachable
from very much places as long as you have the correct connection string.
In
past the connection string did not tell anything about the place where
the
actual Data was stored, but because for stand alone installations is this
changed for SQLExpress.

MS-Office (including Access) can use the Jet engine and the SQL server as
a
database.

I hope this gives an idea,

Cor

"Dennis" <De****@discussions.microsoft.com> schreef in bericht
news:2D**********************************@microsof t.com...
>I am totally confused between Access, SQL Express, and SQL Server and
>MSDE
> and OLEDB vs SQL in .net. Please someone tell me if I"m correct in the
> following:
>
> With MSDE installed, I can program using OLEDB in ADO.Net for Access
> then
> convert later to an SQL Express or SQL Server database and my program
> still
> work if I change the connection string.
>
> With MSDE installed, I can program ADO.Net for SQL and it will work for
> SQL
> express or SQL server databases but not for Access databases.
>
> MSDE comes with Windows XP and will also come with Windows Vista
> automatically when the operating systems are installed.
>
> The Access Jst Engine comes with Windows XP and will come with Windows
> Vista
> automatically when the operating systems are installed.
>
> If I program with ADO.Net for SQL using a SQL Express database, I can
> later
> convert to SQL Server database and my program will work with out
> modificaitons.
>
> Please, would someone tell me if the above is True or False and if
> False,
> what is the real story.
>
> --
> Dennis in Houston


Jun 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: aus7in | last post by:
Hello, I am a newbie to database programming in VB. Could any of you please recomend a good book for tutorial/reference? Thanks Austin
1
by: anandakumarpc | last post by:
I'm just learning PHP. I would like to know if database programming in PHP can be done using MS-Access. Can any one help me with complete example codes please.
0
by: Jeff Louie | last post by:
Answer: Yes you can do RAD client server database programming in C# using Windows Forms. Proof of Concept at: http://www.geocities.com/jeff_louie/windows_forms.htm Regards, Jeff *** Sent...
3
by: Alan | last post by:
I am coming from other programming tools field, and new to VB .NET. Just wondering what is the common approaching in database programming in VB .NET? 1) Are you guru always using the data aware...
3
by: jaYPee | last post by:
i am searching a lot of resources in the net that discusses about database programming. i'm still searching on it and would like to received any links that discusses about database programming in...
3
by: molemoore | last post by:
I just started programming VB.NET with databases. Im using Access 2003 databases in my projects. My question is: I've been able to find plenty of info on using bound controls with the odbda...
2
by: smartie_zhuo | last post by:
Hi,There Recently ,I bought "Beginning Visual Basic 6 Database Programming" by John Connell from second book store,According to book,I should download source code from Wrox website,But I cann't...
0
by: alicek | last post by:
Hi, I am working on a database conversion project which needs me to write both client and server side non-blocking socket in C#. The socket sitting on the client side needs to keep listening...
1
by: Matheus Mumbala | last post by:
Can anyone please try and help me with this project Background ABC Mining Ltd is a company operating in the mining industry. The company was hard hit by the current economic recession. In order...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.