SQL Database - Import Specific Rows from Large file
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello!
I am dealing with some fairly large SQL Database Tables, some that can take multiple minutes to fetch/read. Is there a way to import select rows from the table to decrease processing time? This processing time extendings the loading time for an app that I am designing.
(Parralell Computing Toolbox is not an option)
댓글 수: 0
채택된 답변
Srija Kethiri
2023년 4월 18일
Hi Hayden,
I understand that you have a large database and want to import only a few rows from it, to decrease the processing time.
You can use the “databaseImportOptions” function and set the “RowFilter” property of the function, to the desired condition to import the data you required.
To know more about “databaseImportOptions”, please refer to the following documentation:
Hope this helps!
댓글 수: 0
추가 답변 (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!