SQL Database - Import Specific Rows from Large file
2 views (last 30 days)
Show older comments
Hayden Raabe-Garmon
on 16 Mar 2023
Answered: Srija Kethiri
on 18 Apr 2023
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 Comments
Accepted Answer
Srija Kethiri
on 18 Apr 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!