Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)

TorgoX
  sburkeNO@SPAMcpan.org
http://search.cpan.org/~sburke/

"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Wednesday October 02, 2002
06:17 PM

old squul

[ #8144 ]
Dear Log,

On the mp3-trola: Grieg's "Ballade (Variations on a Norwegian Melody)"

So last night I worked sat down and finally learned some proper SQL -- I had been avoiding it for literally years. I figured out just enough to do what I need for my current little project:

create table foo ( ... );
insert into foo (field1, field2) values ("val1", "val2");
select * from foo;
update foo field1=null where uid = 4;
update foo set field1="thing" where uid = 4;
replace into foo (uid,field2) values (val1,val2);
delete from foo where uid = val1;
lock tables foo write;
lock tables foo read;
unlock tables;

And that's the fact, Jack.

As a language, SQL seems eerily COBOL-like. Not a language I'd want to use to target missiles with, but passable for what it is -- just an interaction layer.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.