首页   |   IT资讯   |   综合资讯   |   开发   |   软件   |   问答   |   网络技术   |   网络综合
更多:
当前位置:首页 » 手机数码
文章正文

两个结构相同的表,写数据时候有没有好办法?

类型:转载   责任编辑:asp   日期:2007/03/01

    

我在程序运行时生成一个临时表temp_table,其表结构与table相同,然后需要读出表table中的部分数据插入到temp_table中使用,请问这个操作有什么简单的办法吗?

推荐阅读

  • 狂降千元 索尼笔记本带光驱1.26KG [详细内容]
  • 英特尔垄断案预计明年底美国开庭 [详细内容]
  • 浅谈诺基亚8855的进灰和处理 [详细内容]
  • 高性价比彩屏MP3 蓝魔RM910图赏 [详细内容]
  • 寻求新增长来源 英特尔要大力开发新兴市场 [详细内容]
  • 飞机620的使用两条小心得 [详细内容]
  • 闪灯MP3,炫出爱的色彩 [详细内容]
  • 网友回答:
    网友:i_wanttoknow

    select   *   into   temp_table   from   table   where   ...

    网友:longji

    select   *   into   temp_table   from   table  
      where   你要读出部分记录的条件  
       
      如果你已经先建立了临时表,那么  
      insert   into   temp_table  
      select   *   from   table  
      where   你要读出部分记录的条件

    网友:i_wanttoknow

    wrong,  
      insert   into   temp_table   select   *   from   table   where..

    网友:happydreamer

    insert   #temp_table  
      select   *   from   table   where   ..

    网友:crazyfor

    select   *   into   temp_table   from   table   where   ...  
     

    .
    站内导航:
    IT热门资讯:
      最佳浏览:1024X768 MSIE
    ©2007 jqmk.com.cn All Rights Reserved