New Post: Stored Procedure Arguments for Oracle
They work here, using the same provider. I am using Oracle 11g and I have a couple of test sps such as this: CREATE PROCEDURE ADDITEMTOORDER( OrderId NUMBER,ItemId NUMBER, Quantity NUMBER) AS...
View ArticleNew Post: Unique indexes not picked up?
Just in case it matters, I just checked the UniqueKeys collection and it is empty. I was hoping to do a quick name lookup in there...
View ArticleNew Post: Unique indexes not picked up?
I am also having the same problem with the Oracle managed provider (index "UNQ_CUSTOMERS_NAME" below). The DDL is this: CREATE TABLE "TEST"."CUSTOMERS" ( "ID" NUMBER(9,0) NOT NULL ENABLE, "FIRSTNAME"...
View ArticleNew Post: Stored Procedure Arguments for Oracle
Yep, it's working for me too... Oracle.ManagedDataAccess, Version=4.121.1.0 plus latest versions of Devart.Data.Oracle, System.Data.OracleClient and Oracle.DataAccess.Client. restrictions[0] is the...
View ArticleNew Post: Stored Procedure Arguments for Oracle
Yes. I understand that this is not the optimal solution. I have played with restrictions (Upcase etc) and for some reason schema request for "Arguments" returns no rows if at least one is applied.
View ArticleNew Post: Unique indexes not picked up?
I've got a fix for the SqlServer indexes, coming shortly. The Oracle.ManagedDataAccess.Client is working for me, but maybe it's because I've got the SqlServer fix :)
View ArticleNew Post: Stored Procedure Arguments for Oracle
Most of the schema objects use the same restrictions mechanism, so they should work in the same way. Perhaps you have an older version of the client with a bug in GetSchema?
View ArticleNew Post: ForeignKey referenced table not filled in
Hi, In MSSQL, constraint.RefersToTable doesn't seem to work properly when you have schema names involved. I have a bunch of tables in dbo and some others in Orders. The FKs either (1) pointing to the...
View ArticleNew Post: ForeignKey referenced table not filled in
Additionally, FK constraints might refer to tables in different schemas. It seems there's a property missing: RefersToSchema. Thanks
View ArticleNew Post: ForeignKey referenced table not filled in
The sql to get the constraints joins various tables using the schema. The different schema revealed a flaw in one of the joins. I'll fix that shortly. I've already added databaseContraint.RefersToSchema.
View ArticleNew Post: OLEDB fails to read PK/FK constraints as SchemaOwner always null
Using the MS AdventureWorks2008 SQL DB, you can see that with a SQL Client connection all PK/FK constraints are read into the schema model correctly, but using an OLE DB connection will fail to read...
View ArticleNew Post: OLEDB fails to read PK/FK constraints as SchemaOwner always null
Latest commit should fix it. Thanks!
View ArticleNew Post: DB2 iSeries
Oh, it gets worse. DB2 started with SYSIBM as its schema definition, then it added SYSCAT as a read-only view on top of that, then it added INFORMATION_SCHEMA as an attempt to comply with industry...
View ArticleNew Post: DB2 iSeries
JW, Your last chunk of code is crashing with the exception shown below, probably because my customer's database has many thousands of tables. Now what?See the end of this message for details on...
View ArticleNew Post: DB2 iSeries
I'll work out some ADO code for you to find out the iSeries schema. Probably in a day or 2, if that's ok. The database schema reader will have problems with big schemas, but there are work-arounds. The...
View ArticleNew Post: DB2 iSeries
I don't even need to read the entire schema. Just selected tables. You might, however, do something like ReadAll(int max = 0), just in case someone wants to avoid a crash. Anyway, I really appreciate...
View ArticleNew Post: DB2 iSeries
Ok, can you try this code? The first bit is straight ADO, as before. The second and third parts use SchemaReader, which is the underlying part that uses DataTables with no interpretation. If you set a...
View ArticleNew Post: DB2 iSeries
This piece of code didn't populate the DataGridView:dataGridView1.DataSource = dataSet; Here is the console output:1. Collection names MetaDataCollections DataSourceInformation DataTypes Restrictions...
View ArticleNew Post: DB2 iSeries
I obviously substituted "Customer" with my table name. The table has an identity field ("ID"), but otherwise no indexes or foreign keys .
View ArticleNew Post: DB2 iSeries
Just checked in initial support. Doesn't seem to be any support for foreign keys or even primary keys. Perhaps IBM doesn't think they're important... You can't bind a dataSet to a datagrid, you must...
View Article