-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube video about SQL Index #5
Comments
I am also looking for the python code. The last comment was on August 9, 2020 and no response. It is a great video series by the way. |
I've written an Excel based version. Not pretty but works. You will need to create your own connection to your DB. I also thought perhaps I should try writing that python script too, so here it is. This creates an SQL file to import: import csv NUMBER_OF_RECORDS_TO_CREATE = 100000 female_path = "S:\CSV\female_names.csv" file = open (female_path, newline='') file = open (male_path, newline='') file = open (last_path, newline='') with open('S:\CSV\persons.sql', 'w') as file:
|
I also translated it to Java: If you can't get that to work, here is an SQL script with 2 million random names in it: It's limited by the 25MB file limit unfortunately. |
I'm watching this YouTube video, is amazing but there are no instructions about how to generate the random table.
Please give us the instructions and mention them in the video.
Thank you
The text was updated successfully, but these errors were encountered: