Viewing 15 posts - 601 through 615 (of 3,543 total)
GilaMonster (12/8/2014)
Errrr.....NOT EXISTS or NOT IN, if I've understood what you're asking.
or EXCEPT 😀
December 8, 2014 at 6:06 am
SELECTv.Vchvendor, SUM(vgl.vglamount) AS [VGLamount],
STUFF((SELECT ','+ b.vchinvoicenbr
FROMVoucherGLDist a
JOIN Voucher b ON b.VchVoucherNbr = a.VGLVoucher
WHERE b.VchVendor = v.Vchvendor
FOR XML PATH ('')),1,1,'') AS [Invoices]
FROMVoucherGLDist vgl
JOIN Voucher v ON v.VchVoucherNbr = vgl.VGLVoucher
WHEREvgl.VGLJEBatch...
December 5, 2014 at 10:31 am
Add a parent group (grouping on Full_Name) to the details and give it a name (eg NameGroup)
Add a column to the right of Time_Taken and set the expression to
=Sum(Fields!Time_Taken.Value,"NameGroup")
set the...
December 4, 2014 at 5:34 am
Do you want Total_Time, Min_Time, Max_Time and Average_Time shown on each detail line or on a single total line
December 4, 2014 at 4:53 am
Luis Cazares (12/2/2014)
...it can be easier to start from scratch if we can understand the problem, than fix a complete piece of s...
I have this problem every time I look...
December 2, 2014 at 9:27 am
imex (12/2/2014)
Try something like this:
with CTE_User as
(
select
UserID
from MyTable
group by...
December 2, 2014 at 6:21 am
Cast to int, ie
SELECT CAST(45.67 as int)
will give you 45
November 25, 2014 at 6:23 am
If the string is less than 8000 chars you could use Jeff Moden's 8K splitter like this
DelimitedSplit8K(REPLACE(REPLACEDetail,'id=',','),' ',''),',')
to get a list of ids
This depends on the variability of the contents...
November 25, 2014 at 6:18 am
This means that either
Mid(Fields!businessnamevalue.Value,1,2) chars 1 and 2
or
Mid(Fields!businessnamevalue.Value,3,2) chars 3 and 4
has the value 'DA'
which indicates to me that the field businessnamevalue does not always start with timeslot
November 24, 2014 at 9:45 am
Add a calculated field and set the expression to
=TimeSerial(Mid(Fields!businessnamevalue.Value,1,2),Mid(Fields!businessnamevalue.Value,3,2),0)
this will give you a date type field in the dataset (the date will be 01/01/001 but the time will be correct)
You...
November 24, 2014 at 9:19 am
It depends on the content of fields!businessnamevalue that contains timeslot (as per your description)
can you post examples of this field?
November 24, 2014 at 8:55 am
Add a calculated field to the dataset that parses the column you mention and converts the start of the time period to TIME datatype and use that to order the...
November 24, 2014 at 6:10 am
Well Jeff would have to employ GBAG (Glass By Agonizing Glass) or get an Overflow Exception 😀
November 21, 2014 at 8:11 am
pwalter83 (11/18/2014)
David Burrows (11/18/2014)
Try this
ORDER BY CASE WHEN COMPANY_ROLE_CD = 'BK' THEN 1 WHEN BOOKED_BY_FLG = 'Y' THEN 2 ELSE 3 END ASC) AS [ROWID]
it worked for me 🙂
Thanks very...
November 18, 2014 at 3:13 am
Try this
ORDER BY CASE WHEN COMPANY_ROLE_CD = 'BK' THEN 1 WHEN BOOKED_BY_FLG = 'Y' THEN 2 ELSE 3 END ASC) AS [ROWID]
it worked for me 🙂
November 18, 2014 at 2:33 am
Viewing 15 posts - 601 through 615 (of 3,543 total)