Last active
          June 14, 2023 00:23 
        
      - 
      
 - 
        
Save danilkuznetsov/c37f1737abdca78e6a0e2688d9f50173 to your computer and use it in GitHub Desktop.  
    Export data from H2 database into CSV
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | CALL CSVWRITE('/home/<user>/downloads/<table_name>'.csv', 'SELECT * FROM <table_name>', 'charset=UTF-8 fieldSeparator=;'); | |
| Without field delimiter " | |
| CALL CSVWRITE('/home/<user>/downloads/<table_name>'.csv', 'SELECT * FROM <table_name>', 'charset=UTF-8 fieldSeparator=; fieldDelimiter='); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment