|
Posted by Mark on 07/02/05 12:39
Thanks a lot !!!
working for several month only with oracle made me totally forgot that.
regards
Mark
"Razvan Socol" <rsocol@gmail.com> schrieb im Newsbeitrag
news:1120295724.860959.260300@z14g2000cwz.googlegroups.com...
> Hello, Mark
>
> In SQL Server (and in ANSI SQL-92), the derived tables (subqueries used
> in the FROM clause) need an alias:
>
> select hour
> from (
> select substring( daily, 9,2 ) as hour
> from daytab
> where userid = 12
> ) A
>
> Razvan
>
Navigation:
[Reply to this message]
|