Viewing 15 posts - 1 through 15 (of 29 total)
Report Properties | Code
looks promising
Maybe i can get a embedded VisualBasic challenge/response thing to work nicely
August 21, 2013 at 7:04 am
Letting the target report decide what to display could be a useful approach. Perhaps subreports are not quite the way to go, since all subreport queries get run regardless and...
August 21, 2013 at 6:58 am
Thanks Koen,
I was hoping not to write too much code, but perhaps the URL option is where I'll end up.
One thing about using an expression for the target report name........
August 21, 2013 at 6:34 am
I was not proposing that the WHERE and the ORDER BY were cooperating in some way to get the 3 values of the result. Those 3 values match the 3...
August 16, 2013 at 1:54 am
I would have thought the "order by" clause is absoutely necessary to guarantee a match to the sequence supplied as the answer. There is no implicit row order involved in...
August 15, 2013 at 2:05 am
YYYYMMDD is in fact the Basic date format proposed by ISO8601.
YYYY-MM-DD is named the Extended format.
Using either is OK by the standard.
December 4, 2012 at 1:39 am
Given a Calendar table something like this one
(I only allow NULLS for the contruction phase of the table)
CREATE TABLE [dbo].[Calendar](
[CalendarDate] [smalldatetime] NOT NULL,
...
December 3, 2012 at 7:37 am
Using Joe's Calendar table, this might provide a way for the kapil to get to the answer he wants.
It removes the need to recursively check if you added another sunday...
December 3, 2012 at 6:09 am
Anyone know if Joe's query
SELECT (C2.julian_business_nbr - C1.julian_business_nbr)
FROM Calendar AS C1, Calendar AS C2
WHERE C1.cal_date = '2007-04-05',
AND C2.cal_date = '2007-04-10';
causes a cross join before the complete...
December 3, 2012 at 5:45 am
Maybe I'm missing something here but why do you have an Identity column that you can abritrarily change the value of?
December 3, 2012 at 2:46 am
Hi Bernabe,
Nice idea if you have the need.
I was thinking of a less procedural approach and came up with this.
Given a "Calendar Table" with the following definition
CREATE TABLE [dbo].[Dates](
[CalendarDate] [smalldatetime]...
November 30, 2012 at 2:57 am
After creating a clustered index on the Months.Monthname (ref my first post) and rearranging the Select as follows, I get about the same performance as Jeff's original select.
SELECT Amount,...
November 17, 2010 at 3:30 am
Thanks for the pointers Jeff.
I'll SARG and test again
November 17, 2010 at 1:35 am
Viewing 15 posts - 1 through 15 (of 29 total)