Forum Moderators: open
In light of that information, let me pose another question.
I need to dynamically insert 390 values into a table. I can easily group information by 12s and 30s.
Given that this operation is only going to happen twice a month, what's your in terms of performance?
Should I run a query to INSERT 30 values 12 times, or 12 values 30 times?
</g>
INSERT INTO mytable (col1, col2, col3, col4, col5, col6) VALUES
(NULL , '1-04-2007 00:00:00', '0' , '0' , NULL, NULL),
(NULL , '1-04-2007 00:00:00', '0' , '0' , NULL, NULL),
(NULL , '1-04-2007 00:00:00', '0' , '0' , NULL, NULL),
(NULL , '1-04-2007 00:00:00', '0' , '0' , NULL, NULL);
Be careful you aren't writing duplicate keys though.