On 10/04/2010 04:20 PM, Long Wind wrote:
I have heard that sql can do all tasks that a procedural programming language can do so
That is manifestly *incorrect*, since SQL is a declarative domain-specific language.
However... RDBMSs like PostgreSQL and Oracle offer procedural language extensions to SQL that will probably serve your purpose.
-- Seek truth from facts.