If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Query Question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-03, 02:12
oimtiaz oimtiaz is offline
Registered User
 
Join Date: Oct 2003
Location: Tokyo
Posts: 10
Query Question

hi all

i need ur help to write a query. please cosider the following scenario:

There is a table having colums (Attribute, Value) and data:
Attribute Value
a1 1
a2 2
a3 3.2
a4 a1*a2+a3
a5 a3 - a1

is it possible to write a query which will bring:
a1 1
a2 2
a3 3.2
a4 5.2
a5 2.2

Meaning the same column (Value) contains the numeric values as well as the formulas. There can be any number of operands, and all kind of possible operators.

Waiting for a response.

Omer
__________________
Omer Imtiaz
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On