일상, 그리고 휴식

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

MSSQL 3

declare 여러개로 선언하여 사용하기

declare @cursor1_status --hold the first fetch status declare @cursor1_holder declare @cursor2_status --hold the second fetch status declare @cursor2_holder --declare cursors declare first_cursor cursor for.... declare second_cursor cursor for.... --open cursors open first_cursor open second_cursor --fetch cursors and use another variable to hold the fetch -- status fetch next from first_cursor ..

MSSQL 2021.02.26

MSSQL Trigger 트리거 조회하기

현재 사용중인 트리거(trigger) 조회하기. select T.name as TriggerName, o.name as TableName from sys.sysobjects as t inner join sys.sysobjects as o on t.parent_obj = o.id where t.xtype = 'TR' order by o.name asc

MSSQL 2021.02.03

MSSQL 테이블 정보 조회

select * from information_schema.tables /* column 1: TABLE_CATALOG => 데이터베이스명 column 2: TABLE_SCHEMA => SQL 사용자 column 3: TABLE_NAME => 테이블명 column 4: TABLE_TYPE => 테이블 유형 (BASE_TABLE = 테이블 / VEIW = 뷰테이블) */ MSSQL을 사용하다가 데이터베이스 내에 있는 테이블의 정보를 모두 조회하거나 원하는 데이터를 추출하고자 할 경우 위의 query문으로 조회하면 된다.

MSSQL 2021.01.12
1
더보기
프로필사진

고양이를 좋아하고, 평범한 삶을 살고 있는 개발자입니다.

  • 분류 전체보기 (87)
    • 일상 (14)
      • 게임 (2)
      • 여행 (0)
      • 일기장(?) (2)
      • 맛집 (0)
      • 리뷰 (4)
    • 해외여행 (0)
      • 대만 (0)
    • 국내여행 (0)
      • 강원도 (0)
    • PC (3)
      • Window 10 (2)
    • JPA (1)
    • Vue(Vue2.0 ~ Vue 3.3) (1)
    • JS, CSS, jQuery, HTML, AJAX (9)
      • ? (3)
      • JavaScript (1)
      • CSS (1)
      • jQuery (3)
      • HTML (0)
      • AJAX (1)
    • MariaDB (1)
    • Ionic & Server (4)
      • Ionic 에러 (1)
      • Cafe 24 가상서버 (2)
      • Ionic 설치 (1)
    • PHP (7)
      • PHP 기본 (3)
      • Codeigniter (4)
    • 안드로이드스튜디오3.0 (1)
    • C# (6)
    • ASP.NET (17)
      • MVC 2 (0)
      • MVC 3 (6)
      • MVC 4 (2)
      • MVC 5 (1)
    • ASP (5)
    • Putty (1)
    • AWS (5)
    • MSSQL (3)
    • React (2)
    • Python (1)
      • 3.13 (0)

Tag

모음 분리, Lightsail, Javascript - onselectstart Event / IE 브라우저 한글 자음, 맘스터치 수지동천점, SiteMap.CurrentNode null, SiteMap.CurrentNode, Windows Server 2019, Vue3 emit, 한성노트북 TFX242, TFX242, 트리거조회, 램추가이벤트, TFX245, 행복치과, javascript 한글 입력불가, 1kg노트, vue3, 청년내일채움공제 3년형, 중소기업취업청년 전월세보증금대출, MSSQL 테이블정보 조회,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바