- March (Thursday).
WebSphere Hacked!
It turns out that it's pretty easy to hack WebSphere and get a list of all the userids and decode their passwords -- if the local admin has not applied various fixes. Details at news.cnet.com/news/0-1003-200-5068115.html?tag=mn_hd and www-4.ibm.com/software/webservers/commerce/netcomletter.html.
- March (Thursday).
DB2 en espanol
Trying to find out how DB2 handles the equivalent of the SQL "top" clause (like SELECT TOP n * FROM table_name), I found the answer -- in Spanish. Got to be the first time that my years of Spanish actually helped me out with computers! (Full text at www.marteens.com/trick17.htm.)Para que usted no tenga que llegar a esos extremos, he aquí algunos trucos para limitar el número de filas que puede devolver una consulta SQL. Comencemos con SQL Server, donde podemos indicar la limitación mediante una cláusula especial después de la palabra select:
select top25 * from ClientesTambién podemos indicar un porcentaje del número total de registros:
select top5 percent * from ClientesEn DB2, se puede utilizar una cláusula equivalente al final de la consulta:
select* from Clientes fetch first 25 rows onlyOracle resuelve el problema gracias a una pseudo columna, de nombre rownum:
select* from Clientes where rownum <= 25