diff --git a/NexusReports/NexusReports.rptproj b/NexusReports/NexusReports.rptproj index 4897830..e629b56 100644 --- a/NexusReports/NexusReports.rptproj +++ b/NexusReports/NexusReports.rptproj @@ -83,6 +83,7 @@ + diff --git a/NexusReports/Running_Device_Drivers_C.rdl b/NexusReports/Running_Device_Drivers_C.rdl new file mode 100644 index 0000000..fa5e687 --- /dev/null +++ b/NexusReports/Running_Device_Drivers_C.rdl @@ -0,0 +1,935 @@ + + + + + SSDTRS + 17.14.36616.10 + + + SSDTRS + 17.14.36705.20 + + 2025-11-14T15:01:37.8768469Z + + Segoe UI + 0 + + + + SQL + Data Source=.;Initial Catalog=sqlnexus + true + + Integrated + b4db1918-55ef-4bfb-b4af-c14927feb0ad + + + + + + DataSource1 + SELECT ID, + File_Name, + Company_Name, + File_Description, + Product_Version, + File_Version, + File_Size_MB, + Last_Write_Time +FROM tbl_running_drivers + true + + + + ID + System.Int32 + + + File_Name + System.String + + + Company_Name + System.String + + + File_Description + System.String + + + Product_Version + System.String + + + File_Version + System.String + + + File_Size_MB + System.Decimal + + + Last_Write_Time + System.DateTime + + + + + + + + + + true + true + + + + + Running Drivers + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + 0.52083in + + + 6.40625in + + + 2.96875in + + + 2.72917in + + + 1.64583in + + + 1in + + + 1.29167in + + + + + 0.22in + + + + + true + + =Fields!ID.Value + + true + + + + + ID + + + + + + + textbox2 + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Name.Value + + true + + + + + File Name + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Description.Value + + true + + + + + File Description + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Company_Name.Value + + true + + + + + Company Name + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Product_Version.Value + + true + + + + + Product Version + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Size_MB.Value + + true + + + + + File Size MB + + + + + + + textbox8 + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Last_Write_Time.Value + + true + + + + + Last Write Time + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.21in + + + + + true + true + + + + + =Fields!ID.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Name.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Description.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Company_Name.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Product_Version.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Size_MB.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Last_Write_Time.Value + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + After + true + true + + + + Detail + + + + + Detail_Collection + Output + true + + + + DataSet1 + 0.68in + 0.43in + 16.5625in + 1 + + + + + + 1.235in + + + + + 16.5625in + + 1in + 1in + 1in + 1in + + + + + + + + + 4 + 2 + + + en-US + true + Inch + 867dc3bd-0425-43dd-97d4-2ed41963ef3e + \ No newline at end of file diff --git a/NexusReports/Running_Device_Drivers_C.rdl.data b/NexusReports/Running_Device_Drivers_C.rdl.data new file mode 100644 index 0000000..a241382 Binary files /dev/null and b/NexusReports/Running_Device_Drivers_C.rdl.data differ diff --git a/NexusReports/SQL Perf Main.rdl b/NexusReports/SQL Perf Main.rdl index ce3b64d..6a8463c 100644 --- a/NexusReports/SQL Perf Main.rdl +++ b/NexusReports/SQL Perf Main.rdl @@ -39,7 +39,7 @@ SeqNo INT, DataCollection NVARCHAR(128), Importer NVARCHAR(128), - Manditory BIT, + Mandatory BIT, CategorySeq INT ); @@ -55,7 +55,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -72,7 +72,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -89,7 +89,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -107,7 +107,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -125,7 +125,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -142,7 +142,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -159,7 +159,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -175,7 +175,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -191,7 +191,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -207,7 +207,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -223,7 +223,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -240,7 +240,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -257,7 +257,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -274,7 +274,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -291,7 +291,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -307,7 +307,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -323,7 +323,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -340,7 +340,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -357,7 +357,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -374,7 +374,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -390,7 +390,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -407,7 +407,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -424,7 +424,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -440,7 +440,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -457,7 +457,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -474,7 +474,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -491,7 +491,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -508,7 +508,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -525,7 +525,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -541,7 +541,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -558,7 +558,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -574,7 +574,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -590,7 +590,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -606,7 +606,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -622,7 +622,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -639,7 +639,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -655,7 +655,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -672,7 +672,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -689,7 +689,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -705,7 +705,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -721,7 +721,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -738,7 +738,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -754,7 +754,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -770,7 +770,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -788,7 +788,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -804,7 +804,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -820,7 +820,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -836,7 +836,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -852,7 +852,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -870,7 +870,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -886,7 +886,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -903,7 +903,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -921,7 +921,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -939,7 +939,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -957,13 +957,30 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES ('SQLAssessmentAPI_C', 'SQL Assessment API Rules', 'Shows what SQL Assessment API rules have filed and their output', 1 | 2 | 4 | 8, 'Common', 'dbo.tbl_assessment_api', 400, 'SQL Base Collector', 1, 2023); +-- Filter drivers +INSERT INTO @tbl_reports +( + ReportName, + ReportDisplayName, + ReportDescription, + VersionApplied, + Category, + ValidationObject, + SeqNo, + DataCollection, + Mandatory, + CategorySeq +) +VALUES +('Running_Device_Drivers_C', 'Running Drivers Report', 'Device Drivers Report', 1 | 2 | 4 | 8, 'Common', + 'dbo.tbl_running_drivers', 407, 'SQL Base Collector', 1, 2025); --Azure @@ -977,7 +994,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -994,7 +1011,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1011,7 +1028,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1028,7 +1045,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1046,7 +1063,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES diff --git a/RowsetImportEngine/Helpers/ConvertHelper.cs b/RowsetImportEngine/Helpers/ConvertHelper.cs index 1a4d97c..2e693c5 100644 --- a/RowsetImportEngine/Helpers/ConvertHelper.cs +++ b/RowsetImportEngine/Helpers/ConvertHelper.cs @@ -1,4 +1,5 @@ using System.ComponentModel; +using System.Windows.Forms; namespace RowsetImportEngine.Helpers @@ -15,22 +16,29 @@ public static object ValidateData(object columndata, out object data) data = null; var converter = TypeDescriptor.GetConverter(typeof(T)); - if (converter != null && converter.IsValid(columndata)) - { - try { data = (T)converter.ConvertFrom(columndata); } - catch { - if (columndata != null) - data = (T)converter.ConvertFromInvariantString(columndata.ToString()); - else - data = null; - }// try invariant if direct fails ,happens on decimals on non-US locales - } - else if (converter != null && columndata != null) + if (converter == null || columndata == null) + return data; // if any of these null, return before its too late + + // Handle decimal and double with "comma" AND "dot" as decimal separator, handling this here instead of having the exception later and catching it. + if ((converter is System.ComponentModel.DecimalConverter || converter is System.ComponentModel.DoubleConverter)) { - if (converter.IsValid(columndata.ToString())) + if (columndata.ToString().Contains(",")) //is it comma decimal separator? { - data = (T)converter.ConvertFrom(columndata.ToString()); + columndata = columndata.ToString().Replace(",", "."); //replace comma with dot as InvariantCulture uses dot } + data = (T)converter.ConvertFromInvariantString(columndata.ToString()); + } + + else if (converter.IsValid(columndata)) + { + //our standart convert , path for int , datetime ,etc + data = (T)converter.ConvertFrom(columndata); + } + + else if (converter.IsValid(columndata.ToString())) + { + // which scenario ends here ? + data = (T)converter.ConvertFrom(columndata.ToString()); } return data; } diff --git a/RowsetImportEngine/TextRowsets.xml b/RowsetImportEngine/TextRowsets.xml index 8961556..bb5e864 100644 --- a/RowsetImportEngine/TextRowsets.xml +++ b/RowsetImportEngine/TextRowsets.xml @@ -4713,100 +4713,129 @@ - + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sqlnexus/Reports/Running_Device_Drivers_C.rdlC b/sqlnexus/Reports/Running_Device_Drivers_C.rdlC new file mode 100644 index 0000000..fa5e687 --- /dev/null +++ b/sqlnexus/Reports/Running_Device_Drivers_C.rdlC @@ -0,0 +1,935 @@ + + + + + SSDTRS + 17.14.36616.10 + + + SSDTRS + 17.14.36705.20 + + 2025-11-14T15:01:37.8768469Z + + Segoe UI + 0 + + + + SQL + Data Source=.;Initial Catalog=sqlnexus + true + + Integrated + b4db1918-55ef-4bfb-b4af-c14927feb0ad + + + + + + DataSource1 + SELECT ID, + File_Name, + Company_Name, + File_Description, + Product_Version, + File_Version, + File_Size_MB, + Last_Write_Time +FROM tbl_running_drivers + true + + + + ID + System.Int32 + + + File_Name + System.String + + + Company_Name + System.String + + + File_Description + System.String + + + Product_Version + System.String + + + File_Version + System.String + + + File_Size_MB + System.Decimal + + + Last_Write_Time + System.DateTime + + + + + + + + + + true + true + + + + + Running Drivers + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + 0.52083in + + + 6.40625in + + + 2.96875in + + + 2.72917in + + + 1.64583in + + + 1in + + + 1.29167in + + + + + 0.22in + + + + + true + + =Fields!ID.Value + + true + + + + + ID + + + + + + + textbox2 + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Name.Value + + true + + + + + File Name + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Description.Value + + true + + + + + File Description + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Company_Name.Value + + true + + + + + Company Name + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Product_Version.Value + + true + + + + + Product Version + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!File_Size_MB.Value + + true + + + + + File Size MB + + + + + + + textbox8 + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + =Fields!Last_Write_Time.Value + + true + + + + + Last Write Time + + + + + + + Black + + + Black + + + + Black + + + + Black + + + Indigo + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.21in + + + + + true + true + + + + + =Fields!ID.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Name.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Description.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Company_Name.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Product_Version.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!File_Size_MB.Value + + + + + + + + + + + + + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Last_Write_Time.Value + + + + + + =IIF(ROWNUMBER(NOTHING) MOD 2, "White", "Gainsboro") + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + After + true + true + + + + Detail + + + + + Detail_Collection + Output + true + + + + DataSet1 + 0.68in + 0.43in + 16.5625in + 1 + + + + + + 1.235in + + + + + 16.5625in + + 1in + 1in + 1in + 1in + + + + + + + + + 4 + 2 + + + en-US + true + Inch + 867dc3bd-0425-43dd-97d4-2ed41963ef3e + \ No newline at end of file diff --git a/sqlnexus/Reports/SQL Perf Main.rdl b/sqlnexus/Reports/SQL Perf Main.rdl index ce3b64d..6a8463c 100644 --- a/sqlnexus/Reports/SQL Perf Main.rdl +++ b/sqlnexus/Reports/SQL Perf Main.rdl @@ -39,7 +39,7 @@ SeqNo INT, DataCollection NVARCHAR(128), Importer NVARCHAR(128), - Manditory BIT, + Mandatory BIT, CategorySeq INT ); @@ -55,7 +55,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -72,7 +72,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -89,7 +89,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -107,7 +107,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -125,7 +125,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -142,7 +142,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -159,7 +159,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -175,7 +175,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -191,7 +191,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -207,7 +207,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -223,7 +223,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -240,7 +240,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -257,7 +257,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -274,7 +274,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -291,7 +291,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -307,7 +307,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -323,7 +323,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -340,7 +340,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -357,7 +357,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -374,7 +374,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -390,7 +390,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -407,7 +407,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -424,7 +424,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -440,7 +440,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -457,7 +457,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -474,7 +474,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -491,7 +491,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -508,7 +508,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -525,7 +525,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -541,7 +541,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -558,7 +558,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -574,7 +574,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -590,7 +590,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -606,7 +606,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -622,7 +622,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -639,7 +639,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -655,7 +655,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -672,7 +672,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -689,7 +689,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -705,7 +705,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -721,7 +721,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -738,7 +738,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -754,7 +754,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -770,7 +770,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -788,7 +788,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -804,7 +804,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -820,7 +820,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -836,7 +836,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -852,7 +852,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -870,7 +870,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -886,7 +886,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -903,7 +903,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -921,7 +921,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -939,7 +939,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -957,13 +957,30 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES ('SQLAssessmentAPI_C', 'SQL Assessment API Rules', 'Shows what SQL Assessment API rules have filed and their output', 1 | 2 | 4 | 8, 'Common', 'dbo.tbl_assessment_api', 400, 'SQL Base Collector', 1, 2023); +-- Filter drivers +INSERT INTO @tbl_reports +( + ReportName, + ReportDisplayName, + ReportDescription, + VersionApplied, + Category, + ValidationObject, + SeqNo, + DataCollection, + Mandatory, + CategorySeq +) +VALUES +('Running_Device_Drivers_C', 'Running Drivers Report', 'Device Drivers Report', 1 | 2 | 4 | 8, 'Common', + 'dbo.tbl_running_drivers', 407, 'SQL Base Collector', 1, 2025); --Azure @@ -977,7 +994,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -994,7 +1011,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1011,7 +1028,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1028,7 +1045,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES @@ -1046,7 +1063,7 @@ INSERT INTO @tbl_reports ValidationObject, SeqNo, DataCollection, - Manditory, + Mandatory, CategorySeq ) VALUES diff --git a/sqlnexus/TextRowsets.xml b/sqlnexus/TextRowsets.xml index 8961556..bb5e864 100644 --- a/sqlnexus/TextRowsets.xml +++ b/sqlnexus/TextRowsets.xml @@ -4713,100 +4713,129 @@ - + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sqlnexus/fmImport.cs b/sqlnexus/fmImport.cs index 093b6ba..bbbecb6 100644 --- a/sqlnexus/fmImport.cs +++ b/sqlnexus/fmImport.cs @@ -1066,7 +1066,7 @@ private void DoImport() Application.DoEvents(); } - else if ((tlpFiles.Controls[i].Name == perfStatsAnalysisStr) && (RunScripts == true)) + else if ((tlpFiles.Controls[i].Name == perfStatsAnalysisStr)) { int perfAnalysisStartTicks = Environment.TickCount; diff --git a/sqlnexus/sqlnexus.csproj b/sqlnexus/sqlnexus.csproj index ff41748..13541c3 100644 --- a/sqlnexus/sqlnexus.csproj +++ b/sqlnexus/sqlnexus.csproj @@ -604,6 +604,9 @@ Always + + Always + Always @@ -1303,6 +1306,16 @@ True File + + False + + + + + Include + True + File + False @@ -1353,6 +1366,16 @@ True File + + False + + + + + Include + True + File + False