alter table 选课模式 alter column 成绩 numeric(4,1)

解决方案 »

  1.   

    alter table 选课模式 alter column 成绩 decimal(10,2)
      

  2.   

    错了。 zheninchangjiang才是对的
      

  3.   

    alter table 选课模式 alter column 成绩 decimal(4,1)
      

  4.   

    alter table 选课模式 alter column 成绩 decimal(4,1)
      

  5.   

    alter table 选课模式 alter column 成绩 decimal(4,1)
      

  6.   

    小弟借此请教一个问题
    decimal  和numeric有什么异同呀
      

  7.   

    请各位高手解释下这个问题:decimal  和numeric有什么异同多谢各位.
      

  8.   

    decimal和numeric是同一个东西,除了名称外,其他完全一样.
      

  9.   

    decimal 和 numeric
    decimal从 -10^38 +1 到 10^38 –1 的固定精度和小数位的数字数据。numeric功能上等同于 decimal。
      

  10.   

    来晚了,为了抢分,贴点别的:
    1.更改名:exec sp_rename...A.更改表名
    例:将table1改为table2
    exec sp_rename 'table1','table2'
    B.更改表中的列名
    例:将table2中的id列改为idd
    exec sp_rename 'table2.id','idd',['column']2.更改列的属性例:表table2中的列id为int型,现改为char型
    alter table table2 alter column id char3.增加列A.例:在表table2中增加name列为char型
    alter table table2 add name char(8)
    B.例:在表table2中增加nob列为int型且设自增量为1,且不空
    alter table table2 add nob int identity(1,1) not null4.删除列例:删除table2中的id列
    alter table table2 drop column id
      

  11.   

    alter table 选课模式 alter column 成绩 decimal(4,1)