ALTER USER username
IDENTIFIED BY password
QUOTA UNLIMITED ON tablespace_name;

[Oracle Sql] – set unlimited quota for user on tablespace
August 28, 2007
[css] – stylesheet to solve incorrect page break in printing
May 8, 2007Try to use this stylesheet for printing and it could solve your printing problem when it comes to multiple page printing, especially for table-based reports.
@media print {
h1 { page-break-before: always }
h1, h2, h3,
h4, h5, h6 { page-break-after: avoid }
ul, ol, dl { page-break-before: avoid }
}

[J2EE] All in one eclipse distribution
April 13, 2007I’ve recently tested this distribution of eclipse that bundler with most of the much needed plugin, it cut down the time to setup a new eclipse, especially when you are working with spring, hibernate, tomcat and JBoss.
http://www.easyeclipse.org/site/home/

[J2EE] Remote Service and web services using Spring
April 11, 2007I was trying to find out if Spring framework can provide remote service like EJB, and was able to find this article
http://www.springframework.org/docs/reference/remoting.html
Spring actually support Remote Service with the following technologies:
Remote Method Invocation (RMI)
Spring’s HTTP invoker
Hessian
Burlap
JAX RPC
JMS

[Freeware] Wink- Screen capture and demo tool
April 10, 2007http://www.freeware4u.com/index.php?option=com_remository&Itemid=26&func=fileinfo&id=101

[Java] – Simple trick to export to excel
April 5, 2007Simply set the header to inform browser that the content type is for xls application.
response.setHeader(“Content-type”,”application/vnd.ms-excel”);
response.setHeader(“Content-disposition”,”inline; filename=myfilename.xls”);

[Oracle] – End Line Char [enter]
April 5, 2007chr(10) and chr(13) is the end line char.
chr(10) || chr(13) is equivalent to [enter] key in windows.

[Oracle] SQL to optimize performance
April 4, 2007You can try to run the following statement to improve the performance of table querying.
ANALYZE TABLE <table_name> COMPUTE STATISTICS;
If your table is big enough, it will drastically improve the query timing.
This may not be the best way to improve the performance as some school of thought suggested that this is ‘old-fashioned’ way of performance optimization.
Do read more if you are serious about performance optimization. I found this link which may be useful to you: http://www.stanford.edu/dept/itss/docs/oracle/10g/text.101/b10729/aoptim.htm

[Oracle] – Check for any NON-NUMERIC value in a column
March 30, 2007select *
from table_name
where
instr(translate(column_name,
’0123456789′,
‘XXXXXXXXXX’),’X') != length(column_name);
Only record with NON-NUMERIC value in column_name will be displayed.