PC Review


Reply
Thread Tools Rate Thread

Can't retrieve any schema info in UDB

 
 
=?Utf-8?B?RGF2eSBD?=
Guest
Posts: n/a
 
      9th Feb 2005
I am hitting an AIX UDB 7 Database, and the problem I am having is that I am
not receiving what columns are the primary keys. I was previously hitting a
Mainframe DB2 database and it was working. Any clues.
I am trying to run these commands to retrieve the primary keys.
Dim keys() As DataColumn
keys = MainDataTable.PrimaryKey
For Each k As DataColumn In keys
Debug.WriteLine(k.ToString)
Debug.WriteLine("Unique: " & k.Unique)
Next

Does anybody know if it is a UDB setting that needs to be configured. BTW,
I have tried connecting with both ODBC and OleDB. Thanks!
 
Reply With Quote
 
 
 
 
RJ
Guest
Posts: n/a
 
      10th Feb 2005
What about using the IBM DB2 Connect .NET dataprovider? I know v8.2
installs with a VS.NET 2003 add-in as well. I know this add-in certainly
will show the remote schemas inside a UI window. I haven't a AIX db yet,
but isn't that what UDB means? ... universal. Just some thoughts, but not a
real answer. Best of luck.


"Davy C" <(E-Mail Removed)> wrote in message
newsFDD8EC7-57EA-46B9-B917-(E-Mail Removed)...
> I am hitting an AIX UDB 7 Database, and the problem I am having is that I

am
> not receiving what columns are the primary keys. I was previously hitting

a
> Mainframe DB2 database and it was working. Any clues.
> I am trying to run these commands to retrieve the primary keys.
> Dim keys() As DataColumn
> keys = MainDataTable.PrimaryKey
> For Each k As DataColumn In keys
> Debug.WriteLine(k.ToString)
> Debug.WriteLine("Unique: " & k.Unique)
> Next
>
> Does anybody know if it is a UDB setting that needs to be configured.

BTW,
> I have tried connecting with both ODBC and OleDB. Thanks!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Retrieve Database Schema? Axel Dahmen Microsoft ADO .NET 4 18th Nov 2008 09:22 PM
Could not retrieve schema info Robert Bravery Microsoft C# .NET 0 14th Nov 2007 09:04 AM
Retrieve schema from ADP or ADE =?Utf-8?B?SmFtZXNFTA==?= Microsoft Access External Data 0 8th Nov 2005 04:07 PM
Re: Retrieve Schema Information by Using GetOleDbSchemaTable Paul Clement Microsoft ADO .NET 0 26th May 2004 07:17 PM
Re: Retrieve Schema Information by Using GetOleDbSchemaTable Val Mazur Microsoft ADO .NET 0 26th May 2004 02:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:16 AM.