# Awarding badges multiple times with custom SQL

**URL:** <https://meta.discourse.org/t/awarding-badges-multiple-times-with-custom-sql/71279>\
**Category:** Data & reporting\
**Tags:** sql-triggered-badge\
**Created:** [October 3, 2017, 2:53am UTC](https://meta.discourse.org/t/awarding-badges-multiple-times-with-custom-sql/71279 "2017-10-03T02:53:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![barryvan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barryvan/32/82635_2.png) [@barryvan](https://meta.discourse.org/u/barryvan)\
**Post date:** [October 23, 2017, 5:25am UTC](https://meta.discourse.org/t/awarding-badges-multiple-times-with-custom-sql/71279/2 "2017-10-23T05:25:49Z")

</div>

Sorry to bump this, but the next round of events is coming up soon and I’d _love_ to have this fixed ahead of time. 😉 Any ideas on how I can grant a badge multiple times without it being linked to a post? (Or should I set the `post_id` to the announcement post using an ever-growing `case` statement?)

---

_[View the full topic](https://meta.discourse.org/t/awarding-badges-multiple-times-with-custom-sql/71279)._
