Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

power function Arithmetic overflow error converting expression to data type int. 1

Status
Not open for further replies.

baran121

Programmer
Sep 8, 2005
337
TR

hi ,
when i do query in SQL SERVER down i got an error.

print power(36,6)

Arithmetic overflow error converting expression to data type int.

please help me.
 
Code:
print power(CAST(36 as bigint),6)

Borislav Borissov
VFP9 SP2, SQL Server
 
i found solution thanks.

print POWER(CAST(36 as bigint), 6);
 
baran121, it is appropriate to award a Little Purple Star in such instances, which it appears, over the past decade, you have been loathe to confer (4 out of 120)

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top