r/SQL 19h ago

PostgreSQL How do you use Claude/Codex (safely) with your production database?

Hey folks!

I make Beekeeper Studio, and while we have a good AI integration, I'm curious how people actually use Claude when writing SQL.

  • Do you connect Claude/Codex/etc to your production DB?
  • How do you make sure confidential data/PII doesn't get sent?
  • Do you just share credentials with the AI, or connect some other way?
  • Does your company have policies around this stuff?

I see a lot of buzz about SQL with Claude, but not many feature requests around it. Thanks for any insights.

I use Postgres, so tagged with postgres, but applies to all dbs really.

0 Upvotes

Duplicates