Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2005, 06:14 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: , , .
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default sql query VAL function

Hello!

I have developed an application with Access database. The problem is with Access database at backend I developed a few queries having "VAL" function.

Like

select DUE_DATE from order_installment order by VAL(DUE_DATE) desc

It works fine with Access database. But when I convert my database to Sql Server the sql query does work and give an error at VAL function.

Is there anyone know, what is the replace of VAL function.

Thank you,
Zeeshan Ahmed

P.S: VAL function converts an integer value in TEXT data type field to Numeric

 
Old February 23rd, 2005, 11:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

http://p2p.wrox.com/topic.asp?TOPIC_ID=27035




Similar Threads
Thread Thread Starter Forum Replies Last Post
By Val By Ref B.V.Madhav Crystal Reports 1 May 12th, 2005 11:37 PM
SQL query dropping parameter function... JackNimble Access 2 March 14th, 2005 04:56 PM
Converting a Jet query to SQL that uses a function Mitch SQL Server 2000 5 February 28th, 2005 12:33 PM
SQL Query - VAL Function itHighway Classic ASP Databases 2 February 23rd, 2005 11:55 PM
VAL equivilent Mitch SQL Language 2 October 15th, 2003 10:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.