Some interesting thoughts on how to leverage ChatGPT

  • Threen
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    One thing I used ChatGPT for recently was generating test data.

    Hey ChatGPT, I use SQL Server and here is my table structure, please generate an insert query with 10 rows of fake test data.

    It wasn’t perfect, but honestly nor is the test data I would have written. It was a great starting point and saved me a lot of time since this is a legacy app with some wide tables (30+ columns).

    • Erlingur@programming.devOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Me too! I used it recently to generate some fairly specific test data that would have taken me probably 30 minutes of massaging instead of the 30 seconds of creating the right prompt. So helpful!