필터 지우기
필터 지우기

Why would runsqlscript give inconsistent results?

조회 수: 1 (최근 30일)
Adam Rozumalski
Adam Rozumalski 2016년 1월 22일
댓글: Geoff Hayes 2016년 1월 22일
I get different output each time I use runsqlscript. And each time it returns an incorrect query. The ODBC datasource that the query connects to is not changing, so why would the output? Using the exec and fetch functions on the same query returns the correct result.
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2016년 1월 22일
Michael - what commands are you using to populate your SQL script? Please show the contents of the file, and the code used to execute the queries using runsqlscript and using the exec and fetch functions. Also, please describe the results returned from running the former. What do you mean that it returns an incorrect query? Are records being retrieved from the wrong table(s), are incorrect fields being returned, etc.?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Reporting and Database Access에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by