Is there any way of counting the number of rows writtend to the database with sqlwrite?
조회 수: 4 (최근 30일)
이전 댓글 표시
Is there any way of counting the number of rows writtend to SQL Server database with sqlwrite?
I would use @@ROWCOUNT but it has to be run in the same batch.
댓글 수: 0
답변 (1개)
Piyush Kumar
2024년 11월 19일
Hi,
To get the number of rows written to the SQL server database with sqlwrite, you can use sqlread before and after using sqlwrite statement and take the difference.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!