dbTalk Databases Forums  

Exponentiation operator in SELECT statement

comp.databases.btrieve comp.databases.btrieve


Discuss Exponentiation operator in SELECT statement in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim Farrar
 
Posts: n/a

Default Exponentiation operator in SELECT statement - 09-10-2004 , 05:31 AM






How would I raise a number to a power in a SELECT statement computed
column?

I have tried the "^" and the "**" operators with no success. I receive
SQL engine error #221: The syntax for an expression or restriction
clause is invalid.

E.g.,

select ( 10 ^ 6 ) as Test
from TestTable;

I have also not found any documentation for this on Pervasive
web-site.

Tim Farrar

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.