sql语句把表中的某个字段整个赋值给另一个表的某个字段
例如把teacher中的tno字段整个赋值给tcodeinsert into tcode([tno],[code])select [tno],'123456' from teacher
如何给整个数组赋值0
I have an array. int[] array = new int[10];. I want to assign '0' to whole array without using loop means that 0 is to be stored in all of the indexes...
sql语句把表中的某个字段整个赋值给另一个表的某个字段
例如把teacher中的tno字段整个赋值给tcodeinsert into tcode([tno],[code])select [tno],'123456' from teacher