# Is there a way to create a BAQ from its SQL code?

**URL:** <https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987>\
**Category:** Epicor ERP 10\
**Tags:** baq\
**Created:** [June 19, 2019, 9:00pm UTC](https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987 "2019-06-19T21:00:47Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Mark\_Wonsil](https://www.epiusers.help/user_avatar/www.epiusers.help/mark_wonsil/32/51594_2.png) [@Mark\_Wonsil](https://www.epiusers.help/u/Mark_Wonsil)\
**Post date:** [April 1, 2024, 7:01pm UTC](https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987/21 "2024-04-01T19:01:32Z")

</div>

> [@Banderson](#):
>
> To say we shouldn’t make this tool because the conversion won’t 100% match all of the time is short sighted.

Indeed, and I am not saying that. Just want to avoid the, “but this isn’t working the same as what I see in SSMS!!!” The same issues will happen in multi-site. Items with field security or stashed in the PatchFld table will also be different.

I very much like the idea of common calculated fields to be included!!! That would be a great feature on its own.

---

<div class="post-metadata">

**Author:** ![utaylor](https://www.epiusers.help/user_avatar/www.epiusers.help/utaylor/32/64664_2.png) [@utaylor](https://www.epiusers.help/u/utaylor)\
**Post date:** [April 1, 2024, 7:01pm UTC](https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987/22 "2024-04-01T19:01:51Z")

</div>

Great points @Mark_Wonsil and @Banderson

---

<div class="post-metadata">

**Author:** ![timshuwy](https://www.epiusers.help/user_avatar/www.epiusers.help/timshuwy/32/90122_2.png) [@timshuwy](https://www.epiusers.help/u/timshuwy)\
**Post date:** [October 8, 2024, 6:18pm UTC](https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987/23 "2024-10-08T18:18:31Z")

</div>

see [SQL to BAQ?](https://www.epiusers.help/t/sql-to-baq/119680)

[Previous page](https://www.epiusers.help/t/is-there-a-way-to-create-a-baq-from-its-sql-code/56987.md?page=1)
