View Single Post
id10t id10t is online now
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,362
Quote:
Originally Posted by zakthor View Post
Not once has ai given me working code so I remain a skeptic but it recently helped me.
I do a lot of ETL work based on CSV or CSV-like files. I can copy/paste a header row into chatgpt and have it generate a Java POJO that will import the file and match based on hte OpenCSV bindings/annotations, and then ask it to create a DB2 create table sql statement.

I used to do the same thing via shell scripting and complex search/replace stuff but even having to "fix" a few things on the SQL statement (variable types and sizes, add some columns to match our internal standards, grant statements) it is much quicker/easier to do it via chatgpt than command line.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 03-19-2025, 07:32 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)