Solved

How do I set set the Autoclose property on the RS databases to False

Posted on 2006-11-01
6
835 Views
Last Modified: 2011-10-03
How do I set set the Autoclose property to False in SQL Express?
I have numerous startup events for ULTRASOUND in the Applicatiosn events area and it's just wasted space.
0
Comment
Question by:Lazarus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 150 total points
ID: 17855179
USE [master]
GO
ALTER DATABASE [yourDB] SET AUTO_CLOSE ON/OFF WITH NO_WAIT
GO
0
 
LVL 35

Expert Comment

by:David Todd
ID: 17855213
Hi,

To expand: The end user and portable versions of SQL do tend to have autoclose. The server versions tend to not have autoclose ...

Regards
  David
0
 
LVL 20

Author Comment

by:Lazarus
ID: 17859216
QPR... Ok, I'm not an SQL type at all. How do I use what you have stated above?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 35

Assisted Solution

by:David Todd
David Todd earned 100 total points
ID: 17861037
Hi,

Open Query Analyser or Management Studio.

Open a new query and connect to the server (Your PC)

Past QPR's code in from above.

Execute this query.

Regards
  David
0
 
LVL 20

Author Comment

by:Lazarus
ID: 17862714
David, This is SQL Express. The onlythin I see from All Programs is this:

Microsoft SQL Server 2005
     Configuration Tools
         SQL Server Configuration Manager
         SQL Server Error and Usage Reporting
         SQL Server Surface Area Configuration

Is it somewhere in: \Program Files\Microsoft SQL Server    ?
0
 
LVL 20

Author Comment

by:Lazarus
ID: 17862778
I think I have found it. I used "sqlcmd.exe" I'll look in a few minutes and see if that did what I wanted.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rebooting Witness SQL Server 2 25
Help needed in sql query 4 28
query analyser in sql server 2016 express edition 2 25
SQL syntax question 6 39
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question