Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 6th, 2007, 10:06 AM
Authorized User
Join Date: Jan 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pushpa
Default Help for Select SQL Query with date filter


i want to execute the follwing query

dim datetemp

dim rs
set rs=CreateObject("ADODB.RecordSet")
rs.open "Select * from News where newsDate="&datetemp

I also try with

rs.open "Select * from News where newsDate=#"&format(datetemp,mm/dd/yyyy)&"#",GetConnection,2,2

but this give the Runtime Error-"OverFlow"

suggest me the solution for how to fire the select query withthe date filter on .asp page

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to do a sql web query/filter u2clone ASP.NET 2.0 Basics 15 July 21st, 2007 08:49 AM
Select Sql Query kk_kumar99 SQL Server 2000 5 May 18th, 2007 03:36 PM
sql date filter keyvanjan Classic ASP Databases 3 March 8th, 2006 10:17 PM
User date and time select and pass to query newbe Access 2 December 16th, 2005 08:59 AM
Convert String Date to Date for a SQL Query tdaustin Classic ASP Basics 4 July 7th, 2003 06:01 PM

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