# Use Toad Data Point - Query Local csv or Txt file

**URL:** <https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [November 11, 2019, 7:18pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132 "2019-11-11T19:18:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbiggs](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sbiggs](https://forums.toadworld.com/u/sbiggs)\
**Post date:** [November 11, 2019, 7:18pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/1 "2019-11-11T19:18:59Z")

</div>

I have a large 5GB txt file that I cannot open in Notepad or Notepad++ or Excel. Is it possible to use TDP to query/SQL this file on my local C: Drive?

---

<div class="post-metadata">

**Author:** ![Gary.Jerep](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gary.jerep/32/205_2.png) [@Gary.Jerep](https://forums.toadworld.com/u/Gary.Jerep)\
**Post date:** [November 11, 2019, 7:54pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/2 "2019-11-11T19:54:28Z")

</div>

Could depend on how "beefy" your workstation configuration is (e.g. best if you have lots of RAM, etc....limited or low RAM could impact how big a file Toad DataPoint can read in).

However, would be easy to check... have Toad DataPoint's flat file connector (tab-delimited? fixed column?) point to the file's location and see what happens...

---

<div class="post-metadata">

**Author:** ![sbiggs](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sbiggs](https://forums.toadworld.com/u/sbiggs)\
**Post date:** [November 18, 2019, 9:13pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/3 "2019-11-18T21:13:25Z")

</div>

Thank you, I’ll give it a try!

![image001.png](https://global.discourse-cdn.com/quest/original/2X/3/3021178d7f7e47803e0af029a50cae459b9fd7e5.png)

---

<div class="post-metadata">

**Author:** ![Gary.Jerep](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gary.jerep/32/205_2.png) [@Gary.Jerep](https://forums.toadworld.com/u/Gary.Jerep)\
**Post date:** [November 19, 2019, 1:03am UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/4 "2019-11-19T01:03:07Z")

</div>

Let me know how you fare...

---

<div class="post-metadata">

**Author:** ![bholtermann](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bholtermann](https://forums.toadworld.com/u/bholtermann)\
**Post date:** [November 19, 2019, 2:44pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/5 "2019-11-19T14:44:21Z")

</div>

Perhaps another solution is to divide the source file into sizes your computer can handle. I have done this with a CSV file and then processed the 2 parts separately. This works if you do not have to share data thru the entire file.

I think there is a way in Toad to limit the number of lines you can read but I am not sure if you can start this process down into the file to begin a 2nd 1/2 read etc..

---

<div class="post-metadata">

**Author:** ![sbiggs](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sbiggs](https://forums.toadworld.com/u/sbiggs)\
**Post date:** [December 3, 2019, 8:47pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/6 "2019-12-03T20:47:13Z")

</div>

Hi Gary,

I don’t see a connection called ‘Flat File Connector’. This is what I see:

(I tried ‘csv’, but got an error)

 ![image001.png](https://global.discourse-cdn.com/quest/original/2X/3/39474a21e677fde666128d0914e0dbca409361fb.png)

Error when opening a .csv:

![image004.png](https://global.discourse-cdn.com/quest/original/2X/4/487a18f4aaacfa9fb560eb6738ca582943abc4e1.png)

![image005.png](https://global.discourse-cdn.com/quest/original/2X/5/5f7d95aea53e0dcd342e03a769ced3820eb3cd4b.png)

![image001.png](https://global.discourse-cdn.com/quest/original/2X/3/3021178d7f7e47803e0af029a50cae459b9fd7e5.png)

---

<div class="post-metadata">

**Author:** ![Gary.Jerep](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gary.jerep/32/205_2.png) [@Gary.Jerep](https://forums.toadworld.com/u/Gary.Jerep)\
**Post date:** [December 3, 2019, 10:39pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/7 "2019-12-03T22:39:04Z")

</div>

Ah, yes... devil's in the details... so in order for Toad Data Point to properly access MS Office file types, including CSV and other flat files, which can be often affiliated with MS types, you'll need to make sure that you install the MS Access Database Engine package that Microsoft provides. This is also documented in TDP's Help content, including a link to the MS ADE download page.

You'll want to make sure that the bitness of TDP and the ADE match.

---

<div class="post-metadata">

**Author:** ![sbiggs](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sbiggs](https://forums.toadworld.com/u/sbiggs)\
**Post date:** [December 10, 2019, 2:55pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/8 "2019-12-10T14:55:36Z")

</div>

I ended up going another route….

I installed MS SQL Express 2017- free version on my local PC. I managed to find a video of how to tweak it so you can use MS SQL 2014 to open a file locally. So far, it’s working great!

Thank you for your suggestions…. !  
😊

![image001.png](https://global.discourse-cdn.com/quest/original/2X/3/3021178d7f7e47803e0af029a50cae459b9fd7e5.png)

---

<div class="post-metadata">

**Author:** ![Gary.Jerep](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/gary.jerep/32/205_2.png) [@Gary.Jerep](https://forums.toadworld.com/u/Gary.Jerep)\
**Post date:** [December 10, 2019, 4:11pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/9 "2019-12-10T16:11:55Z")

</div>

Creative! I'll have to google the details!

---

<div class="post-metadata">

**Author:** ![sbiggs](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sbiggs](https://forums.toadworld.com/u/sbiggs)\
**Post date:** [December 10, 2019, 4:27pm UTC](https://forums.toadworld.com/t/use-toad-data-point-query-local-csv-or-txt-file/48132/10 "2019-12-10T16:27:19Z")

</div>

Here’s the link….

![image001.png](https://global.discourse-cdn.com/quest/original/2X/3/3021178d7f7e47803e0af029a50cae459b9fd7e5.png)
