How to get MS SQL table names via DB tbx
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi I am new in using MS SQL and the DB tbx. Coould anyone tell me how can I get table names in MS SQL using DB tbx? Is there anything similar to MYM for MS SQL? It seems MYM is much user friendly for newbie. Thanks RAY
댓글 수: 0
답변 (2개)
Oleg Komarov
2011년 8월 26일
Otherwise you can use MS SQL JDBC connection to connect to your database (you can find detailed instruction on that page) and after you can simply use database.fetch to retrieve data.
댓글 수: 0
Quattro
2011년 8월 26일
If you already have established a database connection:
T=tables(conn)
See for further help
help database.tables
To connect to a database, see
help database
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!