Viewing 15 posts - 1,426 through 1,440 (of 2,458 total)
Sean Lange (5/29/2015)
sarath.tata (5/29/2015)
Sean Lange (5/29/2015)
sarath.tata (5/29/2015)
Sean Lange (5/29/2015)
-- Itzik Ben-Gan 2001
May 29, 2015 at 10:20 am
Based on your original post, this will give you exactly what you were requesting:
DECLARE @order TABLE (OrderNbr int);
DECLARE @dept TABLE (Dept CHAR(1), Person varchar(3));
INSERT @order VALUES (1),(2),(3),(4),(5),(6);
INSERT @dept VALUES
('A','P1'),
('A','P2'),
('B','P3'),
('B','P4'),
('B','P5'),
('C','P6'),
('C','P7'),
('C','P8'),
('C','P9');
SELECT d.Dept,...
-- Itzik Ben-Gan 2001
May 29, 2015 at 10:04 am
Just read this. Amazing work Frank!
Looks like SQL 2016 is going to be very Big Data-Centric from what I have read.
-- Itzik Ben-Gan 2001
May 29, 2015 at 9:29 am
Jason A. Long (5/29/2015)
I suppose that's why a query...
-- Itzik Ben-Gan 2001
May 29, 2015 at 9:21 am
simon.barnes (5/29/2015)
-- Itzik Ben-Gan 2001
May 29, 2015 at 9:13 am
You can get most of what you are looking for by querying <your ReportServer DB>.<schema>.catalog. You can get the RDL/XML by casting the Content column as varbinay then as XML...
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:58 am
Jason A. Long (5/28/2015)
WITH ContentToVarBin AS (
SELECT
c.Name,
CAST(c.Content AS VARBINARY(MAX)) AS Content
FROM
ReportServer.dbo.Catalog c
WHERE
[Type] = 2
), ContentToXML AS (--The second...
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:51 am
Not clear what you mean by:
reference to a particular server?
If you are talking about checking Objects on other servers you can loop through the server you are on as well...
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:42 am
I'm going to go with Jim Morrison seeing that he's been banned from another Venue.
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:30 am
This is not a very clear description of what you are trying to do. Can you post some DDL, consumable sample data and an example of the expected results?
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:26 am
DMV's are views, DMF's are functions. Dynamic Management Views and Functions were introduced in SQL 2005 and allow you to look at information that is stored in the Query Cache,...
-- Itzik Ben-Gan 2001
May 29, 2015 at 12:06 am
I think this is one of the areas where our profession will grow more and more across the next decade. As we deal with lots of data of varying types,...
-- Itzik Ben-Gan 2001
May 28, 2015 at 11:52 pm
You've been around enough to know about posting DLL, sample data, etc... You're also posting the estimated query plan. The actual query plan would be better.
Anyhow, from a birds-eye...
-- Itzik Ben-Gan 2001
May 28, 2015 at 11:10 pm
Gary Harding (5/28/2015)
Alan.B (5/27/2015)
Michael Meierruth (5/27/2015)
Alan B.How does your function stand up to a varchar(8000) column with an * at the beginning and end and all blanks in between?
Okay, first...
-- Itzik Ben-Gan 2001
May 28, 2015 at 8:27 pm
I wrote a numbers function some time ago that is designed for exactly this type of thing.
IF OBJECT_ID('dbo.GetNumsAB','IF') IS NOT NULL
DROP FUNCTION dbo.GetNumsAB;
GO
CREATE FUNCTION dbo.GetNumsAB(@low int, @high int, @range...
-- Itzik Ben-Gan 2001
May 28, 2015 at 8:17 pm
Viewing 15 posts - 1,426 through 1,440 (of 2,458 total)