select 字段 from table where 字段 like'%500%'

解决方案 »

  1.   

    select top 1 * from 
          OPENDATASOURCE(
             'SQLOLEDB',
             'Data Source=ggg;User ID=sa;Password=sp'
             ).4567.dbo.Noone
             
    服务器: 消息 170,级别 15,状态 1,行 5
    第 5 行: '.4567' 附近有语法错误。存储过程 中,数据库名是数字的问题?谁能够解决阿?
      

  2.   

    select * from table where 内容 like '%500%'
      

  3.   

    to akoo() 
    try: [4567]..noone
      

  4.   


    select * from table where 内容 like '%500%'
      

  5.   

    select * from table where 内容 like '%500%'
      

  6.   

    select * from table where CHARINDEX('500', 内容)>0
      

  7.   

    to akoo() 
    给数据库改名