this post was submitted on 12 Jun 2023
15 points (82.6% liked)

Programming

17344 readers
424 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

Some interesting thoughts on how to leverage ChatGPT

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Threen 8 points 1 year ago (1 children)

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).

[โ€“] [email protected] 5 points 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!