Blog with ORACLE related posts (mainly PL/SQL programming) and some personal thoughts
Blog com artigos sobre ORACLE (principalmente sobre programação PL/SQL) e alguns pensamentos pessoais.
2008-05-30
TIOBE Programming Community Index May 2008
PL/SQL in 14th (was 13th in May 2007) in the TIOBE programming community index
Categorias / Labels:
Oracle Blues,
PL/SQL
2008-05-26
Trabalho, trabalho, trabalho?
Se tens o teu nariz no trabalho enfiado,
durante todo o tempo e não tiveres cuidado,
um dia negarás que se possam encontrar
Regatos murmurantes e aves a cantar.
Então o teu mundo, apenas há-de ter:
Tu próprio, o teu nariz
e o trabalho para fazer.
Categorias / Labels:
Para pensar,
Pessoal
Uma nova maneira de seguir os consumidores
Nos E.U.A. já 2 shopping têm um sistema que segue o percurso do cliente pelo shopping.
Assim podem saber entre outras coisas: onde os clientes param mais, que um cliente que visita esta loja depois visita também uma outra, etc..
Claro que questões de privacidade se levantam mas asseguram que o único dado pessoal que obtêm pelo IME do telefone é a nacionalidade do telefone.
Desde que não cruzem esses dados com outra base de dados....
Shops track customers via mobile phone
Assim podem saber entre outras coisas: onde os clientes param mais, que um cliente que visita esta loja depois visita também uma outra, etc..
Claro que questões de privacidade se levantam mas asseguram que o único dado pessoal que obtêm pelo IME do telefone é a nacionalidade do telefone.
Desde que não cruzem esses dados com outra base de dados....
Shops track customers via mobile phone
Categorias / Labels:
Coisas soltas,
Pessoal
2008-05-23
Tabelas Úteis
Quem como eu necessitar de saber algums MIME types veja esta página.
(Há MIME types como o lixo!)
E que tal a tabela ASCII com também os caracteres em código HTML?
Bom fim de semana e bom trabalho!
(Há MIME types como o lixo!)
E que tal a tabela ASCII com também os caracteres em código HTML?
Bom fim de semana e bom trabalho!
Categorias / Labels:
Coisas soltas,
Pessoal
2008-05-22
Balada para los poetas
Hoje recebi um email a perguntar por quem cantava o poema "Balada para los poetas" de Rafael Alberti (devido a eu ter esse poema numa página no meu site).
Pois procurei logo na net e encontrei a resposta: AguaViva e ainda encontrei a música e um video no youtube!
poema original e letra no meu site
Pois procurei logo na net e encontrei a resposta: AguaViva e ainda encontrei a música e um video no youtube!
poema original e letra no meu site
Categorias / Labels:
Leituras,
Música,
Para pensar,
Pessoal
2008-05-21
writing code that BULKs into a rowtype will crash the session
Another bug that i found....Someone already told me that they new of this issue also reported by me some two years ago but I could not remember it :-(
(it's the old age...)
Of course its a code error to make a bulk into a rowtype variable, but if you try to code it it will not give you an error it will crash the session!
Here goes the code sample that makes it happend :-(
Then try to create the package
This will crash the session ...I try with SQLNavigator and SQLPlus
(it's the old age...)
Of course its a code error to make a bulk into a rowtype variable, but if you try to code it it will not give you an error it will crash the session!
Here goes the code sample that makes it happend :-(
CREATE TABLE a_test (a VARCHAR2(20));
create or replace package test_pck is
end test_pck;
Then try to create the package
create or replace package body test_pck is
PROCEDURE test1
IS
lrt_test a_test%ROWTYPE;
BEGIN
SELECT * BULK COLLECT INTO lrt_test FROM a_test;
END test1;
end test_pck;
This will crash the session ...I try with SQLNavigator and SQLPlus
Categorias / Labels:
Bug,
Oracle Blues,
Oracle Bug
2008-05-19
Two small things I learn today
Today I learned that there is always something that we don't know, even in our main activity area.
1- In Oracle it's possible to make columns unavailable to normal use (SQL statements, etc..) without dropping them! So we could make a column "unavailable"
test all the code and only later dropping it
2- HTML has a tag button that makes possible to have buttons with images and text (besides the use of CSS classes).
Notice to myself: replace all the forms 'input type="submit" ' buttons to 'button type="submit"'
Of course that there is lots of stuff to learn about ORACLE but I was really surprised to find out that HTML tag!
Ok ...that tag only appeared in HTML 4.0 but that was almost 10 years ago! ops ...i'm getting old!
1- In Oracle it's possible to make columns unavailable to normal use (SQL statements, etc..) without dropping them! So we could make a column "unavailable"
alter table mytable set unused column mycolumn;test all the code and only later dropping it
alter table mytable drop unused mycolumn;2- HTML has a tag button that makes possible to have buttons with images and text (besides the use of CSS classes).
Notice to myself: replace all the forms 'input type="submit" ' buttons to 'button type="submit"'
Of course that there is lots of stuff to learn about ORACLE but I was really surprised to find out that HTML tag!
Ok ...that tag only appeared in HTML 4.0 but that was almost 10 years ago! ops ...i'm getting old!
2008-05-16
Steven Feuerstein voltará a Lisboa
Mais uma vez a DUTEC (representante da Quest SOftware em portugal trás o Steven Feuerstein a Lisboa (é sempre lá :-( ).
Desta vez de 5 a 6 Novembro 2008 para realizar uma Formação em PL/SQL (de dois dias).
Desta vez de 5 a 6 Novembro 2008 para realizar uma Formação em PL/SQL (de dois dias).
Categorias / Labels:
Oracle Blues,
PL/SQL
2008-05-14
How to check the time taken to execute something in Oracle?
No problem! PL/SQL provides a mechanism to obtain timings of code execution that are accurate to 100th of a second: the DBMS_UTILTY.GET_TIME function.
Within PL/SQL you can use DBMS_UTILITY.GET_TIME that provides a mechanism to obtain timings of code execution that are accurate to 100th of a second.
Check it before and after the section you want to find out the time taken and check the difference.
In SQL*Plus you can also try to use SET TIMING ON.
Within PL/SQL you can use DBMS_UTILITY.GET_TIME that provides a mechanism to obtain timings of code execution that are accurate to 100th of a second.
Check it before and after the section you want to find out the time taken and check the difference.
In SQL*Plus you can also try to use SET TIMING ON.
Categorias / Labels:
Oracle Blues,
Oracle DB,
PL/SQL
2008-05-13
Caneta e Papel?
Estamos a chegar a um tempo onde o computador é uma ferramenta comum.
Será que se vai perder o uso de papel e caneta?
Penso que não.
Tal como os documentos digitais (incluindo ebooks) não vieram eliminar o papel penso que existe lugar para tudo (mesmo numa sociedade ideal).
Mas já se começa a marginalizar quem não usa o computador e por qualquer razão ainda usa papel e caneta. Vejam a fotografia que me enviaram :-).
Será que se vai perder o uso de papel e caneta?
Penso que não.
Tal como os documentos digitais (incluindo ebooks) não vieram eliminar o papel penso que existe lugar para tudo (mesmo numa sociedade ideal).
Mas já se começa a marginalizar quem não usa o computador e por qualquer razão ainda usa papel e caneta. Vejam a fotografia que me enviaram :-).
Categorias / Labels:
Coisas soltas,
Pessoal
Subscribe to:
Posts (Atom)