728x90

EXEC, byte 크기

EXEC 저장 프로시저 실행

두 가지 방법으로 저장 프로시저를 실행할 수 있습니다. 가장 일반적인 첫 번째 방법은 응용 프로그램 또는 사용자가 프로시저를 호출하는 것입니다. 두 번째 방법은 SQL Server 인스턴스가 시작될 때 자동 실행되도록 프로시저를 설정하는 것입니다. 응용 프로그램이나 사용자가 프로시저를 호출할 때Transact-SQL EXECUTE 또는 EXEC 키워드가 호출에서 명시적으로 지정됩니다. 

https://docs.microsoft.com/ko-kr/sql/relational-databases/stored-procedures/execute-a-stored-procedure?view=sql-server-2017


 byte 크기 

  select datalength('글자') as byteSize;



network adapter could not establish the connection

>> 다른계정 설치 원인 

>>http://blog.naver.com/PostView.nhn?blogId=vincentkim11&logNo=221220297659&parentCategoryNo=&categoryNo=13&viewDate=&isShowPopularPosts=true&from=search


microsoft sql server management studio  auto commit 해제

  https://suneethasdiary.wordpress.com/tag/disabling-auto-commit-mode-in-sql-server-management-studio/

Disabling Autocommit mode in SSMS

By default as we know SSMS (SQL Server Management Studio) is in a Autocommit mode, which means whenever a transaction is executed then that is committed by default. If we want to disable Auto commit mode in SSMSL, then follow below steps:

  1. Connect to SQL Server using SSMS
  2. From the Menu bar, select Tools –> Options
  3. Select Query Execution –> SQL Server –> ANSI
  4. Make sure that you check the check box SET IMPLICIT_TRANSACTIONS
  5. Click on OK

Now, open a new Query window and start executing the scripts. 



+ Recent posts