简体   繁体   中英

Display SQL table in Microsoft Teams

Is it possible to display the contents of a specific SQL Server table in Microsoft Teams? On a wiki page or seperate tab or whatever, but it needs to be 'real time connected'. The alternative is exporting an Excel file and share that via documents. It works, but I hope this can be done more elegantly.

Update for clarification

I have a SQL server srv , with a database z .

This is the sql for the 'specific table' (named a ) mentioned in the question above.

create table a(b int, c int)
insert into a values(1, 2)
insert into a values(3, 4)

We have a company wide usage of Microsoft Teams, so I have no idea how it's hosted. I am just a participant (team member) and have the ability to add tabs to our Teams site and Wiki. My goal is to display the contents of table a in database z at server srv on our Microsoft Teams site.

As stated by Srinivas Naidu, the solution is to put it all on a website and add that as an extra tab in Microsoft Teams. So I enabled the webserver on our SQL server and created a simple page using asp.net. Unfortunately that didn't work either, because Microsoft Teams only supports https urls...

将SQL转换为Excel文档可能更容易,并且(安排任务)然后文档将自动更新为团队(假设您首先将其保存在One Drive中)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM