How do I attach a database for Web Reporter?

book

Article ID: 52956

calendar_today

Updated On:

Products

Activator eTrust CA-ALERT eTrust CA-ALERT for CICS ALERT CA-Archiver ASM/ARCHIVE VSE-ESA OPTION CA ASM/Archive CA AutoAction AutoSys Job Management Adapter for AutoXfer Process Automation Manager Portal ARCserve Backup Client CA-CICSORT CA-Clipper COBOLVISION Analyzer CA CTO Distributed CA-Dart CA-Datesolver/2000 CA Distribulink EUREKA:Object EPIC VM CA Enterprise Endevor Change Manager for Unix CA-Archiver Disk Option CA-EPIC Backup CA-EPIC Access Option CA-EPIC SUPER SYS CA CA-EPIC for CMS System CA CA-EPIC TAPE MANAGEMENT eTrust Antivirus Gateway for CVP eTrust Content Inspection Gateway eTrust Content Inspection Gateway Option for MSP/ISA EE eTrust Antivirus Gateway for Netscape eTrust VPN Enterprise Edition FAQS VM CA FAQS Automated Systems Operation CA Global Subsystem (CA-GSS) ANDYNE MAINFRAME MISCELLANEOUS CA-Inventory Discovery Server CA-JARS Resource Management CA-JARS Resource Management ACC Option CA-JOBDOC JOBWATCH CA-Look CA-MAZDAMON CA Service Management Affiliate Technology Partner Fee CA Service Management Basic Technology Partner Fee CA-Metanet MF - MISC OLD CODES CA-Omniguard for CICS CA-Omniguard CA Opera CA Connect PREVAIL CA-Paramount XP CAM FOR DIST SYS CA-Paramount FOR NAVIGRAPH/HOST Research Planmacs Unlimited Project Planner CA Remote Console PREVAIL/XP-AUTOMATION PHASE 1 CA-Remote Console PREVAIL/XP AUTOMATION-RDF/SSM CA Raps Research Raveler Generic Non Product SOLVE:EPS Unicenter NetMaster Network Management for SNA CA Alexandria CA Sort System CA-Sort System CA-SPOOLMAN CA Storage Mainframe SYSTEM/SCHEDULER SYSTEM/SCHEDULER VSE-ESA OPTION CA-System/Manager CA-Tape/Manager VSE-ESA OPTION Output Management Document Server TNG Network and Systems Management Agent for CA-Datacom DFSMShsm Workstation Network and Systems Management UNIX SMTP Unicenter Management for Microsoft Exchange SMTP Option UNICENTER II Unicenter Network and Systems Management Database Performance Monitor Option UNICENTER OSM Database Command Center Mnt CA Opera CA-VM:DBA CA-VM:DB Admin CA-VM:DB Center CA-VM:DB Developer CA-VM:DB Editor CA-VM:DB Monitor CA-VM:DB Reorganizer CA-VM:DB Reporter CA-VM:DB Restore CA-VM:DB REXX CA-VM:DB SQLMAP CA-VM:DB Suite CA VM:Migrate CA-VM:Monitor CA-VM:Notekeeper V/Solver CA-VM:Webserver for Officevision CA-VM:Webserver Secure CA VM:Webgateway CA-VM:Webserver CA XMENU for z/VM VISION:COMBO for TSO VISION:DAGER VISION:ELEVEN VISION:EIGHTY VISION:Online VISION:IQ for Informix CA Automate STORAGE RESOURCE MANAGEMENT SUITE

Issue/Introduction

Description:

You can attach a copied or detached SQL Server database. When you attach a SQL Server database that contains full-text catalog files onto a SQL Server server instance, the catalog files are attached from their previous location along with the other database files.

After detaching a SQL Server database, you can reattach it to the same or another instance of SQL Server. Attaching a database places it in exactly the same state that it was in when it was detached.

Note: We recommend that you do not attach or restore databases from unknown or untrusted sources.

Solution:

To attach a database:

  1. Connect to an instance of the Microsoft SQL Server Database Engine in SQL Server Management Studio Object Explorer.

  2. Expand the instance.

  3. Right-click Databases and click Attach.
    The Attach Databases dialog opens.

  4. Click Add.
    The specified database is attached.

  5. Select the disk drive where the database resides in the Locate Database Files dialog.

  6. Expand the directory tree to find and select the .mdf file of the database.

    • Example:
      D:\SQLDataFiles\CASRMCentralDB.mdf
      Important! Trying to select a database that is already attached generates an error.

  7. Enter the name in the Attach as column of the Attach Databases dialog.
    A different name is specified for the database.

  8. Select a different entry in the Owner column.
    The owner of the database is changed.

  9. Click OK.
    The database is now reattached.
    Note: A newly attached database is not displayed in the Databases node of Object Explorer until the view is refreshed. You can refresh the view at any time.

Environment

Release: BRMAPS20100-11.7-Storage Resource Manager-Application Server
Component: