« first day (315 days earlier)      last day (428 days later) » 

5:05 AM
good morning to all
@Drew good morning
 
hello there
 
5:34 AM
@DevResearch if you ever have any mysql questions just ask here if you want
 
yaa that Engine
in your answer why we use MyISAM and InnoDB?
@Drew
 
we end up with innodb due to the last call. But the initial use of myisam is to get a definite consecutive block with no gaps.
It is not really important. Just think, oh wow, in the end I have a table of 4k ids 1 and up
 
but when i remove that engine and then try to run that then my query becomes infinite loop not excuting
 
5:53 AM
I don't know to what you are referring
 
its work fine
but i am confused if i am not giving engine then why this query not excuting
 
I think you are missing the whole point of 4kTable . It was make it like I showed and it is permanent. I have no idea what you are doing making something each time in a stored proc and then dropping it
I also don't have your employee data
I write stuff for speed. That table is never deleted
And it certainly isn't created in your stored proc. The proc needs to run fast and be done.
 
@Drew its speed is fine
but i have some Confusion please understand me
 
it is silly to not use a permanent table. You are just making it slower.
why not just put some random sleep statements in there :p
 
u suggest me
 
6:11 AM
you realize you changed the schema on me. I have to convert it
after running it with your sample data I get the 4 rows, 1 with nulls
4 rows of output as expected
so it would help if you want someone to debug your code if you gave a rebuild and a data load. I had to recreate that because you changed the schema and never gave any of it with data
 
6:49 AM
OK
where to use random sleep statement?
 
 
6 hours later…
12:29 PM
@DevResearch you wouldn't. It was a joke. Meaning unnecessary DDL commands like create table in a stored proc impact performance
 
JAL
1:13 PM
Morning @Drew, thanks for the pint last night, will review
Ha looks like that scaisEdge guy likes to answer duplicates
 
I could have fun just marching his tree
 
JAL
ha
 
the good news is that his sql has vastly improved. 4 months ago it was awful
like spaghetti at the wall
 
JAL
2:04 PM
haha
well, at least they're learning
 
If I voted to delete yesterday, can I vote to delete again today?
 
 
1 hour later…
JAL
3:12 PM
haha
I will try to seed some to other users with delete privileges
 
3:36 PM
del stuff stackoverflow.com/questions/39694844 , well that's it. rest has to age
 
JAL
3:47 PM
voted, thanks
 

« first day (315 days earlier)      last day (428 days later) »