home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 17,916 of 19,505   
   Serge Rielau to All   
   Re: The order of executing a wIndowing F   
   19 Sep 10 00:55:55   
   
   d5b6992a   
   From: srielau@ca.ibm.com   
      
   > SELECT f(c2) AS c1, f(c1) AS c2 FROM Foobar;   
   > That is why such nonsense is illegal syntax.   
   OK, you made me sweat there for a split second because you violated your   
   own golden rule by not providing DDL:   
   CREATE TABLE foobar(c1 INTEGER);   
   or   
   CREATE TABLE foobar(c2 INTEGER);   
      
   Of course   
   CREATE TABLE foobar(c1 INTEGER, c2 INTEGER)   
   will work just fine.   
      
   --   
   Serge Rielau   
   SQL Architect DB2 for LUW   
   IBM Toronto Lab   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca