JortK.nl
Mind farts of a crappy coder!
  • Home
  • Fok!Search
  • Fok! Maandcijfers
  • WP-Cleanup

database

Useful PHP and MySQL articles to improve your development skills!

By JortK on January 27, 2010

CakePHP Authsome Authentication for people who hate the AuthComponent.

Posted in MySQL, php | Tagged cakephp, database, design pattern, development, factory method, framework, MySQL, objects, oop, php, pivot, variables | 6 Responses

The 20 best practices when using MySQL

By JortK on November 28, 2009

Just came across this great article with 20 best practices when using MySQL: MySQL best practices. Be sure to check them, the following items are in the article: Optimize Your Queries For the Query Cache LIMIT 1 When Getting a Unique Row Get Suggestions with PROCEDURE ANALYSE() Prepared Statements Split the Big DELETE or INSERT [...]

Posted in MySQL | Tagged best practices, cache, database, db, MySQL, query, select, show | Leave a response

Using TOP in Oracle queries

By JortK on June 30, 2009

We already discussed the methods to use TOP functions in MySQL and in MSSQL. In Oracle we make use of the ROWNUM function in the WHERE clause. To take our names table again in this example, to get the first 5 rows, make use of the following query: SELECT firstname,lastname FROM names WHERE ROWNUM <= [...]

Posted in How to | Tagged database, limit, oracle, query, top, trick | Leave a response

Using TOP in MySQL queries

By JortK on June 26, 2009

On the web I see a lot of questions of developers who are wanting to know how they can retrieve only the first N records in their queries. The answer is simple, LIMIT For example, if you only want to select the top 5 names from a names tables, use the following query: SELECT `firstname`,`lastname` [...]

Posted in How to | Tagged database, db, limit, MySQL, query, rownum, top, trick | Leave a response

Usefull MySQL articles and tutorials to improve your skills!

By JortK on June 9, 2009

As promised in my previous post with usefull PHP articles and tutorials, now it’s time for some cool and handy SQL articles! Here we go: Execute SQL job through batch file This article will show you how you can execute a SQL job with one click, allowing anyone to do this. Author Divya Agrawal shows [...]

Posted in How to, Tech news | Tagged articles, database, MySQL, sql, sqlyog, tutorials | 1 Response

How to: Computed columns in SQL Server

By JortK on December 30, 2008

Last week I was playing around with the computed columns feature in SQL Server from Microsoft. A computed column is computed from an expression that can use other columns in the same table. The expression can be a noncomputed column name, constant, function, and any combination of these connected by one or more operators. The [...]

Posted in How to | Tagged computed columns, database, microsoft, sql | 2 Responses

MySQL: Performance benchmark MyISAM versus InnoDB

By JortK on December 22, 2008

Because I’m running a project which has a relative large database (tables with 70.000.000 records in them), I wanted to know which was faster in performance, MyISAM or InnoDB. Currently I’m using MyISAM, and I’m running into some performance and stability issues. First, I’ve created a table with a few columns:

Posted in MySQL | Tagged benchmark, database, innodb, myisam, MySQL, performance, sql, storage engines | 2 Responses

MySQL Event Scheduler – A good replacement for cron

By JortK on December 11, 2008

We all know about cron, an easy way to schedule certain processes, like truncating your log tables in your MySQL database every week. With MySQL 5.1 the guys at MySQL introduced a new cool feature: The MySQL Event Scheduler ! With the Event Scheduler you can schedule tasks that you want to perform on your database. [...]

Posted in MySQL | Tagged cron, database, event scheduler, MySQL, scheduler | 2 Responses

Categories

  • google
  • How to
  • microsoft
  • Movies
  • Music
  • MySQL
  • php
  • Pictures
  • RSS Reader Picks
  • seo
  • Site News
  • Tech news
  • twitter
  • Uncategorized
  • wordpress

Tags

ad ads adsense analytics android api apps blog browser buzz chrome css dance development docs funny gmail google hardstyle hiphop house jquery labs mail maps mobile movie Music MySQL photoshop php rap rss search seo social tip tutorial twitter video wave web development webinar wordpress youtube

Archives

  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • April 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008

Copyright © 2010 JortK.nl.

Powered by WordPress, Hybrid, and Structure.