Search found 322 matches

by zippo
04.01.2007, 22:34
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Noob : Retrieve FieldNames
Replies: 8
Views: 1895

One more trick: If you want, you can use table fieldnames to get what you need. Example:

Query1.FieldByName('FIRST_NAME').AsString := 'Hohoho';

Ah, and finally: Have a nice and successfull 2007!! (This is dedicated to all!)
by zippo
22.12.2006, 15:52
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: copy from MsSQL to MySQL database
Replies: 11
Views: 1729

regular = TTable + BDE + ODBC As said: Ugly, slow, but usually worx for one-tme projects .. :)
by zippo
21.12.2006, 20:21
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: copy from MsSQL to MySQL database
Replies: 11
Views: 1729

Try to access it via ODBC (latest of course) and "regular" datasets (like old,slow, ugly BDE) :)
by zippo
20.12.2006, 13:31
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: copy from MsSQL to MySQL database
Replies: 11
Views: 1729

Sorry, don't understand... SQL as itself is a string that descripts the values to be inserted. Example, please.
by zippo
19.12.2006, 12:45
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: copy from MsSQL to MySQL database
Replies: 11
Views: 1729

Anytime.. Hope it will work OK (never tried between different database types).
by zippo
19.12.2006, 11:59
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: copy from MsSQL to MySQL database
Replies: 11
Views: 1729

I would try to do it by 4 methods 1. Via MySQL GUI tool for data migration - I tried it once and it worked quite well (few, nonrelevant errors). Definitely worth a try. 2. Via SQL export. I'm not an MSSQL expert, but if there's a SQL export option, use it. And if (well, chances are quite low here) t...
by zippo
11.12.2006, 10:48
Forum: MySQL
Topic: Moving to MySQL, need some ideas
Replies: 4
Views: 1559

Good luck!

If you need more help, just post here ;)
by zippo
10.12.2006, 02:04
Forum: 6.1.5
Topic: Problem with RecordCount
Replies: 5
Views: 4563

I still use the good-old-fashioned "Select Count(*) From TABLE" instead of RecordCount.. :) (of course, where it is possible to do this).
by zippo
10.12.2006, 02:00
Forum: MySQL
Topic: Moving to MySQL, need some ideas
Replies: 4
Views: 1559

Using MySQL for latest 4 yeary - totally happy withe it. About your questions: MyISAM is OK. InnoDb is better for transactions, foregn keys, table/row locking and (in some cases) for stored procedures. I use both engines - except for speed the usage is practically identical. I reccomend you MyISAM f...
by zippo
14.11.2006, 10:18
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQL Storedprocedures
Replies: 16
Views: 3942

What about triggers? This way you can post into a table and the server will process the data in a secure way.
by zippo
14.11.2006, 09:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQL Storedprocedures
Replies: 16
Views: 3942

Hmmm.. true, but aren't functions usually called within the Call command, not via Select?
by zippo
14.11.2006, 09:09
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQL Storedprocedures
Replies: 16
Views: 3942

Use a TZQuery - see above.
by zippo
13.11.2006, 21:37
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Reduce time to open database
Replies: 9
Views: 2438

Another trick is to select as many columns as you can: Instead of

Select * From TBL1

Try to use

Select FLD1,FLD2 From TBL1

It can drammatically improve speed.
by zippo
08.11.2006, 23:08
Forum: Bug Reports
Topic: [bug_fixed] Zquery and Ztable not accept numeric database
Replies: 8
Views: 4623

I agree with mdaems - it's a very risky practice.
Suggestion: Make a table prefix, for example "tbl1" or "application1"... etc.
by zippo
08.11.2006, 18:49
Forum: Bug Reports
Topic: [bug_fixed] Zquery and Ztable not accept numeric database
Replies: 8
Views: 4623

SHOW TABLES FROM 99 LIKE 'clientes'

Should be

SHOW TABLES FROM `99` LIKE 'clientes'