티스토리 뷰
homebrew 설치
➜ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
mssql 커맨드라인 도구 설치
➜ brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
➜ brew update
➜ HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=y brew install mssql-tools
설치된 mssql 커맨드라인 도구 확인
sqmcmd
➜ sqmcmd
Microsoft (R) SQL Server Command Line Tool
Version 17.4.0001.1 Linux
Copyright (c) 2012 Microsoft. All rights reserved.
usage: sqlcmd [-U login id] [-P password]
[-S server or Dsn if -D is provided]
[-H hostname] [-E trusted connection]
[-N Encrypt Connection][-C Trust Server Certificate]
[-d use database name] [-l login timeout] [-t query timeout]
[-h headers] [-s colseparator] [-w screen width]
[-a packetsize] [-e echo input] [-I Enable Quoted Identifiers]
[-c cmdend]
[-q "cmdline query"] [-Q "cmdline query" and exit]
[-m errorlevel] [-V severitylevel] [-W remove trailing spaces]
[-u unicode output] [-r[0|1] msgs to stderr]
[-i inputfile] [-o outputfile]
[-k[1|2] remove[replace] control characters]
[-y variable length type display width]
[-Y fixed length type display width]
[-p[1] print statistics[colon format]]
[-R use client regional setting]
[-K application intent]
[-M multisubnet failover]
[-b On error batch abort]
[-D Dsn flag, indicate -S is Dsn]
[-X[1] disable commands, startup script, environment variables [and exit]]
[-x disable variable substitution]
[-? show syntax summary]
bcp
➜ bcp
usage: bcp {dbtable | query} {in | out | queryout | format} datafile
[-m maxerrors] [-f formatfile] [-e errfile]
[-F firstrow] [-L lastrow] [-b batchsize]
[-n native type] [-c character type] [-w wide character type]
[-N keep non-text native] [-q quoted identifier]
[-t field terminator] [-r row terminator]
[-a packetsize] [-K application intent]
[-S server name or DSN if -D provided] [-D treat -S as DSN]
[-U username] [-P password]
[-T trusted connection] [-v version] [-R regional enable]
[-k keep null values] [-E keep identity values]
[-h "load hints"] [-d database name]
참고
'OS-서버-서비스 > macOS' 카테고리의 다른 글
macOS의 Spotlight, Alfred, Raycast 에서 한글 파일명 검색 안될때 (0) | 2025.04.27 |
---|---|
잠자던 맥북 프로 깨울때 유선 외장 키보드 먹통 대응법 (0) | 2023.11.06 |
macOS 10.12.2 Sierra 이상 ssh key 접속시 암호 항상 물을때 (0) | 2018.11.20 |
Bash script 로 디렉토리 내 euc-kr 파일 utf-8 변환하기 (0) | 2016.11.27 |
MAC OS X 에서 SVN 업데이트 (0) | 2015.06.17 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- javascript
- Mac
- centos
- Wordpress
- 안드로이드
- Debug
- JQuery
- iis
- Prototype
- classic asp
- Docker
- sencha touch
- IE
- iphone
- 한글
- Linux
- git
- 워드프레스
- Android
- PHP
- macos
- nginx
- nodejs
- ASP
- CSS
- laravel
- IOS
- API
- mssql
- JSON
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함