Viewing 15 posts - 2,446 through 2,460 (of 3,480 total)
Given the data, this works:
SELECT RecID
, BO_ID
, Code
, Code_Date
, MAX(CD1) AS Msg1
, MAX(CD2) AS Msg2
, MAX(CD3) AS Msg3
FROM
(SELECT 1380900 AS RecID
,'XZ01' AS BO_ID
, 12 AS Code
, '1/16/2015' AS Code_Date
, 'P302'...
June 25, 2015 at 3:55 pm
Try this:
...
WHERE TT11.Period>=@BeginPeriod
AND TT11.Period<=@EndPeriod
June 25, 2015 at 2:38 pm
Instead of
=iif( Fields!ColA.Value<>Fields!ColB,"Red","Green")
try
=iif( Fields!ColA.Value=Fields!ColB,"Green","Red")
June 24, 2015 at 3:09 am
CYA and make a backup and keep it in a safe place...
then offer to sell it to him later... No, just kidding about the last part.
June 23, 2015 at 9:52 pm
Here's one I did based on the database provided by Itzik Ben-Gan in his book. It's the same kind of Customers/Orders/Line Items database. What I'm doing is showing all...
June 23, 2015 at 6:08 pm
This will return all APInvoiceNum values that contain at least one IT-related expense.
SELECT APInvoiceNum AS Invoice
FROM GLJrnDt1
WHERE GlJrnDt1.SegValue BETWEEN '310100' AND '330500'
/* You may not need these extra filters here...
June 23, 2015 at 8:29 am
Imran,
Given that you're a novice and haven't posted much here before, it's a good idea that you read Jeff Moden's article Forum Etiquette: How to post data/code on a forum...
June 22, 2015 at 6:44 pm
meerack11 (6/4/2015)
store procedure which is use in SSRS report and that store procedure use MDX Query how to extract the data from store procedure to report.?
If you specify the...
June 22, 2015 at 2:41 pm
Please don't cross-post. I think this is a better place for your original question, which is here:
http://www.sqlservercentral.com/Forums/Topic1696469-150-1.aspx#bm1696655
If you post the same question in several forums, responses are harder to...
June 22, 2015 at 1:23 pm
This parameter limits the data specific to IT related costs which is correct but I want to see IT costs that appear on an invoice which may have costs other...
June 22, 2015 at 12:55 pm
I suppose you could, but the downside to doing it in SSRS is that you pull back a bigger dataset, and T-SQL will run circles around SSRS doing this any...
June 22, 2015 at 11:51 am
June 20, 2015 at 7:17 pm
I would probably see if HappyCat59 knows.
June 20, 2015 at 7:08 pm
Before I get into possible solutions, if you're just starting on this database, I would advise you to reconsider your design. Basically you're storing more than one fact in...
June 20, 2015 at 12:55 am
I'm assuming you're using Access 2013 (it's what I have installed, sorry!) so if this doesn't work, you might need to specify the version of Access you're using.
If you're querying...
June 19, 2015 at 7:16 pm
Viewing 15 posts - 2,446 through 2,460 (of 3,480 total)