Category Archives: Databases

standardizing on booleans in mysql

Okay, so here’s a question I would normally pose to a mailing list, but since my email setups are so jacked up at the moment, there really isn’t a good way I could subscribe and ask one, so I’ll just … Continue reading

3 Comments

Filed under Databases

mysql ordering by string with possible blank entries

I just found a workaround to something I’ve always preferred to do in SQL. I’m using MySQL 5 at work, and I had a query where I would order the entries by a column that is a varchar. Since there … Continue reading

2 Comments

Filed under Databases

postgres and mysql comparison paper

I’ve been job hunting, and while my dream job would be somewhere that uses PostgreSQL, I am having an extremely hard time finding anyone that uses it. So, I think my chances might be better actually getting a company to … Continue reading

6 Comments

Filed under Databases

prepared statements and stored procedures

I’m still working on cleaning up the import scripts for GPNL, and I’m going to have to start using PHP’s PDO database layer to connect to an SQLite3 database at one point. I haven’t used it yet, but I had … Continue reading

Leave a Comment

Filed under Databases

nice mysql vs postgres summary

I was googling for a postgresql image I could use when I found this page, a nice short summary on the differences between MySQL and PostgreSQL with an emphasis on development policy. I should mention that I’m linking to it … Continue reading

Leave a Comment

Filed under Databases

potential postgres schema for lds-scriptures 3.0

Well, that was fast. I looked at the schema last night for the MDP Scriptures project, and started cleaning it up, and it went really quickly. I’ve got a postgres dump all ready for review, and this is probably the … Continue reading

1 Comment

Filed under Databases, Religion

gentoo packages that need lovin'

I mentioned not too long ago that I was working on getting portage details crammed into postgresql, and here is the end result. GPNL is meant to be a QA tool for treecleaners to use, making it easier to find … Continue reading

Leave a Comment

Filed under Databases, Gentoo

death to sql server (part 4)

I’ve written about this before, but to rehash … the date functions inside SQL server suck. What’s really weird is that there’s an undocumented way to retrieve out certain datetime formats, and even that is inconsistent in its numbering scheme. … Continue reading

1 Comment

Filed under Databases

postgresql functions

One thing I love about (advanced) databases is that you can write functions. They speed up the query time quite a bit, and you can do fun stuff like IF … ELSE … THEN statements. In working on getting portage … Continue reading

Leave a Comment

Filed under Databases

portage in postgresql

Well, I’m bored, so I figured I’d spill the beans on a project I’ve been keeping under wraps for a while. I’ve been working on getting everything about the portage tree into postgresql so you can run all kinds of … Continue reading

4 Comments

Filed under Databases, Gentoo