Vote UpVote

When all you have is a hammer, everything looks like a nail.

Delphi Code Monkey – I frequently run across questions like this one on Stackoverflow.  The person is asking how they might avoid hand-coding complex INSERT statements, using TADOQuery.   My comment in this question reads:You might find it easier to use a dataset (TADODataset or TADOTable) to do a dataset-like-job, and use a TADOQuery to do a query-like-job. Oh, and there is TADOCommand to run a Command. So if you're writing SQL "insert" strings, you might want to look at running those with TADOCommand. And you might want to avoid writing them at all, and just set field values and insert into ...
Favorite? Off-Topic? Warren Postma @ 2013-11-09 06:58


Visits: 1452
Votes: 5
Favorites: 0
Off-Topic: 1

Visits by Source

User Actions

Users who voted for this posting

Jim McKeeth
Jørn E. Angeltveit
Kyle A. Miller
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)