오늘 무엇을 도와드릴까요?

How to manually detach an ION Database using OSQL commands in the command prompt.

Goals and Symptoms

If an ION database will not detach using the ION Database Manager (Management Console > Tools > Database Manager) and MSDE (Microsoft SQL Server 2000 Desktop Engine) is being used as the database engine it may be possible to detach the database using OSQL (Object Structured Query Language) commands from the command prompt. The procedure below describes how to accomplish this.

Causes and Fixes

1. Open up a Command Prompt window (Start > Programs > Accessories > Command Prompt)


  • Note: After each command below press enter to execute.

    2. Type in the following code replacing what's in the < > brackets with the correct system information in order to login to Microsoft SQL Server:
    osql -U<username> -P<Password> S<Server Name>\<SQL Instance>
    For Example: osql -Usa -PION!Everywhere SMyServer\ION

    3. Next use this command to detach the database once again replacing < > with the correct system information:
    EXEC sp_detach_db <database name>
    • For Example: EXEC sp_detach_db ION_Data

    4. Now type:
    GO

    5. Now type:
    quit

    The database should now be detached.

    Note: OSQL has many commands and uses. For more information see Microsofts website:
http://msdn.microsoft.com/en-us/library/aa214012(SQL.80).aspx

Attachments

(Removed Image URL: /PubResEXPORT.nsf/2b87ee90be777fc085257c28006ee4ef/5eb4efe5c1ea1becc125761a0010a410/fl_block_5/0.1AD6?OpenElement&FieldElemFormat=gif)
Date Created: August 18, 2009
Last Revised: August 21, 2009
Public
Original Author: RU
All content © 1992-2009 Schneider Electric


Legacy KB System (APS) Data: RESL199696 V1.0, Originally authored by MiNe on 08/22/2009, Last Edited by MiNe on 08/22/2009
Related ranges: ION Enterprise V5.6, ION Enterprise V5.5, ION Enterprise V5.0

슈나이더 일렉트릭 Korea

도움이 필요하신가요?

도움이 필요하신가요?

제품 선택기

제품 선택기

애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

견적 받기

견적 받기

영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

구매처

구매처

해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

지원 센터

지원 센터

한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings