Viewing 15 posts - 18,736 through 18,750 (of 26,489 total)
Click on Control Panel. Scroll down to options, click on Forum Settings. Scroll down and you will find where you can change the number of posts per page....
October 2, 2009 at 6:59 am
Greg Edwards-268690 (10/2/2009)
You are correct.When I've done this, it's with a query that starts at the beggining of the year.
So I don't need to quallify with the year too.
Greg E
That...
October 2, 2009 at 6:48 am
Now, if you really want help, we need the DDL for the underlying tables and sample data as well. You should be able to follow the instruction in the...
October 1, 2009 at 8:07 pm
Three and four part naming conventions have been depreciated in SELECT lists. You really need to start using table aliases and two part naming conventions like this:
create view dbo.AB_CUST_ORDER_ACK...
October 1, 2009 at 8:05 pm
Greg Edwards-268690 (10/1/2009)
sum(case when DATEPART(yy,date_closed) = DATEPART(yy,getdate()) then 1 else 0 end) as 'YTD',
sum(case when DATEPART(mm,date_closed) = DATEPART(mm,getdate()) then 1 else 0 end) as 'MTD',
sum(case when...
October 1, 2009 at 7:06 pm
DDL is Data Definition Language, and what it means is the CREATE TABLE statements used to create your tables.
Please read the article I recommended. It will help you get...
October 1, 2009 at 12:55 pm
If you are positive that the underlying tables are updated, then there could be a problem with the view. The problem, however, is that we can't see what you...
October 1, 2009 at 11:57 am
Greg Edwards-268690 (9/30/2009)
ON CONVERT(VARCHAR(11),date_closed,120) = CONVERT(VARCHAR(11),[CalendarDate],120)
If you are joining on dates (date_closed to CalendarDate), they will always be the same.
So all your case staements are effectively =
DAY...
October 1, 2009 at 11:49 am
I have another question regarding CalendarDate and closed date, which table or view do they come from in the query. Neither of these columns have a table alias attached.
September 30, 2009 at 2:19 pm
Having looked at your original code and seeing the CalendarDate always ends in 00:00:00.000 (ie 2009-09-30 00:00:00.000) and closed_date ends with a time (ie 2009-09-30 13:03:01.333), the following is how...
September 30, 2009 at 1:05 pm
Yes, i saw Gail also and dropped her a PM. She is still really busy.
September 30, 2009 at 10:57 am
The force is lacking in this one, yes.
September 29, 2009 at 1:38 pm
You can obfusicate your table and column names making it more generic such that you can show what you did to solve your problem.
People do it all the time when...
September 29, 2009 at 12:36 pm
Proper forum etiquette would have you show your solution. There may be others with similar problems and your solution may be helpful.
September 29, 2009 at 12:05 pm
GilaMonster (9/29/2009)
Lynn Pettis (9/29/2009)
Add I must that article to the library in my sig block.
Much more and your sig will be larger...
September 29, 2009 at 12:01 pm
Viewing 15 posts - 18,736 through 18,750 (of 26,489 total)