> SQL SERVER

· > SQL SERVER
MSCS 환경에서 SQL Server 설치를 위한 환경설정 1) Window Server의 공유 폴더 확인 IPC$만 확인되어 패치/설치/업그레이드 수행 시 C$, ADMIN$가 공유되어야함. 2) C$ 공유 net share C$=C:\ 3) ADMIN$ 공유 시작 메뉴 > 실행 또는 Win+R > regedit Path : HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\LanmanServer\\Parameters DWORD 32 bit로 AutoShareServer를 추가하고 1로 지정 후, 서버 재부팅 3) 위 두 과정을 완료 후, 공유 확인 4) Remote Registry 서비스 활성화 https://kwomy.tistory.com/136 ..
· > SQL SERVER
MSCS 환경에서 SQL Server Upgrade Error SQL Server Setup failure. SQL Server Setup has encountered the following error: Failed to retieve data for this request. 1) Log 확인 C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\ 에 있는로그를 보도록 하겠습니다. Exception summary: The following is an exception stack listing the exceptions in outermost to innermost order Inner exceptions are being indented ​ Except..
· > SQL SERVER
SQL Server에서 각 계정의 패스워드 변경 일자 확인 쿼리 SELECT name id, default_database_name DB, case type when 'S' then 'SQL 로그인' when 'U' then 'Window 로그인' when 'G' then 'Window Group 로그인' end 계정구분, create_date 계정최초생성일, modify_date 계정설정변경일, LOGINPROPERTY(name, 'PasswordLastSetTime') 패스워드변경일, DATEDIFF(DD, CONVERT(SMALLDATETIME, LOGINPROPERTY(name, 'PasswordLastSetTime')), GETDATE()) 패스워드사용일수 FROM sys.server_princ..
· > SQL SERVER
설치환경 - Windows Server 2019 English - Microsoft SQL Server 2019 Standard Edition English Ver. * 설치파일 경로 https://www.microsoft.com/ko-kr/sql-server/sql-server-downloads SQL Server 다운로드 | Microsoft 지금 Microsoft SQL Server 다운로드를 시작하세요. 내 데이터와 워크로드에 가장 적합한 SQL Server 체험판 또는 버전, 에디션, 도구 또는 커넥터를 선택하세요. www.microsoft.com 1. iso 파일을 서버로 이동, mount -> setup 프로그램 실행 2. Setup 프로그램으로 설치 진행 (1) New SQL Server ..
· > SQL SERVER
더보기 The target principal name is incorrect. Cannot generate SSPI context. (Microsoft SQL Server, Error: 0) SSMS를 통해 host 명으로 Windows 인증으로 접속하려 할 때 위와 같은 에러가 발생하는 경우입니다. 로그 분석 xp_readerrorlog 로 로그 확인 결과 메세지 The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/xxxxxx ] for the SQL Server service. Windows return code: 0x2098, state: 15. Failure to ..
· > SQL SERVER
백업이나 DBCC 관련 진행율을 확인하고자 할때 사용하는 쿼리입니다. DBCC SHRINKFILE이나 SHRINKDATABASE 같은 경우는 정확하지 않을 수 있습니다. SELECT session_id as SPID, command, a.text AS Query, start_time, percent_complete, dateadd(second,estimated_completion_time/1000, getdate()) as estimated_completion_time FROM sys.dm_exec_requests r CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) a WHERE r.command in ('BACKUP DATABASE','RESTORE DATABASE'..
mewoni
'> SQL SERVER' 카테고리의 글 목록 (2 Page)