Borrar filtros
Borrar filtros

Database Toolbox Not loading all of the tables

2 visualizaciones (últimos 30 días)
keith Runyon
keith Runyon el 20 de Ag. de 2015
Comentada: Titus Edelhofer el 20 de Ag. de 2015
Sometimes when I pull up a SQL DB in Matlab Database Explorer APP I get all of the tables that are in that db and other times I get 2 or none. What's the deal?
I have been fiddling with it to try and make the DB tables always appear but it's really finicky. Once I got the tables to appear in the Database Explorer App, I used the App to generate a script. Of course when the app was displaying all o find tables the script correctly found all of the tables. The next day I login to my workstation and try to run the script, and the toolbox only found a couple of the hundreds of tables in that DB. So then I pull up the APP and it won't find the tables either.

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 20 de Ag. de 2015
Hi,
are you using SQL Server? And configured via ODBC database sources? Often the default database is not specified or not correctly specified. This should be done to get consistent results ...
Titus
  2 comentarios
keith Runyon
keith Runyon el 20 de Ag. de 2015
Can you elaborate on the default " database"
Titus Edelhofer
Titus Edelhofer el 20 de Ag. de 2015
When you configure the ODBC connection, you start with the SQL Server, then comes authentication (user + password), and on the next screen comes a field default database (or something similar, in German it's Standarddatenbank :)). There the default database of the server should be selected (ask your system administrator which it is).
Titus

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by