Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: VIEW who works in SQL Server but not in ORACLE
"Stef" <s.fauchille_at_hotmail.com> wrote in message
news:423862d7$0$807$8fcfb975_at_news.wanadoo.fr...
> Hello,
>
> I need some help,
>
> I have a view write into a SQL Server database that I'd like to put on an
> ORACLE Database
>
> The code is
>
> SELECT DateTime,Description,(SELECT Description FROM MaTable WHERE
> DateTime>= T1.DateTime) As DecrNextRow FROM MaTable T1
Please could you post your DDL and error message, as you describe the code above works on 10g.
SQL> create table MaTable(datetime date,description varchar2(10));
Table created.
SQL> create view v1
2 as
3 SELECT DateTime,Description,(SELECT Description FROM MaTable WHERE
4 DateTime>= T1.DateTime) As DecrNextRow FROM MaTable T1
5 ;
View created.
SQL> select banner from v$version;
BANNER
SQL> Received on Wed Mar 16 2005 - 14:20:46 CST
![]() |
![]() |