lz是想在前台显示的时候空两格吧,这个可以让前台程序用css控制,没必要在数据库里作修改

解决方案 »

  1.   

    REPLICATE(' ', 2) + [内容]
      

  2.   

    use test
    go
    if not object_id('tempdb..#a') is null
    drop table #a
    go
    create table #a
    (id int,content varchar(100))
    insert into #a select 1,'你好吗'
    insert into #a select 2,'很好'
    go
    select *
    from #a
    go
    update #a
    set content='  '+content
    select *
    from #a
    新手
      

  3.   

    内容是text型的 还有批处理写好了因该怎么用,在那里使用,谢谢!