Simple Way Of Telling If I'm Using MSDE Or Full SQL Server?
Jul 23, 2005
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
View 5 Replies
ADVERTISEMENT
Jul 20, 2005
Does anyone know if there is a way to determine if the SQL Serverinstallation being run is MSDE or SQL ServerStandard/Professional/Enterprise?Thanks!*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!
View 1 Replies
View Related
Mar 6, 2015
One of my programmers changed their database from full to Simple recovery. Saw that my job that backs up the Full Recovery mode databases failed, so I moved that database to my Simple database backup job plan and removed it from the Full Recovery job. I am unable to remove the db from the Transaction Log task on the Full Plan because when I try to edit that job "Databases with Simple Recovery will be excluded"
My transaction log backups are still failing with the following error: "The statement BACKUP LOG is not allowed while the recovery model is SIMPLE. Use BACKUP DATABASE or change the recovery model using ALTER DATABASE. BACKUP LOG is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.Just want to remove that database so my Full Recovery backup job does not try to back it up.
View 2 Replies
View Related
Jul 26, 2004
Can MSDE be installed a live server running windows 2000. I don't have SQL server installed on the live server.
Thanks!!
View 2 Replies
View Related
Jan 10, 2008
Which system table is this information held in, i restored over 100 databases and want all of them to be simple mode.
I manually set it each time after each restore, but i want to confirm but i cannot find the sys table to do a select on.
I looked at sys.sysdatabases
View 3 Replies
View Related
Jun 10, 2006
Hi MVPS/MS Experts:
Pardon me and my ignorance for asking this question. I just want to understand the backup architecture more clearly. According to BOL (both in SQL 2k and SQL 2k5) in simple recovery mode trasaction log backup is not possible since the log is truncated on checkpoint which is true. Also we know that FULL backup backups both the db and transaction log as well.
My question is what happens when a database is in simple recovery mode and a full backup is done. since the tran log cannot be backed up does only the db backup is done when a full backup is done?. What exactly happens behind the scenarios?. Is it that only the active log gets backed up when a full backup is done in simple recovery mode?. I am trying to understand how a full backup in simple recovery mode behaves without contradicting the full backup architecture and that the veracity of the statement (both db and tran log backup in full backup mode) holds true for a simple recovery scenario.
MVPs/ MS Experts if you could Please explain it in detail, I would really appreciate it.
Thanks
Ankith
View 6 Replies
View Related
Jan 5, 2005
Hi there,
First off: I know that MSDE can't handle Full Text Catalogs.
Now I'd like to know if someone knows about a product or method which I could use that would give me the same result and work with MSDE.
The reason I ask is the following:
We have developed an Intranet application based upon MS Sharepoint Portal Server 2003 for Document Management purposes. Every Document has about 20 customized Properties which can be set. We do have an extensive interface for searching these documents
Now every user can have his "Favorite Documents" in a personal location.
What we are doing now is a "Local" version of this application. It will not allow documents to be modifed and will export the Users Favorites to his personal Computer.
For the moment we store everything (including the documents themselves) in a local MSDE Database.
Now we were recently asked to allow the user to search these local documents. Or at least search for documents with specific properties(i.e. no content indexing needed)
However I don't know how to go about this.
The structure I have for the DB is following
tblFiles
FileGUID FileName
1 Doc1
2 Doc2
tblProperties
PropertyGUID PropertyName
1 Name
2 Author
tblFileProperties
FileGUID PropertyGUID Value
1 1 Test Document.doc
1 2 John Smith
2 1 Dcoument for testing.xls
2 2 John Doe
Now you get the idea
We want to user to be able to specify search criteria for multiple properties
e.g. return every Document where Author Like 'John' and Name Like 'Document'
Preferably we should also be able to use wildcars. But that is not abolutely necessary for the moment.
Now I guess to achieve this I'd need a full text Search Catalog on tblFileProperties.Value, but I'm not even sure about that.
Any help please
RizziMan
View 2 Replies
View Related
Sep 4, 2007
using windows xp with visual studio
once installed, how can you tell wh ichis installed:
Microsoft SQL Server 2005 Express Edition (SQLEXPR32.EXE)
Microsoft SQL Server 2005 Express Edition with Advanced Services (SQLEXPR_ADV.exe)
I have checked all the obvious.
Please advise.
Thanks,
Bob
View 1 Replies
View Related
Jan 25, 2008
I have a database that is set to Full recovery model, I would like to switch to simple. I must perform some procedure before doing so?
The size of the transaction log is very high in this database, I would like to decrease it before moving to simple, have a problem doing that?
Thank You,
Ralph Haddad
View 7 Replies
View Related
Jun 18, 2007
I have convert all databases to Full from Simple Recovery model.
As per documentation, it looks like simple.
Based on your experiences , do you think of any problem may come while doing this ?
Any impact on application performance after this ?
Is this work perferened to do when no body using system ?
Thanks
View 3 Replies
View Related
Feb 14, 2007
When we do a full database backup manually, we are seeing the trn file reflect the current date/time, but we are not seeing the mdf reflect the new date/time. And we are not seeing the transaction log file decrease in size. the recovery mode is set to full, do we need to change to simple to see both the mdf being backup'ed?
View 5 Replies
View Related
Dec 3, 2004
Can anyone tell if MSDE has the full-text service available and if so how to set it up?
Thanks,
Ralph
View 1 Replies
View Related
Jan 8, 2008
I'm a long time user of sQL Server just getting started with SQL Server Express 2005 and I'm alittle confused about how to tell the difference between a SQL Server DB and an Express DB. I understand they both appear in SS Management Sudio. Actually I'm trying to create my first SQL Server Express database, and I'm not seeing any switches in the Create Database statement for specifying an Express database. Is there no difference between a regular and Express datbase?
View 2 Replies
View Related
Jan 18, 2006
Does anyone know what the commands would be? I am trying to create a job that puts a DB in simple mode then launches a reorg and re-index, then sets it back to full when it is complete. This way I can eliminate large transaction logs being created.
Any help would be great!
Thanks
View 1 Replies
View Related
Apr 16, 2007
I have a custom folder layout for reporting services on our test environment so each tester can test the reports against the data in their own instances. The developers have reports in a different layout that's more in line with what will be in production. So I figured some simple RS scripting would handle things.
It was easy to create the folder structure, easy to create the shared data sources in each testers reports folders, and easy to deploy the report from the developers folder (source) to the testers report folders. However, when I try to use SetItemDataSources to change the data source in the newly duplicated reports, I keep getting an error telling me that the data source cannot be found.
Here's the relevant code fragment:
'Set report DataSource references
Dim DataSources(0) As DataSource
DataSources(0) = New DataSource
' update with new data source info
DataSources(0).Name = strDSName
Dim Item1 as DataSourceReference = New DataSourceReference
Item1.Reference = strRef
DataSources(0).Item = Item1
Console.WriteLine( "Setting report {0}, data source to {1}", strTargetReport, strRef)
RS.SetItemDataSources( strTargetReport, DataSources)
strDSName is "OLTP", strRef is the path to the shared data source, "/Reports/Tester1/Data Sources/OLTP". strTargetReport is the name of the report itself, full path name to "/Reports/Tester1/Report1".
Each tester has their own folder off the main reports folder "Reports", with an incremental number, as in "Tester1". Each testers folder has it's own Data Sources folder. There is only one data source for all reports, "OLTP".
/Reports
/Reports/Tester1
/Reports/Tester1/Data Sources
/Reports/Tester1/Data Sources/OLTP
/Reports/Tester1/Report1
/Reports/Tester1/Report2
I even went into SQL Server Management Studio and tried changing the (now broken) data source setting for a report to point to the correct data source (OLTP), then copied the generated script, then ran it - and still got the data source cannot be found error. That's what my latest code shown above was based on.
Anyone got any clues?
Thanks,
--Stan
View 3 Replies
View Related
Apr 25, 2008
We have the following scenario,
We have our Production server having database on which Few DTS packages execute every night. Most of them have Bulk Insert stored procedures running.
SO we have to set Recovery Model of the database to simple for that period of time, otherwise it will blow up our logs.
Is there any way we can set up log shipping between our production and standby server, but pause it for some time, set recovery model of primary db to simple, execute DTS Bulk Insert Jobs, Bring it Back to Full recovery Model AND finally bring back Log SHipping.
It it possible, if yes how can we achieve this.
If not what could be another DR solution in this scenario.
Thanks Much
Tejinder
View 6 Replies
View Related
Aug 8, 2007
I'm trying to deploy a project that I deployed yesterday just fine, but today I get the following error:
------ Deploy started: Project: Point Reports, Configuration: Debug ------
Deploying to http://reporting.companyname.com/reportserver
Deploying data source '/Data Sources/Srv24.FieldResponse2_1'.
The permissions granted to user 'DOMAINharley.p.bartman' are insufficient for performing this operation.
Deploy complete -- 1 errors, 0 warnings
This seems like a basic permission issue, except I'm not logged in as the user listed! I've never logged into my computer as the user. I did log in to the reporting services website yesterday as that user, but since have rebooted my machine and logged into bothe my computer and the reporting services website as me. Yesterday this report deployed fine. Today, this error message. I've even tried creating a new project and just creating a simple datasource and deploying just that, but still this message! Where is Visual Studio storing and reusing this user name during my deploy process???
View 4 Replies
View Related
Jun 6, 2005
Hello,
I'm not sure if it's the setup I did wrong, but I can't seem to get my
text datatype in my database to store more than 900 characters.
I'm trying to setup a news database for my website, which will populate
the information into a datagrid. To test, I manually added a news
item in the database through the visual studio 2003 gui. I
immediately noticed a problem as the I was getting an error after a
long news item saying:
"The value you entered is not consistent with the data type or length of the column, or over grid buffer limit."
I couldn't find anthing to set the buffer limit and the datatype is
"text" filled with simple text in the column. As a further test,
I
simply entered 12334567890123... up to 900 characters and still
recevied the error.
I would appreciate someone leading me in the right direction on this one.
Thanks a lot.
View 1 Replies
View Related
May 27, 2000
I am trying to change the computer name of a machine running MSDE but I get an error when SQL Server starts. With regular SQL when I change the name of a computer I re-run setup and setup fixes this problem. MSDE can only be installed from unattended mode so I can’t rerun setup and fix the problem.
My question is "How do I change the name of a computer running MSDE with out reinstalling MSDE"
View 1 Replies
View Related
Mar 27, 2001
We currently have the problem, that all our machines are produced with the
same name and afterwards the name is changed. So we have the problem that
the checksum key for the MSDE isn't valid anymore. As MSDE can only be installed
from unattended mode so I can’t rerun setup and fix the problem. Does anyone
know a solution for this problem ?? A program recalculating the cheksum ??
regards,
Manfred
View 3 Replies
View Related
Mar 9, 2005
I'm not sure if this is the correct forum for this this question but I'll give it a shot.
The only db development that I have ever done is in MS Access. I have a project at work that is being accomplished in VB and I need a db engine to use as the back end. Visual studio came with a copy of MSDE. Is this tool worth using or should I invest in mySQL? Are there any advantages to using MSDE over mySQL?
View 4 Replies
View Related
May 26, 2004
Hey,
I have MS SQL database.
I have procedure:
code:--------------------------------------------------------------------------------
CREATE PROCEDURE dbo.Reg_DropTable
@ModuleId varchar(10)
AS
declare @TableName varchar, @kiek numeric
set @TableName = 'reg_'+@ModuleId
begin
DROP TABLE @TableName <- HERE I GOT ERROR
end
GO
--------------------------------------------------------------------------------
I got error when using variable with tables names.
How to do this?
Ps. Number is send to this function and it must drop table with name Reg_[That number]
View 1 Replies
View Related
Nov 5, 2007
I have sql server 2000. I copied a database from one server to another. I have one table that has a full-text index. When I transferred over the database, the index still existed, but was not populated. I made sure the path for the file is pointing to a new correct location. I did "start full population". It only populated one entry @ 1MB. On the old server the index is 100MB with more than 3 million records.
I tried rebuilding, re-creating, and it all works, but when I run "start full population", it only populates 1 record. I double checked the table in question and it has over 3 million records and proper primary key.
How do I resolve this.
View 1 Replies
View Related
Aug 6, 2007
Hello,
at the moment I have the following problem:
We have installed a version of the MSDE 2000 Sp3 with our software since 2005. Now we install SQL Server Express 2005 in order to use the latest version and to be compatible with Vista.
We have never had any problems with the MSDE, so it was no problem that we installed the german version (by mistake) because there never was any output at installation time.
When we now upgrade the existing MSDE installing the new version of our software, there are often problems and there are error messages, unfortunately in german, which cannot be read by most of our international users.
The problem is, that there seems to be no possibility to upgrade the existing (german) MSDE with the english version of SQL Server Express 2005.
My question is, if it is possible to upgrade the german MSDE to the english SQL Server 2005 to enable our international users to read the error messages at installation time in english?
Thanks in advance.
Best regards,
Peter
View 4 Replies
View Related
Jan 24, 2006
After installing MSDE(with SP4) and SQL Server 2000 SP4 Replication Components, the SQL Server 2005 Mobile Server Tools installation fails when running the System Configuration Check with a SQL Server requirement Error.
"You must first install the Replication Components for SQL Server 2000 SP 3a or higher or the SQL Server 2005 Replication Components"
Am I getting this error because I'm using the Desktop Engine version of the SQL Server 2000??
View 7 Replies
View Related
Jan 26, 2004
Apparently since I downloaded SQL Server SP3 and tried to install it on a computer without SQL Server in the first place, it's a bad thing.
I'm trying to get SQL Server Desktop Engine to install and I do the cmd.exe thing and it works, then 1 second before it finishes it rolls back.
All the files are still there, just missing the ones you need to run the SQL Server.
I used to have it on my 98, before I upgraded. Now I have the ASP.NET WebMatrix on my XP Home.
Is there a way to get SQL to install correctly?
John
View 2 Replies
View Related
Jul 23, 2004
I have created a SQL server database on my localhost. The live server that I am going to host the site does not have SQl server. I was thinking of putting MSDE on the live server. Would I have to make any changes to my SQL server database to put on the live server where i only have MSDE. Any idea what's involved with all that??
Thanks!
View 2 Replies
View Related
Dec 14, 2004
I have an SQL Server .MDF and .LDF file. The files were created a while ago and backed up. Well I need to use the database again, however I can't use SQL Server. So my next solution is MSDE.
How to I create a new database in MSDE using the already created .MDF and .LDF files as the actual database?
View 1 Replies
View Related
Dec 22, 2004
Hi have just installed MSDE on a laptop. When I installed it I created a default account
username - sa
password - ?
With network protocols enabled and in mixed mode.
I then Created a script of a databse from are SQL server and ran that on the MSDE. So now I have an identical database on the laptop, but without any data. All going well hey.
The problem is I am now trying to copy the data across using the DTS wizard in SQL server. I can select the server from the dropdown, but it will not let me connet, it says not aurthorised or cannot find server. I am using SQL authentication, and using the user account sa. Any ideas what I'm missing. Am very new to SQL server, so any help would be very much appreciated.
View 7 Replies
View Related
Jan 15, 2004
I own a copy of SQL Server 7 but am not using it for anything at present. I want to convert an Access db to this Server however I'd like to have a development environment on my laptop. Can I install MSDE and manually transfer the .db files to and from the SQL Server seamlessly?
Thanks
Dog
View 2 Replies
View Related
Jan 29, 2004
I am using SQL Server 2000 MSDE for Test Development of a site in .Net. The MSDE is installed on my workstation and the web site is depolyes on a web server. When I try to access data from the site at the development server, the connection to the SQL Server MSDE fails, saying:
System.Data.SqlClient.SqlException: SQL Server does not exist or access denied
But when I access the web site from the same box where the SQL Server MSDE is installed, everything works fine.
Here is the connection string I am using:
<add key="DBConnection" value="Data Source=<MyMSDEBoxName>; Initial Catalog=<DatabaseName>; Integrated Security=SSPI;"/>
I have tried using User Id and Passoword but it failed too!
Any help will be appreciated.
View 2 Replies
View Related
Feb 4, 2004
Hi,
We have developed a product in VB using MS-Sql Server200 as the DB. Now for distributing the product we have decided to use MSDE. Can any one tell me how to distribute the Product with MSDE. What should we do for that
Thanks in Advance
View 1 Replies
View Related