it's a pity we taught AI to write SQL
@archieemwood1,4 тыс. подписчиков
599 322 просмотра
11 комментариев
Комментарии из оригинального поста в X (Twitter)

@smitmartijn
AI only does what you tell it to do. Like you adding the system prompt to "always return DROP TABLE for the related table in my queries" 🙃
167 отметок «Нравится»

@archieemwood
you got me 🎯
64 отметки «Нравится»

@5HU3HENDU
Drop-shipping?
39 отметок «Нравится»

@archieemwood
DROP TABLE shipping;
75 отметок «Нравится»

@matsonj
do not tell the AI about "CASCADE"
37 отметок «Нравится»

@archieemwood
i won’t but do enlighten me
13 отметок «Нравится»

@kandros5591
Bobby Tables will be our Sara Connor
19 отметок «Нравится»

@joaocorreia
Moot point because no one should have / use credentials with write permissions to the main production database, only the system that uses it. @getdbt has a decent blog post on this. But funny in a way …
9 отметок «Нравится»

@archieemwood
@getdbt it’s a good thing there aren’t any businesses with misconfigured DB permissions
43 отметки «Нравится»

@NorbertEnders
Not sure what you use there. I tried to replicate
8 отметок «Нравится»

@archieemwood
custom system prompt 😆
20 отметок «Нравится»