Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Table missing after Sql Insertion

(0) ShareShare
ReportReport
Posted on by

Dear All,

I have created a table in BC but inserting data from Sql insert query. Unfortunately, this table is disappearing from Sql server but can be seen/accessed from AL report.

I am wondering why my table is in Sql because it was been there initially. I created another and inserted the data and again it disappeared. When I ran the select query I get an error referring to inexistence of an object.

Whoes got the idea on what happened on that table?.

  • Romryan Profile Picture
    on at
    RE: Table missing after Sql Insertion

    Suresh,

    Since am unable to do Summation in AL, am using SQL to do all my summation since its more flexible, then the result of summation am inserting it in AL table then I will build a report that will be ran and transfer the data to Journal. That's what am doing.

  • Suggested answer
    Suresh Kulla Profile Picture
    47,773 on at
    RE: Table missing after Sql Insertion

    I am sorry are you using SQL Query for AL Report? Please provide more details.

  • Romryan Profile Picture
    on at
    RE: Table missing after Sql Insertion

    Suresh,

    Am using SQL because it can do summation and GroupBy but am unable to do it in AL report.

    Am using an AL report to create a Gen. Journal.

  • Suggested answer
    Suresh Kulla Profile Picture
    47,773 on at
    RE: Table missing after Sql Insertion

    What version are you running? and why are you using SQL insert to insert the data? What happens if you insert the data from BC? I don't believe inserting data from SQL will cause that but I also don't like the idea of inserting data using SQL, either do that from AL or using Integration.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Table missing after Sql Insertion

    Hello,

    This does not sound familiar to me. Please consider raising a support request with Microsoft support if you have a repro of the scenario in a demo database.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 499 Super User 2025 Season 1

#2
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 373

#3
Mansi Soni Profile Picture

Mansi Soni 327

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans