K
Keith K
Hello MSFT:
We need ADOX.NET (Data Definition Language)!
We need ADOX.NET (Data Definition Language)!
William Ryan said:And I was sitting here thinking all the :4m3 Script Kiddy's were asleep.
Is this a joke? What DDL haven't you been able to accomplish with ADO.NET?
Perhaps I have had a few too many Bud Lights this evening, but I'll publicly
state that I'll give you $10.00 for every DDL command that is supported by
ANSI SQL and I can't do with ADO.NET <even after 6 Remy's> .... At least
Keith, if you have a valid gripe against MS, post it and let them respond.
They aren't beyond reproach, but at least give them a fair trial and jury of
their peers.
More seriously, if you need any help with executing DDL, I'll be somewhat
sober by 8:00 EDT tomorrow (optimistically) and will do whatever I can to
help you.
Cheers,
Bill
Hell, just to prove a point, make it $50.00
-----Original Message-----
with GetOleDbSchemaTable but that is about¤ o.k. here goes:
¤
¤ In adox I can retrieve information related to a column
¤ such as its "default" value. I also can retrieve info on
¤ indexes such as which columns in a particular table are in
¤ a non-clustered index. Also I want to loop through the
¤ properties and attributes of a column. I also want to
¤ address security. All of this without having to create
¤ Oracle specific SQL, Sybase specific SQL, Access specific
¤ SQL, and SQL Server specific SQL. I'm totally abstracted
¤ from that.
¤
Unfortunately no can do. You can use the OLEDB providerimplementations - not all will require the sameas generic as it gets. You still need a vendor or database specific provider.
You have to understand that databases have differentAccess implement them similarly. Oracle usesmechanism by which schema information can be retrieved. A perfect is example is
autonumber/autoincrement fields. Both SQL Server andOracle sequence cannot be retrieved by waywhat is referred to as a "sequence". Information about angeneric mechanism for all database typesof a column property.
There would no feasible way for Microsoft to support awithout forcing the vendors to *fully* comply with a common standard.
Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
.
Thanks for you input. I'm aware of the need for a vendor-
specific data provider. That's not an issue for me
because I have native providers for Oracle, Sybase and SQL
Server.