Click here to Skip to main content
12,817,428 members (33,491 online)
Rate this:
Please Sign up or sign in to vote.
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...
Posted 2-Oct-12 22:03pm
Updated 2-Oct-12 22:48pm
Abhijit Parab 3-Oct-12 3:06am
please post your question in detail with example
vijay bisht 3-Oct-12 3:41am
can u explane it in detail

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You may 'dinamically create a SQL query' building the query string programmatically (or, better, using parameters).

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170308.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100