易截截图软件、单文件、免安装、纯绿色、仅160KB

请教一下这段sql server 语句 装换成oracle 该怎么写

select @tables as tablesname into #425103tablename
while 1=1
begin
    select @i=charindex(',',tablesname) from #425103tablename;
    if @i=0 begin
      select @subTableName=tablesname from #425103tablename; 
      select @SQLString='insert into #425103SaleCost select a.* from  vender b,'
          + ltrim(rtrim(@subTableName))
      + ' a where  a.venderid=b.venderid and sdate between '%D1%'
          and '%D2%' %Venderid% ';
      execute (@SQLString);
      break;
    end
    else begin
      select @subTableName=substring(tablesname,1,charindex(',',tablesname)-1) from #425103tablename;
      select @SQLString='insert into #425103SaleCost select a.* from vender b, '
          + ltrim(rtrim(@subTableName))
        + ' a where  a.venderid=b.venderid  and  sdate between '%D1%'
        and '%D2%' %Venderid% %KL% %zL%';
      execute (@SQLString);
      update #425103tablename
        set tablesname=sub


相关问答:

求一SQL - MS-SQL Server / 基础类

表如下
教室ID 座位数 开始时间 结束时间 2009年1月1日 2009年1月2日 2009年1月3日
  101 50 08:00 08:30 30 40 50  
  101 50 09:00 ......

Oracle离线访问---求助 - Oracle / 基础和管理

大家好,我现在把oracle服务器上面的原始文件,下载到本机了.我想在本机访问数据库怎么设置啊.是不是类似可以建立一个什么虚拟服务器来实现.请大家出出主意
引用
    大家好,我现在把oracle服务器上面 ......

oracle 10g安装到85%时报错

各位oracle高手,请教一下为什么oracle 10g在安装到百分之八十五的时候就报错不能继续安装?

内存多大? 重新下个数据库安装试试..

引用
各位oracle高手,请教一下为什么oracle 10g在安装到百分之八十五的时 ......

java怎么连接Oracle,急啊 - Java / Java相关

private static final String URL = "jdbc:oracle:thin:@localhost:1521:orcl";
private static final String USERNAME = "sys";
private static final String PASSWORD = "s ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号