Hi,
usually a procure for mysql quick insert data can be done like this:
DELIMITER $$
DROP PROCEDURE IF EXISTS sampleData$$
CREATE PROCEDURE sampleData()
BEGIN
DECLARE x INT;
DECLARE thedate DATETIME;
SET thedate = '2012-12-01';
SET x = 1;
WHILE x <= 6 DO
SET x = x + 1;
SET thedate = DATE_ADD(thedate, INTERVAL 1 DAY);
INSERT INTO `temptable` (`x`, `thedate`)
VALUES (x, thedate);
END WHILE;
END$$
DELIMITER ;
best,
tecbea
Java Obfuscate Properties
Hi there how many times we have fuckin stupid commentaries of , hey the code has a password... bullshit you can always get the password... ...
-
Hi, Pivot4J is a awesome JSF project (I'm in love by JSF). So I decide it to start it looking to it, 1st thing is to build it: 1...
-
Hi, as as continuation part of older post on Pivot4J, here is the path to put it working with a IDE: 1. Java First thing first, make s...