mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Added custom reports for R Services that can be viewed from SSMS. Reports show R runtime configuration, resource usage and other statistics.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,969 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
|
||||
<Description>This report provides SQL Server R Services configuration information</Description>
|
||||
<Author>Umachandar Jayachandran</Author>
|
||||
<AutoRefresh>0</AutoRefresh>
|
||||
<DataSources>
|
||||
<DataSource Name="SqlConnection">
|
||||
<ConnectionProperties>
|
||||
<DataProvider>SQL</DataProvider>
|
||||
<ConnectString>Data Source=.</ConnectString>
|
||||
<IntegratedSecurity>true</IntegratedSecurity>
|
||||
</ConnectionProperties>
|
||||
<rd:SecurityType>Integrated</rd:SecurityType>
|
||||
<rd:DataSourceID>b3217cf0-c85a-4901-908f-abd9144894c6</rd:DataSourceID>
|
||||
</DataSource>
|
||||
</DataSources>
|
||||
<DataSets>
|
||||
<DataSet Name="Feature_Settings">
|
||||
<Query>
|
||||
<DataSourceName>SqlConnection</DataSourceName>
|
||||
<CommandText>/*
|
||||
Retrieve the R Services installation setting & configuration options:
|
||||
Implied Authentication Configuration is checked by verifying if login exists for SQLRUserGroup
|
||||
*/
|
||||
select CAST(SERVERPROPERTY('IsAdvancedAnalyticsInstalled') as int) as IsRServicesInstalled
|
||||
, CAST(value_in_use as int) as ExternalScriptsEnabled
|
||||
, COALESCE(SIGN(SUSER_ID(CONCAT(CAST(SERVERPROPERTY('MachineName') as nvarchar(128))
|
||||
, '\SQLRUserGroup'
|
||||
, CAST(serverproperty('InstanceName') as nvarchar(128)
|
||||
)))), 0) as ImpliedAuthenticationEnabled
|
||||
from sys.configurations
|
||||
where name = 'external scripts enabled';</CommandText>
|
||||
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="IsRServicesInstalled">
|
||||
<DataField>IsRServicesInstalled</DataField>
|
||||
<rd:TypeName>System.Int32</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="ExternalScriptsEnabled">
|
||||
<DataField>ExternalScriptsEnabled</DataField>
|
||||
<rd:TypeName>System.Int32</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="ImpliedAuthenticationEnabled">
|
||||
<DataField>ImpliedAuthenticationEnabled</DataField>
|
||||
<rd:TypeName>System.Int32</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
<DataSet Name="R_Properties">
|
||||
<Query>
|
||||
<DataSourceName>SqlConnection</DataSourceName>
|
||||
<CommandText>/*
|
||||
Get R runtime properties
|
||||
*/
|
||||
exec sp_execute_external_script
|
||||
@language = N'R'
|
||||
, @script = N'
|
||||
# Retrieve properties like R.home, libPath & default packages
|
||||
OutputDataSet <- data.frame(
|
||||
property_name = c("R.home", "libPaths", "defaultPackages"),
|
||||
property_value = c(R.home(), .libPaths(), paste(getOption("defaultPackages"), collapse=", "))
|
||||
)
|
||||
# Transform R version properties to data.frame
|
||||
OutputDataSet <- rbind(OutputDataSet, data.frame(
|
||||
property_name = names(R.version),
|
||||
property_value = matrix(unlist(R.version), nrow = length(R.version), byrow = TRUE),
|
||||
stringsAsFactors = FALSE)
|
||||
)
|
||||
'
|
||||
with result sets ((property_name nvarchar(100), property_value nvarchar(4000)));</CommandText>
|
||||
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="property_name">
|
||||
<DataField>property_name</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="property_value">
|
||||
<DataField>property_value</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
</DataSets>
|
||||
<ReportSections>
|
||||
<ReportSection>
|
||||
<Body>
|
||||
<ReportItems>
|
||||
<Tablix Name="Tablix2">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1.4875in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>6.49583in</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox8">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>R Runtime Property</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox9">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Property Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox9</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="property_name">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!property_name.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>property_name</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="property_value">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!property_value.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>property_value</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember>
|
||||
<KeepWithGroup>After</KeepWithGroup>
|
||||
</TablixMember>
|
||||
<TablixMember>
|
||||
<Group Name="Details" />
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>R_Properties</DataSetName>
|
||||
<Top>1.65833in</Top>
|
||||
<Height>0.5in</Height>
|
||||
<Width>7.98333in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
<Tablix Name="Tablix1">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.25833in</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox2">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>R Services Installed</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox3">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>External Scripts Enabled</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox5">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Implied Authentication Enabled</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<GaugePanel Name="GaugePanel1">
|
||||
<StateIndicators>
|
||||
<StateIndicator Name="Indicator1">
|
||||
<GaugeInputValue>
|
||||
<Value>=First(Fields!IsRServicesInstalled.Value)</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
<DataElementOutput>NoOutput</DataElementOutput>
|
||||
</GaugeInputValue>
|
||||
<TransformationType>None</TransformationType>
|
||||
<TransformationScope>Tablix1</TransformationScope>
|
||||
<MinimumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MinimumValue>
|
||||
<MaximumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MaximumValue>
|
||||
<IndicatorStyle>None</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStates>
|
||||
<IndicatorState Name="ThreeSymbolCross">
|
||||
<StartValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Red</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCross</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
<IndicatorState Name="ThreeSymbolCheck">
|
||||
<StartValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Green</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCheck</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
</IndicatorStates>
|
||||
<Angle>0</Angle>
|
||||
<StateDataElementName />
|
||||
<rd:IconsSet>ThreeCircledSymbols</rd:IconsSet>
|
||||
<Style>
|
||||
<ShadowOffset>2pt</ShadowOffset>
|
||||
</Style>
|
||||
<Top>4</Top>
|
||||
<Left>4</Left>
|
||||
<Height>92</Height>
|
||||
<Width>92</Width>
|
||||
</StateIndicator>
|
||||
</StateIndicators>
|
||||
<AutoLayout>true</AutoLayout>
|
||||
<BackFrame>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>Gainsboro</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
<ShadowOffset>0pt</ShadowOffset>
|
||||
</Style>
|
||||
<FrameBackground>
|
||||
<Style>
|
||||
<BackgroundColor>Silver</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
</Style>
|
||||
</FrameBackground>
|
||||
<FrameImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</FrameImage>
|
||||
</BackFrame>
|
||||
<TopImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</TopImage>
|
||||
<DataSetName>Feature_Settings</DataSetName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
</Style>
|
||||
</GaugePanel>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<GaugePanel Name="GaugePanel2">
|
||||
<StateIndicators>
|
||||
<StateIndicator Name="Indicator1">
|
||||
<GaugeInputValue>
|
||||
<Value>=Sum(Fields!ExternalScriptsEnabled.Value)</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
<DataElementOutput>NoOutput</DataElementOutput>
|
||||
</GaugeInputValue>
|
||||
<TransformationType>None</TransformationType>
|
||||
<TransformationScope>Tablix1</TransformationScope>
|
||||
<MinimumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MinimumValue>
|
||||
<MaximumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MaximumValue>
|
||||
<IndicatorStyle>None</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStates>
|
||||
<IndicatorState Name="ThreeSymbolCross">
|
||||
<StartValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Red</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCross</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
<IndicatorState Name="ThreeSymbolCheck">
|
||||
<StartValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Green</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCheck</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
</IndicatorStates>
|
||||
<Angle>0</Angle>
|
||||
<StateDataElementName />
|
||||
<rd:IconsSet>ThreeCircledSymbols</rd:IconsSet>
|
||||
<Style>
|
||||
<ShadowOffset>2pt</ShadowOffset>
|
||||
</Style>
|
||||
<Top>4</Top>
|
||||
<Left>4</Left>
|
||||
<Height>92</Height>
|
||||
<Width>92</Width>
|
||||
</StateIndicator>
|
||||
</StateIndicators>
|
||||
<AutoLayout>true</AutoLayout>
|
||||
<BackFrame>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>Gainsboro</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
<ShadowOffset>0pt</ShadowOffset>
|
||||
</Style>
|
||||
<FrameBackground>
|
||||
<Style>
|
||||
<BackgroundColor>Silver</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
</Style>
|
||||
</FrameBackground>
|
||||
<FrameImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</FrameImage>
|
||||
</BackFrame>
|
||||
<TopImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</TopImage>
|
||||
<DataSetName>Feature_Settings</DataSetName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
</Style>
|
||||
</GaugePanel>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<GaugePanel Name="GaugePanel3">
|
||||
<StateIndicators>
|
||||
<StateIndicator Name="Indicator1">
|
||||
<GaugeInputValue>
|
||||
<Value>=Sum(Fields!ImpliedAuthenticationEnabled.Value)</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
<DataElementOutput>NoOutput</DataElementOutput>
|
||||
</GaugeInputValue>
|
||||
<TransformationType>None</TransformationType>
|
||||
<TransformationScope>Tablix1</TransformationScope>
|
||||
<MinimumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MinimumValue>
|
||||
<MaximumValue>
|
||||
<Value>NaN</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</MaximumValue>
|
||||
<IndicatorStyle>None</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStates>
|
||||
<IndicatorState Name="ThreeSymbolCross">
|
||||
<StartValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>0</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Red</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCross</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
<IndicatorState Name="ThreeSymbolCheck">
|
||||
<StartValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</StartValue>
|
||||
<EndValue>
|
||||
<Value>1</Value>
|
||||
<Multiplier>1</Multiplier>
|
||||
</EndValue>
|
||||
<Color>Green</Color>
|
||||
<ScaleFactor>1</ScaleFactor>
|
||||
<IndicatorStyle>ThreeSymbolCheck</IndicatorStyle>
|
||||
<IndicatorImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</IndicatorImage>
|
||||
</IndicatorState>
|
||||
</IndicatorStates>
|
||||
<Angle>0</Angle>
|
||||
<StateDataElementName />
|
||||
<rd:IconsSet>ThreeCircledSymbols</rd:IconsSet>
|
||||
<Style>
|
||||
<ShadowOffset>2pt</ShadowOffset>
|
||||
</Style>
|
||||
<Top>4</Top>
|
||||
<Left>4</Left>
|
||||
<Height>92</Height>
|
||||
<Width>92</Width>
|
||||
</StateIndicator>
|
||||
</StateIndicators>
|
||||
<AutoLayout>true</AutoLayout>
|
||||
<BackFrame>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>Gainsboro</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
<ShadowOffset>0pt</ShadowOffset>
|
||||
</Style>
|
||||
<FrameBackground>
|
||||
<Style>
|
||||
<BackgroundColor>Silver</BackgroundColor>
|
||||
<BackgroundGradientType>DiagonalLeft</BackgroundGradientType>
|
||||
<BackgroundGradientEndColor>Gray</BackgroundGradientEndColor>
|
||||
<BackgroundHatchType>None</BackgroundHatchType>
|
||||
</Style>
|
||||
</FrameBackground>
|
||||
<FrameImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</FrameImage>
|
||||
</BackFrame>
|
||||
<TopImage>
|
||||
<Source>External</Source>
|
||||
<Value />
|
||||
</TopImage>
|
||||
<DataSetName>Feature_Settings</DataSetName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
</Style>
|
||||
</GaugePanel>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>Feature_Settings</DataSetName>
|
||||
<Top>0.96944in</Top>
|
||||
<Height>0.5in</Height>
|
||||
<Width>3.25833in</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
<Textbox Name="ReportTitle">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>SQL Server R Services - Configuration</Value>
|
||||
<Style>
|
||||
<FontFamily>Verdana</FontFamily>
|
||||
<FontSize>20pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
|
||||
<rd:DefaultName>ReportTitle</rd:DefaultName>
|
||||
<Height>0.4in</Height>
|
||||
<Width>7.98333in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>This report provides configuration settings for SQL Server R Services and properties of the R installation.</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.51333in</Top>
|
||||
<Height>0.25in</Height>
|
||||
<Width>7.98333in</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="ViewSQLScript">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>View SQL script</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<ActionInfo>
|
||||
<Actions>
|
||||
<Action>
|
||||
<Drillthrough>
|
||||
<ReportName>=".\R Services - Script"</ReportName>
|
||||
<Parameters>
|
||||
<Parameter Name="SQLR_ReportName">
|
||||
<Value>SQL Server R Services - Configuration</Value>
|
||||
</Parameter>
|
||||
<Parameter Name="SQLR_Script">
|
||||
<Value>=DataSets("Feature_Settings").CommandText & chr(13) & chr(10) & "go" & chr(13) & chr(10) & DataSets("R_Properties").CommandText</Value>
|
||||
</Parameter>
|
||||
</Parameters>
|
||||
</Drillthrough>
|
||||
</Action>
|
||||
</Actions>
|
||||
</ActionInfo>
|
||||
<Top>0.96944in</Top>
|
||||
<Left>6.925in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1.05833in</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<ToolTip>Click here to view the T-SQL script used to generate the data in the report.</ToolTip>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Double</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<VerticalAlign>Middle</VerticalAlign>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>2.15833in</Height>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Body>
|
||||
<Width>8.01667in</Width>
|
||||
<Page>
|
||||
<PageFooter>
|
||||
<Height>0.45in</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="ExecutionTime">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!ExecutionTime</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>ExecutionTime</rd:DefaultName>
|
||||
<Top>0.2in</Top>
|
||||
<Left>5.98333in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>2in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</PageFooter>
|
||||
<LeftMargin>1in</LeftMargin>
|
||||
<RightMargin>1in</RightMargin>
|
||||
<TopMargin>1in</TopMargin>
|
||||
<BottomMargin>1in</BottomMargin>
|
||||
<Style />
|
||||
</Page>
|
||||
</ReportSection>
|
||||
</ReportSections>
|
||||
<ReportParameters>
|
||||
<ReportParameter Name="ServerName">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>.</Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<Prompt>ServerName</Prompt>
|
||||
<Hidden>true</Hidden>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<rd:ReportUnitType>Inch</rd:ReportUnitType>
|
||||
<rd:ReportID>9ab6c190-a62f-424e-a13a-102d103b4239</rd:ReportID>
|
||||
</Report>
|
||||
@@ -0,0 +1,730 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
|
||||
<Description>This report shows R packages installed on the SQL Server machine.</Description>
|
||||
<Author>Umachandar Jayachandran</Author>
|
||||
<AutoRefresh>0</AutoRefresh>
|
||||
<DataSources>
|
||||
<DataSource Name="SqlConnection">
|
||||
<ConnectionProperties>
|
||||
<DataProvider>SQL</DataProvider>
|
||||
<ConnectString>Data Source=.</ConnectString>
|
||||
<IntegratedSecurity>true</IntegratedSecurity>
|
||||
</ConnectionProperties>
|
||||
<rd:SecurityType>Integrated</rd:SecurityType>
|
||||
<rd:DataSourceID>888cc098-f33d-44a7-9758-c75f85be1817</rd:DataSourceID>
|
||||
</DataSource>
|
||||
</DataSources>
|
||||
<DataSets>
|
||||
<DataSet Name="R_Packages">
|
||||
<Query>
|
||||
<DataSourceName>SqlConnection</DataSourceName>
|
||||
<CommandText>/*
|
||||
Get list of installed packages:
|
||||
*/
|
||||
exec sp_execute_external_script
|
||||
@language = N'R'
|
||||
, @script = N'
|
||||
# Use installed packages to determine packages installed in the R directory
|
||||
OutputDataSet <- data.frame(installed.packages()[,c("Package", "Version", "Depends", "License", "Built", "LibPath")]);
|
||||
'
|
||||
with result sets ((Package nvarchar(255), Version nvarchar(100), Depends nvarchar(4000), License nvarchar(1000), Built nvarchar(100), LibPath nvarchar(2000)));</CommandText>
|
||||
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
||||
</Query>
|
||||
<Fields>
|
||||
<Field Name="Package">
|
||||
<DataField>Package</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="Version">
|
||||
<DataField>Version</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="Depends">
|
||||
<DataField>Depends</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="License">
|
||||
<DataField>License</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="Built">
|
||||
<DataField>Built</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="LibPath">
|
||||
<DataField>LibPath</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
</DataSet>
|
||||
</DataSets>
|
||||
<ReportSections>
|
||||
<ReportSection>
|
||||
<Body>
|
||||
<ReportItems>
|
||||
<Tablix Name="Tablix1">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1.33056in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>0.84723in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.18331in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.725in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>0.53334in</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>3.78891in</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox2">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Package</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox3">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Version</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox5">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Depends</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox7">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>License</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox7</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox9">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Built</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox9</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox11">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Lib Path</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<FontSize>11pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>White</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox11</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#7292cc</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>#4c68a2</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.25in</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Package">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!Package.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Package</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Version">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!Version.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Version</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Depends">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!Depends.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Depends</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="License">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!License.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>License</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Built">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!Built.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Built</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="LibPath">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!LibPath.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
<Color>#4d4d4d</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>LibPath</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#e5e5e5</Color>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember>
|
||||
<KeepWithGroup>After</KeepWithGroup>
|
||||
</TablixMember>
|
||||
<TablixMember>
|
||||
<Group Name="Details" />
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>R_Packages</DataSetName>
|
||||
<Top>1.15in</Top>
|
||||
<Height>0.5in</Height>
|
||||
<Width>10.40835in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
<Textbox Name="ReportTitle">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>SQL Server R Services - Installed Packages</Value>
|
||||
<Style>
|
||||
<FontFamily>Verdana</FontFamily>
|
||||
<FontSize>20pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
|
||||
<rd:DefaultName>ReportTitle</rd:DefaultName>
|
||||
<Height>0.4in</Height>
|
||||
<Width>10.40835in</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>This report displays few properties of the packages installed in the R_SERVICES directory of the SQL Server instance. Use this report to determine if a particular package is installed for use in SQL Server and the location of the package on the file system.</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.42778in</Top>
|
||||
<Height>0.36667in</Height>
|
||||
<Width>10.40835in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="ViewSQLScript">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>View SQL script</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<ActionInfo>
|
||||
<Actions>
|
||||
<Action>
|
||||
<Drillthrough>
|
||||
<ReportName>=".\R Services - Script"</ReportName>
|
||||
<Parameters>
|
||||
<Parameter Name="SQLR_ReportName">
|
||||
<Value>SQL Server R Services - Installed Packages</Value>
|
||||
</Parameter>
|
||||
<Parameter Name="SQLR_Script">
|
||||
<Value>=DataSets("R_Packages").CommandText</Value>
|
||||
</Parameter>
|
||||
</Parameters>
|
||||
</Drillthrough>
|
||||
</Action>
|
||||
</Actions>
|
||||
</ActionInfo>
|
||||
<Top>0.825in</Top>
|
||||
<Left>9.35002in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>1.05833in</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<ToolTip>Click here to view the T-SQL script used to generate the data in the report.</ToolTip>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Double</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<VerticalAlign>Middle</VerticalAlign>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>1.68333in</Height>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Body>
|
||||
<Width>10.43335in</Width>
|
||||
<Page>
|
||||
<PageFooter>
|
||||
<Height>0.45in</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="ExecutionTime">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!ExecutionTime</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>ExecutionTime</rd:DefaultName>
|
||||
<Top>0.2in</Top>
|
||||
<Left>8.40835in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>2in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</PageFooter>
|
||||
<LeftMargin>1in</LeftMargin>
|
||||
<RightMargin>1in</RightMargin>
|
||||
<TopMargin>1in</TopMargin>
|
||||
<BottomMargin>1in</BottomMargin>
|
||||
<Style />
|
||||
</Page>
|
||||
</ReportSection>
|
||||
</ReportSections>
|
||||
<ReportParameters>
|
||||
<ReportParameter Name="ServerName">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>.</Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<Prompt>ServerName</Prompt>
|
||||
<Hidden>true</Hidden>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<rd:ReportUnitType>Inch</rd:ReportUnitType>
|
||||
<rd:ReportID>753a9ad3-917c-4031-85df-7d90218a26d3</rd:ReportID>
|
||||
</Report>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,245 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
|
||||
<AutoRefresh>0</AutoRefresh>
|
||||
<DataSources>
|
||||
<DataSource Name="SqlConnection">
|
||||
<ConnectionProperties>
|
||||
<DataProvider>SQL</DataProvider>
|
||||
<ConnectString>Data Source=.</ConnectString>
|
||||
<IntegratedSecurity>true</IntegratedSecurity>
|
||||
</ConnectionProperties>
|
||||
<rd:SecurityType>Integrated</rd:SecurityType>
|
||||
<rd:DataSourceID>f68705bb-df33-493e-b2ea-e8070ba8d88b</rd:DataSourceID>
|
||||
</DataSource>
|
||||
</DataSources>
|
||||
<ReportSections>
|
||||
<ReportSection>
|
||||
<Body>
|
||||
<ReportItems>
|
||||
<Textbox Name="ReportTitle">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>SQL Server R Services - T-SQL Script</Value>
|
||||
<Style>
|
||||
<FontFamily>Verdana</FontFamily>
|
||||
<FontSize>20pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
|
||||
<rd:DefaultName>ReportTitle</rd:DefaultName>
|
||||
<Height>0.4in</Height>
|
||||
<Width>6in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<BackgroundColor>LightGrey</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox1">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>This is the T-SQL script for generating the data in report:</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.46944in</Top>
|
||||
<Left>0.03in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>3.50333in</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="SQLR_Code">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!SQLR_Script.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Courier New</FontFamily>
|
||||
<FontSize>9pt</FontSize>
|
||||
<Color>DarkBlue</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<Top>0.80556in</Top>
|
||||
<Left>0.03in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>8.95333in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox2">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!SQLR_ReportName.Value</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<TextDecoration>Underline</TextDecoration>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.46944in</Top>
|
||||
<Left>3.56111in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>5.42222in</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>1.125in</Height>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Body>
|
||||
<Width>9.01667in</Width>
|
||||
<Page>
|
||||
<PageFooter>
|
||||
<Height>0.45in</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="ExecutionTime">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!ExecutionTime</Value>
|
||||
<Style />
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Right</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>ExecutionTime</rd:DefaultName>
|
||||
<Top>0.2in</Top>
|
||||
<Left>6.98333in</Left>
|
||||
<Height>0.25in</Height>
|
||||
<Width>2in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</PageFooter>
|
||||
<LeftMargin>1in</LeftMargin>
|
||||
<RightMargin>1in</RightMargin>
|
||||
<TopMargin>1in</TopMargin>
|
||||
<BottomMargin>1in</BottomMargin>
|
||||
<Style />
|
||||
</Page>
|
||||
</ReportSection>
|
||||
</ReportSections>
|
||||
<ReportParameters>
|
||||
<ReportParameter Name="ServerName">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>.</Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<Prompt>ServerName</Prompt>
|
||||
<Hidden>true</Hidden>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="SQLR_ReportName">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>No Report</Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>SQLR_ReportName</Prompt>
|
||||
<Hidden>true</Hidden>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="SQLR_Script">
|
||||
<DataType>String</DataType>
|
||||
<DefaultValue>
|
||||
<Values>
|
||||
<Value>-- SQL Script</Value>
|
||||
</Values>
|
||||
</DefaultValue>
|
||||
<Prompt>SQLR_Script</Prompt>
|
||||
<Hidden>true</Hidden>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<rd:ReportUnitType>Inch</rd:ReportUnitType>
|
||||
<rd:ReportID>2d6f122f-88fc-4fb4-9573-33bf83616a77</rd:ReportID>
|
||||
</Report>
|
||||
@@ -0,0 +1,3 @@
|
||||
To use custom reports from SSMS, follow the instructions from below link:
|
||||
|
||||
https://msdn.microsoft.com/en-us/library/bb153684.aspx
|
||||
Reference in New Issue
Block a user