Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

adding primary key after the fact?

0 views
Skip to first unread message

Jason Wolfe

unread,
Nov 22, 2004, 11:37:43 AM11/22/04
to
I've posted this question before and not recieved an answer that actually
works. I'm trying not to stop the database to do this so I think that may
pose a problem. I created 3 tables that don't have primary keys... I know,
bad idea...at the time I didn't think I needed them there, and I wouldn't if
it weren't for good old replicator.

Anyway, I need to add primary keys and genID's to these tables so that I can
replicate. I think I need to add a field, create a generator, update the old
values and make sure the generator is updating as we go forward, then I need
to set the field as a primary key.

I run into errors everytime when I make the field a PK! Can someone take a
shot at some code that can accomplish these goals?

Thanks so much.
jason wolfe
--


--


Bill Todd

unread,
Nov 22, 2004, 3:26:21 PM11/22/04
to
Please do not multipost or cross post your messages. It violates
Borland's guidelines for using their newsgroups and wastes everyone's
time. Please post one message in the most appropriate newsgroup and
please take a moment to read the newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
--
Bill (TeamB)
TeamB cannot answer questions received via email
0 new messages