I'm pretty much new tu MySQL, and completly new to accessin MySQL DB through delphi
I allready manages to get my MySQL data viewed(i'm using the standart MySQL learning 'menagerie' DB) , but i can't get data inserted/updated/deleted any help is appreaciatted. A small example would be the best (with the 'menagerie' DB) Karys@parabole.lt
MySQL+Delphi 7 Data inserting
Moderators: gto, cipto_kh, EgonHugeist
for Insert use INSERT SQL statment.
INSERT INTO tablename
(field1, field2...)
VALUES (value1, value2...)
For update,
UPDATE tablename
SET field1 = newvalue1, field2 = newvalue2
and for Delete use
DELETE FROM tablename WHERE field1 = value1.
Try to find a book for SQL language and read it before You continue with learning.
INSERT INTO tablename
(field1, field2...)
VALUES (value1, value2...)
For update,
UPDATE tablename
SET field1 = newvalue1, field2 = newvalue2
and for Delete use
DELETE FROM tablename WHERE field1 = value1.
Try to find a book for SQL language and read it before You continue with learning.
-
- Fresh Boarder
- Posts: 9
- Joined: 13.10.2006, 17:09