Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Transpose in SQL

Re: Transpose in SQL

From: Hobart <Hobart_at_cincinatti.org>
Date: 1998/10/26
Message-ID: <3634CDB9.DEE6255B@cincinatti.org>#1/1

In Sybase, the CASE keyword is for scripting use. It can't be embedded in an SQL Statement.

You can transpose rows to columns and visa versa in a single Sybase SQL statement by using Sybase's characteristic functions and add'l functions. These include (SIGN, ABS, ISNULL, SUBSTRING, etc)

How you combine them depends on what you're trying to do. There are excellent books on the topic published by the SQL Forum Press. Received on Mon Oct 26 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US