Posts tagged as:

database

LIMIT and OFFSET in MS SQL Server

Friday, September 22, 2006

How to Hack MySQL Paging Functionality into Microsoft SQL Server

Web developers using PHP and MySQL have a crucial piece of functionality that classic ASP developers working with Microsoft SQL Server don’t. It’s pagination. Using MySQL’s LIMIT and OFFSET commands you can very easily add pagination to recordsets that you want to display on web pages. If you’ve spent any amount of time searching for a way to do this with ASP and SQL Server, you know that the code is pretty hard to find. You’re lucky if you find it at all. The few tutorials on the ‘net tend to be overly complicated and pretty bad hacks, usually involving convoluted and resource-intensive subqueries on top of subqueries. This solution is certainly not the best, and it, too, is a resource hog, but it’s the only one I’ve got, so I’m sharing.
[click to continue...]

{ 4 comments }

MySQL Triggers Tutorial

Tuesday, September 19, 2006

Jon is one of my developers at work. He recently started a WordPress blog called Rusty Razor Blade. I’m guessing that most of what he’ll be posting is going to be fairly technical stuff about MySQL, LAMP, AJAX, and JSON. So far his first really interesting post is a MySQL Triggers Tutorial. It’s actually a bit better than the help page on mysql.com, and if you know what a trigger is in Microsoft SQL and have always wanted the same functionality in MySQL, you should give it a read.

{ 1 comment }

PHP / DAO

Tuesday, October 21, 2003

Code 10x More Efficiently Using Data Access Objects and PHP

{ 1 comment }

Rotating Ad Banner

Tuesday, June 10, 2003

Great tutorial for beginners: Rotating Banner Ads using a Database

{ 0 comments }