Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OpenSchema
Message
De
03/08/2001 14:39:15
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Divers
Thread ID:
00539215
Message ID:
00539572
Vues:
13
>I am building a small tool that will be used to compare 2 database to find differences. I want this
>tool to work at least with SQL and Access databases.
>
>For that topic I use a mixture of ADO and ADOX (to have the most detail possible).
>
>My problem for now is that I can retreive the Description field for Access tables and columns but not
>for SQL.
>
>This is my code to get the description:
>
   ' ----- Retrieve the description from standard ADO since ADOX doesn't
>   '       have it recorded.
>   Set rsInfo = connSchema.OpenSchema(adSchemaTables, _
>       Array(Empty, Empty, sTableName, "TABLE"))
>   If Not (rsInfo.EOF) Then GetTableDesc = rsInfo!Description & ""
>
>
>How can I retreive that?

OK, I think SQL 2000 does have support for these with extended properties. But SQL7 does not have them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform