Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server Dataware Housing > Extending DW - ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 124 of 184
Post > Topic >>

Extending DW - Nulls and primary keys

by Alexander Yushchenko <sasha-yoush@[EMAIL PROTECTED] > Apr 27, 2005 at 10:20 PM

Hello!

     I use CS2002 + SP3 + FP1.

     I use vbs script (a customized CreateSchemaObject.vbs from SDK) to 
extend data warehouse with a new class MyClass (this script uses OLE DB 
Provider for Commerce Server).

     After the script is done, I find new rows in ClsDef and MemDef 
tables and automatically created table for my new class (MyClass).

     But:

     1. My primary key column is marked as "IsPrimaryKey=1" in the 
MemDef table, but in the MyClass table it is not - there is no primary 
key in this table.
     Why? How to change this?

     2. Some columns cannot contain nulls. They are successfully marked 
as  "IsRequired=1" in the MemDef table, but they are all nullable in the 
MyClass table.
     Why? How to change this?

     3. An additional column named "MyClassID" is created in the MyClass 
table. Its type is binary(6), and it cannot contain nulls. Also a unique 
clustered index is automatically created on this column.
     What is this column for? Can I disable it?

-- 
Yours faithfully,
Alexander Yushchenko
 




 5 Posts in Topic:
Extending DW - Nulls and primary keys
Alexander Yushchenko <  2005-04-27 22:20:18 
RE: Extending DW - Nulls and primary keys
brianbl@[EMAIL PROTECTED]  2005-04-28 21:44:52 
But why ...?
Alexander Yushchenko <  2005-05-03 19:24:19 
RE: But why ...?
brianbl@[EMAIL PROTECTED]  2005-05-13 19:34:39 
Re: But why ...?
Alexander Yushchenko <  2005-05-14 15:58:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:06:40 CST 2008.