Nimble Coder

Adventures in Nimble Coding
posts - 76, comments - 39, trackbacks - 0

Oracle

There are 1 entries for the tag Oracle
Overcoming SQL GROUP BY challenges with ROW_NUMBER

In SQL, aggregate functions will return the group by values or the aggregate function results, but it is difficult (or at least harder than it should be) to return the primary key or ROWID. In contrast, most programming languages will return the instance (or a pointer/reference to the instance) when searching for items. Background A project manager allocated me several weeks ago on emergency basis to help out with another project that was having difficulties with a SQL Historian system. I ended up developing a nice set of SQL tables, functions, and stored procedures to transfer data from a remote...

posted @ Monday, April 14, 2008 2:35 PM | Feedback (0) | Filed Under [ SQL ]

Powered by: