update Database using .sql files

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kirkuk_um
Posts: 6
Joined: Fri 18 Aug 2006 05:09
Location: Johor Bahru, Malaysia
Contact:

update Database using .sql files

Post by kirkuk_um » Wed 23 Aug 2006 07:57

hi all..

hope u all can help me ;(

let say i hv one file (eg. consumer.sql)
..then i need to update the Consumer table in my database using my sql file (consumer.sql). what component should i use n how? thanks..

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 23 Aug 2006 12:59

You can use either of following components: TMyScript, TMyDump, TMyQuery. But only TMyDump allows you to watch restoration progress (OnRestoreProgress event).

Post Reply