Showing entries 40193 to 40202 of 44823
« 10 Newer Entries | 10 Older Entries »
Custom ordering for your results

... or, taming the ORDER BY clause.
Say you want to implement a custom ordering for your queries, as an example, you want to display each customer's orders with shipped orders first, then waiting orders and open orders last.
That's ordering by the 'status' column and you can't use alphabetical ordering!
In this case you'll have to implement some kind of logic in your order by clause, and a CASE is very handy, like this:

  1. SELECT * FROM SALES
  2. ORDER BY
  3. cust_no,
  4. CASE WHEN order_status = 'shipped' THEN 1
  5. WHEN order_status = 'waiting' THEN 2
  6. WHEN order_status = 'open' THEN 3
  7. ELSE 4
  8. END;


Note how the ordering is performed on the values substituted by the CASE statement and not
for the original column values.
This example is based on Firebird's EXAMPLE.FDB database.

[Read more]
ODBC Trace

Whats is it?

ODBC Trace output (also referred to as ODBC logging) is useful when problem solving ODBC issues as it shows the calls made through the various layers of software. ODBC Trace output is often requested by support folks when asked to solve an ODBC issue so including one with a request for help is often going to lead to a faster response.

There are a number of ways, and places, to produce trace output. The two most common trace sources are;

  1. DM Trace Output
  2. Driver Trace Output

DM Trace Output
Trace output from the DM is usually enough to solve an ODBC issue and as such is the most interesting for an initial request for help. This trace is typically turned on/off via an ODBC GUI Administrator. On MS Windows XP you can find this program in the “Control Panel -> Administrator Tools” (you may have to turn on “Classic View” to find …

[Read more]
Installing innotop on FreeBSD and Gentoo

I recently got a message letting me know FreeBSD users will soon be able to install the innotop MySQL and InnoDB monitor through ports. Gentoo GNU/Linux users can find innotop in Portage.

.ORG, not .COM...

And yes, the website is:
http://mysqlcamp.org/

Not .com

Call for Participation -- XTech 2007

On Edd Dumbill's behalf... Call for Participation -- XTech 2007 (Paris, France. 15-18 May 2007)

Proposals for presentations and tutorials are invited for XTech 2007, Europe's premier web technologies conference. The deadline for submitting proposals is December 15th, 2006. Read the CFPs and submit proposals online.

The theme for this year's conference is "The Ubiquitous Web". As the web reaches further into our lives, we will consider the increasing ubiquity of connectivity, what it means for real world objects to connect with the web, and the increasing blurring of the lines between virtual worlds and our own.

The technologies underpinning these developments include mobile devices, RFID, Second Life, location-aware services, Google Earth and more. The issues …

[Read more]
oDesk/O'Reilly Tech Visualizations

By Brady Forrest


Benchmark Capital funded oDesk operates an online project marketplace for hiring and managing remote technical staff. It is free to post a job. They have 5,000 developers in their network. oDesk made two announcements today at the Web 2.0 Conference.

First, they announced the oDesk Online Testing service production launch. Over 100 free tests are available in Ajax, PHP, MySQL, .NET, Java, and XML. More than 1,400 developers have been tested so far. I wonder how this will affect the hourly rates on oDesk. Will there be oDesk study guides in the future?

Second, they announced a partnership with O'Reilly Research to analyze their data and produce …

[Read more]
Infobright & MySQL AB Announce Storage Engine Partnership

Infobright Inc. and MySQL AB have signed a partnership agreement as part of the MySQL Certified Storage Engine Program. Infobright has completed the technical integration of MySQL® with its innovative BrightHouse database engine. It is available for purchase now -- sold and supported by Infobright.

MySQL Scale-Out With Application Partitioning

Introduction: Eventually every database system hit its limits. Especially on the Internet, where you have millions of users which theoretically access your database simultaneously, eventually your IO system will be a bottleneck.

Conventional solutions: In general, as a first step, MySQL Replication is used to scale-out in such a situation. MySQL Replication scales very well when you have a high read/write (r/w) ratio. The higher the better. But also such a MySQL Replication system hits its limits when you have a huge amount of (write) access. Because database systems have random disk access, it's not the throughput of your IO system that's relevant but the IO per second (random seek). You can scale this in a very limited way by adding more disks to your IO system, but here too you eventually hit a limit (price).

Installing innotop on FreeBSD and Gentoo

I recently got a message letting me know FreeBSD users will soon be able to install the innotop MySQL and InnoDB monitor through ports. Gentoo GNU/Linux users can find innotop in Portage. FreeBSD adds innotop to ports When this is finalized, FreeBSD users will be able to install innotop with the following commands: cd /usr/ports/databases/innotop make all install This is great news. It makes innotop easier to find, install and use.

Connector/ODBC v5.00.07 Beta 3

MySQL Connector/ODBC 5.00.07 Beta 3 has been released. MySQL Connector/ODBC is our next generation ODBC driver which allows access to the MySQL server using the ODBC standard - a cross-platform, cross-database, C, Call Level Interface.

This version is being released to get community feedback but is NOT suitable for production environments. It is now available in binary form from the Connector/ODBC download pages and mirror sites (note that not all mirror sites may be up to date at this point of time - if you can’t find this version on some mirror, please try again later or choose another download site.)

Install Notes

Please uninstall any existing Connector/ODBC v5 before installing this version.

Changes

  • FIX: Fixed SQLDescibeCol returning column name length in bytes rather than …
[Read more]
Showing entries 40193 to 40202 of 44823
« 10 Newer Entries | 10 Older Entries »