Re: Eliminate System Table/Column using OpenSchema in VB6
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Mon, 16 Jul 2007 08:50:16 -0400
rejuso@xxxxxxxxx wrote:
Hi everyone! I am new in this group. Please kindly help me.
I am using Sybase SQL Anywhere 5.0.03 and Visual Basic 6.0.
There is no problem in using OpenSchema method of ADODB.Connection,
except that it displays even the system tables/columns of the
database.
I only want to display the non-system tables/columns.
How could I do that?
--------------------------------------------------
Is there a field that could determine if the table/column is system or
not.
An ADOX Table object has a Type property which, if the OLE DB Provider
supplies the information, should contain a string indicating if the
table is a system table. See
http://msdn2.microsoft.com/en-us/library/ms676602.aspx
Is there any way without using ADOX?There will probably be system tables you can query for this information
in Sybase. I can't help with the specifics. If you get no help here, try
posting to a Sybase group.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- Prev by Date: Eliminate System Table/Column using OpenSchema in VB6
- Next by Date: !VB.NET/Access: OleDbException (Data type mismatch in criteria expression)
- Previous by thread: Eliminate System Table/Column using OpenSchema in VB6
- Next by thread: !VB.NET/Access: OleDbException (Data type mismatch in criteria expression)
- Index(es):
Relevant Pages
|
|