I set the default value of a field and create a copy of the new table.

I set the GETDATE default value for the DATATIME data type. As a result, create a new query editor window wants to copy the table. After another name, the excute result shows that couldnt create constraint or index SQL
if you don"t add this default value, you can give me this error
, but still generate a new data table, but the datatime field does not have the default value getdate () r
. Then if I have data in it, I can"t copy the

that generates the new table.
Sql
Mar.18,2021

it is obvious that the table you copied is in the script

has constraints or indexes associated with other tables

that's why you reported this error

either you create a new constraint or index

because you copied it, the name of the constraint or index repeats

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bb71-2c29a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bb71-2c29a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?