Viewing 6 posts - 1 through 6 (of 6 total)
ODBC Connections can be defined to use Integrated Windows Authentication. To simplify adminstration, individual users can then be added to Active Directory group(s) and those groups can be assigned SQL...
January 23, 2014 at 10:44 am
You can flip the anchor and recursive portion. The anchor becomes any folder that contains a report. In the below example the CategoryLevel is inverted (level that contains a report...
September 24, 2013 at 4:42 pm
select party_code,sum(inst_amt) as Total_instamt,
sum(case when paid_date < '27/11/2012' then paid_amt else 0 end) as Total_Paidamt
from @table1
group by party_code
September 24, 2013 at 9:14 am
WITH ReportCategoryList AS (
SELECT *, 1 AS CategoryLevel
FROM tblTestCategories
WHERE ReportCategoryID IS NULL
AND ID IN (SELECT ReportCategoryID from tblTestCategories)
UNION ALL
SELECT TC.*, RCL.CategoryLevel + 1
FROM tblTestCategories AS TC INNER...
September 24, 2013 at 8:34 am
= FORMAT(DATESERIAL(LEFT(MID("GA0120100466",7),2),LEFT(MID("GA0120100466",3),2),LEFT(MID("GA0120100466",5),2)),"MM/dd/yy")
- Susan
August 29, 2013 at 8:13 am
Viewing 6 posts - 1 through 6 (of 6 total)