Viewing 15 posts - 3,331 through 3,345 (of 5,504 total)
Sanchit297 (6/13/2010)
June 13, 2010 at 7:23 am
As Gail already pointed out: you need to add the ORDER BY to your select statement that is used to export the data.
To use the related section of your original...
June 13, 2010 at 5:53 am
When thinking about it again:
Why do you need to have separate tables per month?
Do you have to deal with such a large data volume? Did you consider horizontal partitioning?
June 13, 2010 at 5:42 am
I'm sorry, missDelinda... You provided ready to use sample data so you should expect a coded and tested answer...
Edit: I decided to use a different style for FromDate and...
June 13, 2010 at 5:37 am
Please have a look at the cross tab article referenced in my signature.
June 13, 2010 at 5:31 am
You should rethink your concept of generating months.
Instead of dealing with integer data type for your variables you should use datetime (or smalldatetime) together with SET @runningmonth = DATEADD(mm,1,@runningmonth).
To get...
June 13, 2010 at 5:28 am
john-902052 (6/11/2010)
June 11, 2010 at 4:14 pm
Please provide table def and some sample data together with your expected result and definition of the variable used in your query in a ready to use format as described...
June 11, 2010 at 3:39 pm
john-902052 (6/11/2010)
June 11, 2010 at 3:31 pm
Jeff Moden (6/11/2010)
canoedoceanprince (6/10/2010)
WHEN '1' THEN 'Sunday'
WHEN '2' THEN 'Monday'
WHEN '3' THEN 'Tuesday'
WHEN '4' THEN 'Wednesday'
WHEN '5' THEN 'Thursday'
WHEN '6' THEN...
June 11, 2010 at 1:50 pm
scott.pletcher (6/11/2010)
...When Lynn posted *exactly* the same comment about the scan *after* I did, you praised her for it.
Just as a side note: Lynn (Pettis) is male, not...
June 11, 2010 at 12:32 pm
scott.pletcher (6/11/2010)
If you couldn't glean enough info to work on this from the requestor's initial posts, it's not (only) the clients that are clueless!
Your solution seems to work for the...
June 11, 2010 at 12:08 pm
I second Ninja's_RGR'us recommendation regarding the script screenshot.
For two reasons:
#1) it requires at least a little more effort to run it before answering (for those who otherwise would just...
June 11, 2010 at 11:00 am
jerseyeddiem (6/11/2010)
Thanks for the help... Is there anything i should do when post is complete???
The best (in terms of most appreciated) you can do is posting your solution. Not only...
June 11, 2010 at 10:21 am
Viewing 15 posts - 3,331 through 3,345 (of 5,504 total)