I am making a table that will be borrowing a couple of columns from another table, but not all of them. Right now my new table doesn’t have anything in it. I want to add X number of empty tuples to my table so that I can then begin adding data from my old table to my new table via update statements.
Is that the best way to do it? What is the syntax for adding empty rows? Thanks
Instead of inserting nulls and then updating them, cant you just insert data from the other table directly. using something like this –
If you still want to insert empty records, then you will have to make sure that all your columns allow nulls. Then you can use something like this –
Table1
This will make sure your a new row is inserted with a primary key and the rest of the columns are nulls. And these records can be updated later.