473,704 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple way of telling if I'm using MSDE or full SQL Server?


I'm looking for a simple way of telling (inside a stored procedure) if I'm
currently using MSDE or a full SQL server. Ideally, there is some
pre-defined environment variable that won't cause me too much overhead. The
reason I'm doing this is because my system "rolls over" databases when it
reaches the 2Gb limit with MSDE, but obviously I want to avoid this overhead
if the user installs onto a full SQL server instance.

Thanks

Robin
Jul 23 '05 #1
5 3498
Hi Robin,

Use the SQL statement:

select @@version

if it is MSDE it should have "...Desktop Engine..." in the returned
string, as opposed to eg "...Standar d Edition..." on a "Standard"
install. (check to see what yours returns)

Hope this helps!

Paul.

Jul 23 '05 #2
Robin,

There is no 2GB database size limit in MSDE. That's just a rumor. It
simply has less features and a query governor.

Danny
<p_**********@h otmail.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Hi Robin,

Use the SQL statement:

select @@version

if it is MSDE it should have "...Desktop Engine..." in the returned
string, as opposed to eg "...Standar d Edition..." on a "Standard"
install. (check to see what yours returns)

Hope this helps!

Paul.

Jul 23 '05 #3
In article <Go************ *****@newssvr17 .news.prodigy.c om>,
is****@flash.ne t says...
Robin,

There is no 2GB database size limit in MSDE. That's just a rumor. It
simply has less features and a query governor.


Try again, directly from MS:
http://msdn.microsoft.com/library/de...l=/library/en-
us/replsql/replimpl_89cy.a sp

The following limitations are MSDE 2000 limitations that can impact
replication:

* MSDE 2000 limits the size of the database to 2 gigabytes (GB). If MSDE
2000 is part of the replication topology, the size of the replicated
database is limited to 2 GB. If MSDE 2000 is the Subscriber, replication
agents fail after the database exceeds 2 GB. At that point, consider
upgrading the Subscriber to SQL Server Standard Edition.

* MSDE 2000 includes a workload governor, which starts slowing down the
database engine when more than eight operations are actively running at
the same time. The workload governor can affect replication performance.
In an active replication environment where there are a large number of
Subscribers, Microsoft recommends that you use either SQL Server
Standard Edition or Enterprise Edition as the Publisher or Distributor
instead of MSDE 2000.

http://msdn.microsoft.com/vstudio/do...examining.aspx

Q. How much data can MSDE 1.0 store?

A. MSDE 1.0 databases are limited to 2 gigabytes (GB) of data. This
limit is per database, and not per server, so a single MSDE server can
support multiple MSDE databases, each containing up to the 2 GB limit.
If you anticipate that your database is currently or will grow beyond 2
GB, consider upgrading to Microsoft SQL Server=3F 2000 Standard Edition
for a more scalable database platform on which to build.

--
--
sp*********@rro hio.com
(Remove 999 to reply to me)
Jul 23 '05 #4
Thanks for the tip :-p

"Leythos" <vo**@nowhere.o rg> wrote in message
news:MP******** *************** *@news-server.columbus .rr.com...
In article <Go************ *****@newssvr17 .news.prodigy.c om>,
is****@flash.ne t says...
Robin,

There is no 2GB database size limit in MSDE. That's just a rumor. It
simply has less features and a query governor.


Try again, directly from MS:
http://msdn.microsoft.com/library/de...l=/library/en-
us/replsql/replimpl_89cy.a sp

The following limitations are MSDE 2000 limitations that can impact
replication:

* MSDE 2000 limits the size of the database to 2 gigabytes (GB). If MSDE
2000 is part of the replication topology, the size of the replicated
database is limited to 2 GB. If MSDE 2000 is the Subscriber, replication
agents fail after the database exceeds 2 GB. At that point, consider
upgrading the Subscriber to SQL Server Standard Edition.

* MSDE 2000 includes a workload governor, which starts slowing down the
database engine when more than eight operations are actively running at
the same time. The workload governor can affect replication performance.
In an active replication environment where there are a large number of
Subscribers, Microsoft recommends that you use either SQL Server
Standard Edition or Enterprise Edition as the Publisher or Distributor
instead of MSDE 2000.

http://msdn.microsoft.com/vstudio/do...examining.aspx

Q. How much data can MSDE 1.0 store?

A. MSDE 1.0 databases are limited to 2 gigabytes (GB) of data. This
limit is per database, and not per server, so a single MSDE server can
support multiple MSDE databases, each containing up to the 2 GB limit.
If you anticipate that your database is currently or will grow beyond 2
GB, consider upgrading to Microsoft SQL Server=3F 2000 Standard Edition
for a more scalable database platform on which to build.

--
--
sp*********@rro hio.com
(Remove 999 to reply to me)

Jul 23 '05 #5
Robin Tucker (id************ *************@r eallyidont.com) writes:
I'm looking for a simple way of telling (inside a stored procedure) if
I'm currently using MSDE or a full SQL server. Ideally, there is some
pre-defined environment variable that won't cause me too much overhead.
The reason I'm doing this is because my system "rolls over" databases
when it reaches the 2Gb limit with MSDE, but obviously I want to avoid
this overhead if the user installs onto a full SQL server instance.


This should cut it:

select serverproperty( 'Edition')
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #6

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

Similar topics

1
5470
by: Craig HB | last post by:
I have a distributed inventory control database that I am going to migrate from Access to SQL Server. I am going to use SQL Server Replication to keep the data current. There will one SQL Server 2000 database at HeadOffice, and about 200 branches will each have MSDE 2000. For tables that are the same for each branch (e.g. StockItems, Suppliers), I'm going to use Transactional replication with the HeadOffice as Publisher. There is no...
5
8430
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows 2000. One of them is full SQL Server, another is msde. When transaction log is full in full SQL Server error 9002 severity 17 state 2 is logged in sql server log and in Windows Application log. My alert firing my job. All is fine. But when...
3
10582
by: bryja_klaudiusz[at]poczta[dot]fm | last post by:
Hi, How to automate database backup (MSDE server v8.0)? Is some free tool which can help on this or can I use some stored procedure? Plan: Complete - 1 per week Differential - 1 per day -- *Best regards,* Klaudiusz Bryja
1
1324
by: JIMMIE WHITAKER | last post by:
Can MSDE be used on computer in different cities? Say the server in Dallas and the client computer in Houston. Or is the full SQL Server required?
0
1111
by: reinier | last post by:
Hello MSDE'ers, First a happy newyear without to much problems, whatsoever! Sofar I am not able to create a SQLdatabase, on an other computer, using a simple network. I am using VB.NET v2003 (Server explorer) & MSDE, downloaded from: http://www.microsoft.com/downloads/details.aspx? FamilyId=A0DAC778-60A6-4B11-8AA8-
2
1514
by: jinksk | last post by:
I am brand new to .NET. For that matter, so is my whole corporation, hence this dumb question. How can I set-up MSDE or SQL Server Desktop to work with VS.NET and the various development languages. Only one person here has any access to the MS SQL packages and getting him to due anything is like trying to give a wolverine a root canal! They have made me the project lead for all future development in .NET (the guy they had on it quit last week...
3
2534
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together with MSDE (if not already installed), and the MSDE application DB. How can I detect if MSDE is already installed?? Has anyone does this?? How??
8
1584
by: 1qa2ws | last post by:
Hi, who can use MSDE 2000? If I develope an application with C# having MS Visual C# .NET 2003 Standard which uses SQL Server, can I distribute my application with MSDE? 1qa2sw
0
8689
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9273
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9136
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7893
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5933
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4439
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4703
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.