Insert INTO [BasName].[dbo].[IP_Real]
           ([startip]
           ,[endip]
           ,[country]
           ,[local])
Select [startip]
      ,[endip])
      ,[country]
      ,[local]
  FROM [BasName].[dbo].[IP]建议你  使用 这种方法
其他的你自己改就行了 
前提是先建一个表结构一样的表

解决方案 »

  1.   

    oracle中是可以这样写的,
    在sql server中要用select * into tablename01 from table_name来实现相同的效果
      

  2.   

    楼主的sql是oracle里用的,在 server2000中不是这种方法
      

  3.   

    insert into 表明(沒有新建,有要字段相同) select ...... from  表明(另張表,與前面的要不同)
    sqlserver和oracle有些語法出入,建議你稍微看下文檔,沒多少的
      

  4.   

    select   *   into   tablename01   from   table_name
      

  5.   

    同意疯狂的小猪的意见!楼主分清语句使用范围!尤其是T-SQL,PL/SQL,和SQL的范围性。