Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have SQL server 2005 Database and I want to put dynamic date inside the SQL select statement. How to do this ?
Posted
Updated 13-Feb-12 9:17am
v2

1 solution

You probably wnat to make the select statement a stored procedure, so that it accepts a date to use, and then call it as such instead of writing SQL in your VB code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900