I'm using python and SQL for my comp4 project, ran into a problem I can autoincrement a primary key in a table in my database however I then have that as a foreign key in another table and it isn't letting me autoincrement. Anyone able to help?? Thanks
x
Turn on thread page Beta
You are Here:
Home
> Forums
>< Study Help
>< Secondary school, sixth form and FE college
>< A-levels
|
Computing Code Autoincrement foreign key watch
-
Milner1997
- Follow
- 0 followers
- 0 badges
- Send a private message to Milner1997
- Thread Starter
Offline0ReputationRep:- Follow
- 1
- 27-02-2016 19:01
-
nerak99
- Follow
- 4 followers
- 11 badges
- Send a private message to nerak99
- Visit nerak99's homepage!
Offline11ReputationRep:- Follow
- 2
- 28-02-2016 14:33
(Original post by Milner1997)
I'm using python and SQL for my comp4 project, ran into a problem I can autoincrement a primary key in a table in my database however I then have that as a foreign key in another table and it isn't letting me autoincrement. Anyone able to help?? Thanks
You really need to provide more detail such as your table structures and maybe attach a sqldump.
Reply
Submit reply
Turn on thread page Beta
TSR Support Team
We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.
This forum is supported by:
- Gingerbread101
- RDKGames
- Changing Skies
- F1's Finest
- rayquaza17
- SherlockHolmes
- davros
- charco
- Kvothe the Arcane
- TeeEff
- The Empire Odyssey
- Protostar
- TheConfusedMedic
- Notnek
- Mr M
- nisha.sri
- claireestelle
- Doonesbury
- furryface12
- Amefish
- harryleavey
- Lemur14
- brainzistheword
- Rexar
- Sonechka
- TheAnxiousSloth
- EstelOfTheEyrie
- CoffeeAndPolitics
- an_atheist
- Labrador99
- EmilySarah00
Updated: February 28, 2016
Share this discussion:
Tweet