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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upsized how to duplicate clng in query.

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
Now that I upsized I can't use my query that had the clng function. I looked up on the microsoft site but didn't find a soltuion. How would I emmulate clng?

CLng((dbo.tblProductOrderDetails.Quantity * dbo.tblProductOrderDetails.UnitPrice) * (1 - dbo.tblProductOrderDetails.Discount) * 100) / 100 AS LineTotal

Mark P.

Bleh
 
if i am correct clng is character to long then try the convert function you can find the syntax in the sql-server books online wich can be downloaded at microsoft if you do not already have them

Christiaan Baes
Belgium
"What a wonderfull world" - Louis armstrong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top