Building better technology
for the civil engineering industry

Building better technology
for the civil engineering industry

Tel: +44 (0)118 945 3737

Tel: +44 (0)118 945 3737

VJTech Limited Mobile Logo

 Login  Register Tel: +44 (0)118 945 3737

 
     
Attaching and Detaching a Database

Attaching and Detaching a Database

Mar 11 2015

 

Attaching and Detaching a Database on Clisp Studio

Introduction

Clisp Studio allows for Databases to be attached and detached whenever necessary.

This Blog can be downloaded as a support document - SUP0078

Detaching a Database

Occasionally you may be required to detach a database in order to restore a database from a previous backup. To detach a database, open Clisp Studio, select the Files > Database Connection


Figure 1 - Files Menu

The Database Connection window will appear. Select the database you wish to detach.

Figure 2 - Select the Database

Once you have selected the database you want to detach, expand the Options drop down menu and select Detach this Database, see Figure 3.

Figure 3 - Detaching a Database

The Database will now be detached and no longer be visible in the database selection.

Attaching a Database

If a database is not available in the database selection menu, it can be reattached, providing you have created the database on the same PC.

Open the Database Connection window (see Figure 1).

Click on the Options drop down menu and select Attach an existing Database


Figure 4 - Database connection (attach an existing database)

 

A file explorer window will appear (see Figure 5).

Navigate to the location:

Computer > C: Drive > Program Files > Microsoft SQL Server > MSQL10_50.SQLEXPRESS (this may vary) > MSSQL > DATA

NOTE: Databases will be saved in .mdf format.

Select the database you want to open.

Figure 5 - Database location

The Database is now attached, click Select to open the database.

Figure 6 - Database Connections selecting a database

 

Identifying the Database that is open

To identify the database that is currently open, open the Test Explorer. (see Figure 7 below)

                                                                                       Figure 7 - Opening Test Explorer             

The Database that is currently open will be displayed at the bottom of the Test Explorer, see Figure 8.

Figure 8 - Test Explorer

 

Total: 0 Comment(s)

Categories


Archives

2016 Oct 17 1
2016 Sep 16 1
2016 Jul 4 1
2016 May 22 1
2016 Apr 15 1
2016 Mar 10 1
2016 Feb 54 3
2016 Jan 48 1
2015 Dec 22 1
2015 Nov 47 1
2015 May 64 1
2015 Mar 268 4
2015 Feb 191 1
2014 Nov 932 8
2014 May 169 6
2014 Apr 173 7
2014 Mar 601 12
2013 Dec 89 2

Tags