일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- CONVERT()
- windows
- MS
- 프로시저
- 태그를 입력해 주세요.
- 리포팅서비스
- attr()
- DataGrid
- MSSQL
- 자바스크립트
- javascript
- oracle
- SSRS
- Winform
- 단축키
- 비주얼스튜디오
- Excel
- IIS
- 이클립스
- 오라클
- replace()
- 윈폼
- aspnet
- 엑셀
- c#
- ASP
- jQuery
- 마이크로소프트
- microsoft
- 윈도우
- Today
- Total
DJ메탈짱™의 Free Style
MS-SQL & ORACLE 비교 #오라클 #MS 본문
문자열 함수
Function | Oracle | SQL Server |
Convert character to ASCII | ASCII | ASCII |
String concatenate | CONCAT | (expression + expression) |
Convert ASCII to character | CHR | CHAR |
Return starting point of character in character string (from left) | INSTR | CHARINDEX |
Convert characters to lowercase | LOWER | LOWER |
Convert characters to uppercase | UPPER | UPPER |
Pad left side of character string | LPAD | N/A |
Remove leading blank spaces | LTRIM | LTRIM |
Remove trailing blank spaces | RTRIM | RTRIM |
Starting point of pattern in character string | INSTR | PATINDEX |
Repeat character string multiple times | RPAD | REPLICATE |
Phonetic representation of character string | SOUNDEX | SOUNDEX |
String of repeated spaces | RPAD | SPACE |
Character data converted from numeric data | TO_CHAR | STR |
Substring | SUBSTR | SUBSTRING |
Replace characters | REPLACE | STUFF |
Capitalize first letter of each word in string | INITCAP | N/A |
Translate character string | TRANSLATE | N/A |
Length of character string | LENGTH | DATALENGTH or LEN |
Greatest character string in list | GREATEST | N/A |
Least character string in list | LEAST | N/A |
Convert string if NULL | NVL | ISNULL |
Date 함수
Function | Oracle | SQL Server |
Date addition | (use +) | DATEADD |
Date subtraction | (use -) | DATEDIFF |
Last day of month | LAST_DAY | N/A |
Time zone conversion | NEW_TIME | N/A |
First weekday after date | NEXT_DAY | N/A |
Convert date to string | TO_CHAR | DATENAME |
Convert date to number | TO_NUMBER(TO_CHAR()) | DATEPART |
Convert string to date | TO_DATE | CAST |
Get current date and time | SYSDATE | GETDATE() |
'일(job) > DBMS' 카테고리의 다른 글
[오라클] ORA-01790 expression must have same datatype as corresponding expression #UNION (0) | 2016.04.08 |
---|---|
DBMS ETL Tools 종류 비교 #ETL #DBMS #Vendors (0) | 2016.04.06 |
[SSRS] SQL Server Reporting Service)2005 설치가 안돼, 비활성화, csscript, 윈도우7 64bit (0) | 2016.01.19 |
[SSRS] 리포팅서비스 원격 오류 활성화(Reporting Services 구성) (0) | 2016.01.19 |
[SSRS] 리포팅서비스 실행시 오류(rsReportServerDisabled) 발생 조치방법 (0) | 2016.01.19 |