Blog

Determine MySQL table’s primary key dynamically

  • 06 Oct, 2011
  • read

You may have been in a situation which you may need to figure out what is the PRIMARY key field of a given table. Or even if it is a compound key what are the columns building the PRIMARY key. This usually helps a lot when you’re making some generic tools to do some jobs on a given table.

Continue Reading

MySQL triggers ; error 1442

  • 05 Jul, 2011
  • read

MySQL Trigger is a powerful tool to provide the data consistency and accuracy among your tables or Database in general. The only disadvantage among Triggers is that they’re not able to update the same table they’re based on.

Continue Reading

MySQL federated tables

  • 17 May, 2011
  • read

MySQL FEDERATED Table is a proxy to a regular table located in another DB server. You will see the table as a local table while it’s being located in another MySQL Database Server.

Continue Reading