Solved

Symbol of raise to the power operator in sql 2000

Posted on 2004-04-02
1
1,092 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 200 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access sql to sql server express 10 31
SELECT query on two levels (detail and summary) 13 47
get column names from table in vb.net 8 25
Sql Server group by 10 23
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
I have a large data set and a SSIS package. How can I load this file in multi threading?
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 SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now