Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases 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 June 4th, 2004, 12:38 AM
Authorized User
 
Join Date: Apr 2004
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me !

How to Retries the Recordset by

  SELECT * FROM TABLENAME WHERE Filename=today ?

 
Old June 4th, 2004, 03:31 AM
Registered User
 
Join Date: May 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SELECT * FROM TABLENAME WHERE Filename='Format(Now(),'dd-mm-yyyy')'

is this what you mean?
 
Old September 29th, 2004, 09:52 AM
Authorized User
 
Join Date: Sep 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Lalit_Pratihari
Default

Hi,

You can also use the GETDATE() function available in SQL Server.

SELECT * FROM TABLENAME WHERE FILENAME = CONVERT(VARCHAR(10), GETDATE(), 110)

Thanks,

Lalit
Life Means More...;)









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