then - why? What is the goal that you try to do with table 1 when inserting into table 2 first without any reference in table 1 and no data?
And if you can specify what you're actually trying to achieve explicitely there might be incentive to use a serial for example instead, but first we'd need to know what you actually want to do.
Обсуждают сегодня