운영 여러 서버들을 중앙 서버에 등록해서 관리하기 Registered Server, a Hidden Gem of SQL Server Management Studio. Part 1 – {coding}Sight (codingsight.com) Registered Server, a Hidden Gem of SQL Server Management Studio. Part 1 – {coding}Sight The article is dedicated to registered servers and their usage. It also describes how to configure Local server group and Central Management server. codingsight.com SELECT G.name AS [Group Name], S.name a.. 운영/SQL Server 관리 도구 2021. 5. 26. SSIS를 활용한 여러개의 파일 전송 Move Multiple files using File System Task in SSIS (tutorialgateway.org) Move Multiple files using File System Task in SSIS www.tutorialgateway.org 운영/데이터 전송 2021. 5. 25. Register a SPN for SQL Server Authentication with Kerberos https://www.mssqltips.com/sqlservertip/2955/register-a-spn-for-sql-server-authentication-with-kerberos/ Register a SPN for SQL Server Authentication with Kerberos After querying the SQL Server sys.dm_exec_connections DMV I noticed that all my currently connected sessions using Windows Authentication had used NTLM and not Kerberos. How do I get them to use Kerberos? Check out this tip to learn mo.. 운영/권한 관리 2021. 5. 18. 데이터베이스 오브젝트의 스키마 일괄 변경 sp_change_sapuser 'oldid', 'newid' USE [master] GO /****** Object: StoredProcedure [dbo].[sp_change_sapuser] Script Date: 2021-04-29 오전 8:13:03 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO create procedure [dbo].[sp_change_sapuser] @oldid sysname, @newid sysname as begin declare @oldid_uid smallint declare @newid_uid smallint declare @object sysname declare @object_full nvarchar(999).. 운영/데이터베이스 2021. 4. 29. telegram bot 만들기 import telegram #텔레그램 모듈을 가져옵니다. my_token = '여기에 토큰을 입력해 주세요' #토큰을 변수에 저장합니다. bot = telegram.Bot(token = my_token) #bot을 선언합니다. updates = bot.getUpdates() #업데이트 내역을 받아옵니다. for u in updates : # 내역중 메세지를 출력합니다. print(u.message) chat_id = bot.getUpdates()[-1].message.chat.id #가장 최근에 온 메세지의 chat id를 가져옵니다 bot.sendMessage(chat_id = chat_id, text="저는 봇입니다.") 크롤링 테스트 import requests from bs4 import Bea.. 운영/기타 2021. 4. 27. The database principal owns a schema in the database, and cannot be dropped. 메시지 15138, 수준 16, 상태 1, 줄 1 The database principal owns a schema in the database, and cannot be dropped. 운영/권한 관리 2021. 3. 12. 손상된 데이터베이스 복구 테이블 단위로 최소한의 검사 DBCC CHECKTABLE ('스키마.테이블명') WITH PHYSICAL_ONLY; docs.microsoft.com/ko-kr/sql/t-sql/database-console-commands/dbcc-checktable-transact-sql?view=sql-server-ver15 DBCC CHECKTABLE (Transact-SQL) - SQL Server DBCC CHECKTABLE(Transact-SQL) docs.microsoft.com REPAIR_ALLOW_DATA_LOSS 옵션 REPAIR_ALLOW_DATA_LOSS 옵션을 사용하여 LOSS가 발생하더라도 Repair를 진행한다. 이때 Nonclustered Index는 제거를 하고 진행해야 좀더 빠르게 진.. 운영/백업과 복원 2020. 12. 5. 로그인 감사 특정 사용자에 대한 로그인 감사 기록 남기기 /****** Object: Audit [ServerAuditSpecification-20201106-140647] Script Date: 2020-11-06 오후 2:14:26 ******/ CREATE SERVER AUDIT [ServerAuditSpecification-20201106-140647] TO APPLICATION_LOG WITH (QUEUE_DELAY = 1000 ,ON_FAILURE = CONTINUE ,AUDIT_GUID = '298f9952-679f-41d9-9fef-1be263f4ddf6' ) WHERE ([server_principal_name]='도메인\계정' OR [server_principal_name]='도메인\계정') ALT.. 운영/암호화와 감사 2020. 11. 6. 이전 1 2 3 4 5 6 7 ··· 13 다음