绿色环保
千呼万唤死出来,一生一世很精彩
摘要: execute sp_fulltext_database enablego--建立全文检索目录ft_test execute sp_fulltext_catalog 'ft_test', 'create'go---列建立全文索引数据元,为表中由主键所建立的唯一索引,这个参数是必需的execute sp_fulltext_table 'table_Name,create', 'ft_test','PK_PRAS_SUPPLIER'---添加列execute sp_fulltext_column 'table_ 阅读全文
posted @ 2011-04-11 18:09 骷髅人 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 由于ntext类型不能直接用replace函数替换,所以要把该字段转换成NVARCHAR(MAX)类型,例如:updatetable set text=replace(CAST(text AS NVARCHAR(MAX)),'123456',asd) 阅读全文
posted @ 2011-04-11 17:56 骷髅人 阅读(325) 评论(0) 推荐(0) 编辑