쿼리를 실행했을때 아래와 같은 에러가 나왔을때..

 

Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.

 

문제의 쿼리 윗부분에..

 

Set ANSI_NULLS ON
Go

 

위의 부분을 추가해서 같이 실행한다.

좀 더 자세한 사항은

 

http://support.microsoft.com/kb/296769/en-us

 

을 참고...

+ Recent posts