更新时间:2023-11-30 19:05:10
要添加当前表的新列,您将更改表并添加新列。 直观地。
To add a new column to your current table, you would alter the table and add a new column. Intuitively.
ALTER table_name
ADD column_name type
以上推荐执行时会在名为 table_name
的表中添加名为 column_name
的新列。更改这些值( table_name
, column_name
)以满足您自己的要求。有关详细信息,请阅读 https://msdn.microsoft.com/en-us/library/ms190273 .aspx [ ^ ]
Above commend when executed would add a new column with name column_name
in the table named table_name
. Alter these values (table_name
, column_name
) to suit your own requirements. For more on this, please read https://msdn.microsoft.com/en-us/library/ms190273.aspx[^]
我需要更多信息。
您是否尝试将记录插入数据库?什么类型的数据库?
I need some more info.
Are you trying to insert a record into the Database? What type of database?