web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Dynamics SL 2011 - reading from syscolumns table

(0) ShareShare
ReportReport
Posted on by

Newbie here,

I am trying to find out why we sometimes have a bunch of reads from the syscolumns table

It looks like this:

Select CONVERT(CHAR(30),sc.name), sc.type, sc.usertype, sc.length, sc.status from syscolumns sc where sc.id = object_id( 'inventory_ext' )

There can be from a few to as many as 20 such statements in a bunch, all using a different table name (with object_id)

Does anyone know if that really is useful ?    Any way to turn that off ?

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Erich Strelow F Profile Picture
    16 on at
    RE: Dynamics SL 2011 - reading from syscolumns table

    Yes, it is useful.

    Dynamics SL has its own database layer, which is how the SL client talks to the database. For the SL client to understand what the datastream from the database means, the layer has to query the corresponding metadata, which resides in the syscolumns table. I've built some database layer in the past and that's the standard way to do it.

    Turning this off would be like turning off your car engine. Maybe you can do it, but the car won't take you anywhere.

    I guess this goes back to when SL was first ported to Visual Basic technology. There wasn't at the time a fast and reliable database connector for VB, so Solomon had to build one from scratch.

  • Community Member Profile Picture
    on at
    RE: Dynamics SL 2011 - reading from syscolumns table

    I understand what you are saying.

    I am very disappointed to learn that, I expected the product to be better than that at accessing the database.

    Thank you for your answer.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans