해당 오류는 mssql의 text 타입에 null값이 들어갔을 경우에 발생 한다. 해당 오류를 처리 하기 위해서는 아래와 같이 하며 된다. CASE DATALENGTH(text필드) WHEN 0 THEN ' ' ELSE text필드 END as 별칭 위와 같이 text필드의 데이터 길이이가 0일 경우 ' ' 값을 반환하고 그렇지 않으면 원래값을 반환 하게 한다
int 필드 값을 sum했을때 아래와 같은 오류가 발생 했을경우 다음과 같이 처리하면 된다. expression을(를) 데이터 형식 int(으)로 변환하는 중 산술 오버플로 오류가 발생했습니다. 위 오류는 int형이 최대로 수용할 수 있는 값의 허용 범위를 넘어서 발생한 오류이다. (int는 약 21억) 위 오류를 해결 하기 위해서는 int값을 먼저 bigint값으로 변환후 sum을 하면 된다. -- SUM 하고자 하는 값을 먼저 변환 한다. SELECT SUM(CONVERT(BIGINT, 필드명)) AS 별칭 FROM 테이블명 참~ 쉽조잉~
An axis defines a node-set relative to the current node. AxisNameResult ancestor Selects all ancestors (parent, grandparent, etc.) of the current node ancestor-or-self Selects all ancestors (parent, grandparent, etc.) of the current node and the current node itself attribute Selects all attributes of the current node child Selects all children of the current node descendant Selects all descendan..
OperatorDescriptionExampleReturn value | Computes two node-sets //book | //cd Returns a node-set with all book and cd elements + Addition 6 + 4 10 - Subtraction 6 - 4 2 * Multiplication 6 * 4 24 div Division 8 div 4 2 = Equal price=9.80 true if price is 9.80 false if price is 9.90 != Not equal price!=9.80 true if price is 9.90 false if price is 9.80 =9.80 true if price is 9.90 false if price is ..
- Total
- Today
- Yesterday