?
Solved

Symbol of raise to the power operator in sql 2000

Posted on 2004-04-02
1
Medium Priority
?
1,138 Views
Last Modified: 2012-08-14
In foxpro 3^3 gives 27.

Is there any equivalent arithmatic operator in sql 2000.
0
Comment
Question by:Mateen
1 Comment
 
LVL 13

Accepted Solution

by:
danblake earned 800 total points
ID: 10739961
Syntax
POWER ( numeric_expression , y )

numeric_expression is the exact numeric or approximate numeric data type category, except for the bit data type.

y

Is the power to which to raise numeric_expression. y can be an expression of the exact numeric or approximate numeric data type category, except for the bit data type.


So it would be :

An example:

select power (3,3) as calculation
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question