Recent

Author Topic: sql queries without connecting to database ?  (Read 3029 times)

yahoo000

  • New Member
  • *
  • Posts: 18
sql queries without connecting to database ?
« on: October 16, 2021, 11:07:31 am »
is there any component in lazarus where I can insert data, and do some queries like it is in sql , "Select * from xxx where data='sss'" ??

MarkMLl

  • Hero Member
  • *****
  • Posts: 3530
Re: sql queries without connecting to database ?
« Reply #1 on: October 16, 2021, 11:37:43 am »
So if you do that what do you reckon will respond with stored data?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

korba812

  • Full Member
  • ***
  • Posts: 224
Re: sql queries without connecting to database ?
« Reply #2 on: October 16, 2021, 12:25:28 pm »
There is a component for storing data in memory with SQL query possible - ZMSQL
https://wiki.freepascal.org/ZMSQL

yahoo000

  • New Member
  • *
  • Posts: 18
Re: sql queries without connecting to database ?
« Reply #3 on: October 16, 2021, 01:40:29 pm »
There is a component for storing data in memory with SQL query possible - ZMSQL
https://wiki.freepascal.org/ZMSQL

thx ! :)

Zvoni

  • Hero Member
  • *****
  • Posts: 808
Re: sql queries without connecting to database ?
« Reply #4 on: October 18, 2021, 10:01:28 am »
Use SQLite and create an InMemory-Database?
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

 

TinyPortal © 2005-2018