How to copy/paste LARGE amounts of text in Windows
        Posted  
        
            by 
                Johnson
            
        on Super User
        
        See other posts from Super User
        
            or by Johnson
        
        
        
        Published on 2011-11-17T01:50:59Z
        Indexed on 
            2011/11/17
            1:54 UTC
        
        
        Read the original article
        Hit count: 306
        
windows-7
I am not sure if this is more suited for Superuser or Stackoverflow, but here goes...
A little bit of background:
I'm learning SQL and was trying to make a very large table which I could use for optimization tests. Something generic with random values. I created a little Java program to do just that, and was able to put out a text file with 100,000 lines, each line being an SQL INSERT statement for a new random record. However, with anything much bigger than 100,000 lines, I had problems either opening/using the text file in any text editor, or copying/pasting the text to the windows clipboard and then into SQL Developer so I could execute it as a script.
I'm probably overlooking something really obvious, or doing something really stupid. There has got to be a better way to do this, but I couldn't find anything through Google or Stackoverflow or Superuser.
Thanks!
© Super User or respective owner