Friday, 2012-01-27

*** DarylM has joined #ingres05:46
*** DarylM1 has joined #ingres06:18
*** DarylM has quit IRC06:20
pboroErr. How do I remove foreign key using ALTER TABLE...08:52
pboroeeeh wtf08:55
pboroIngres allows the same referential key to be added multiple times...08:55
*** Dejan has joined #ingres09:14
*** Dejan has quit IRC10:16
*** Dejan has joined #ingres10:35
*** Dejan has quit IRC14:34
DarylM1pboro: you mean the same column names in a key spec?14:53
pboroyup15:04
pboro10.0.1 pre on Linux x86_64, maybe I'll report a bug...15:05
DarylM1Did you let Ingres create a constraint name for you?15:05
pboroyup15:05
DarylM1Not a bug.  But it isn't very pleasent determining the name that was generated.15:05
pborobut it should be clever enough to check that there's a referential key already for the same table and column15:05
pborothat too15:06
DarylM1That is why I always name my constraints15:06
pboroyea, you just have to define the constraints separately, you can't do it in CREATE TABLE15:06
pboroor can you?15:06
DarylM1Not that I know of.  I never really ran into that because I have always only put primary keys in the create table.  Foreign keys I declare separately but that is just a personal choice.15:08
pborook15:09
DarylM1Try "help constraint <tablename>"15:09
DarylM1It will give you the constraint names.15:10
DarylM1Caveat:  I am running 10.1 experimental.15:10
pborohehe :)15:10
DarylM1On a Mac15:10
DarylM1:-D15:10
*** Dejan has joined #ingres15:26
*** Dejan has quit IRC15:53
*** grantc has quit IRC18:27
*** grantc has joined #ingres18:28
*** TylerM has joined #ingres19:07
*** TylerM has quit IRC20:00
*** TylerM has joined #ingres20:02
*** TylerM has joined #ingres20:02
*** DarylM1 has quit IRC23:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!