Viewing 7 posts - 1,951 through 1,957 (of 1,957 total)
Jeff Moden (4/11/2009)
April 11, 2009 at 2:18 pm
Florian Reischl (4/11/2009)
mister.magoo (4/11/2009)
Borrowing a bit from Flo...
Always welcome! That's the reason for sample data! 🙂
This is an output solution, it does not affect the table.
Also, it is kind...
April 11, 2009 at 11:03 am
Borrowing a bit from Flo... another set based solution without CTE ....
DECLARE @t TABLE (Name VARCHAR(30), Reading INT, Result INT)
INSERT INTO @t
...
April 11, 2009 at 10:27 am
jsanborn (4/10/2009)
I've included a script to build a table for the rats. ...
So again (and I'm sure someone will say I'm completely changing the...
April 10, 2009 at 4:18 pm
Jeffrey Williams (4/9/2009)
Modify the where clause like this:
WHERE 1 = CASE
WHEN @Report...
April 10, 2009 at 12:42 am
My advice is don't try and do it all in the where clause.
Use a table for the report classes....
CREATE TABLE ReportKeys(
report_key CHAR(10),
report_id CHAR(10)
)
GO
INSERT ReportKeys(report_key,report_id)
SELECT 'TTT','TTT' UNION ALL
SELECT '370','National' UNION...
April 9, 2009 at 6:50 pm
Viewing 7 posts - 1,951 through 1,957 (of 1,957 total)