Click here to Skip to main content
15,943,294 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to create dynamically sql for months n dates according to year...Means I want to create procedure in that i want to pass year and year wise month and month wise dates should be display...means if i pass 2012 then data comes like this...
table jan and 01-jan 02-jan till 31 jan..etc column name in the jan this all months and dates of that months should display...
Updated 2-Oct-12 21:48pm
Abhijit Parab 3-Oct-12 3:06am    
please post your question in detail with example
[no name] 3-Oct-12 3:41am    
can u explane it in detail

1 solution

You may 'dinamically create a SQL query' building the query string programmatically (or, better, using parameters).
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