delete from table_name where a = 'a'
经常写成:
delete * from table_name where a = 'a'
其实是错误的,应该不要 *
由于SQL语句有两个标准sql-90 和sql-92 所以不同的系统遵循不同的标准,DB2 中加 * 这样不行。
delete from table_name where a = 'a'
经常写成:
delete * from table_name where a = 'a'
其实是错误的,应该不要 *
由于SQL语句有两个标准sql-90 和sql-92 所以不同的系统遵循不同的标准,DB2 中加 * 这样不行。