Skip to content

Error with Dynamic SqlCommand Query with DateTime type #1744

Description

System Information (please complete the following information):

  • Model Builder Version (available in Manage Extensions dialog): 16.6.3.2136603
  • Visual Studio Version VS 2019 ~ 16.11.2

Describe the bug

  • On which step of the process did you run into an issue: Train Model
  • Clear description of the problem: a SqlCommand query fails when there is a space character in a column name. Here is the query that is failing:

    SELECT Eastern_Daylight_Time_240,
    CAST(Memory_Available_MBytes as REAL),
    CAST(Processor_Total_Pct_Processor_Time as REAL),
    CAST(System_Processor_Queue_Length as REAL),
    CAST(Buffer_Manager_Buffer_cache_hit_ratio as REAL),
    721 Crossdock Error Fix,
    [<other columns>]
    FROM [dbo].[PerfmonLogsSubset]

Screenshots
Here is an image of the error:
image

Metadata

Metadata

Assignees

Labels

Data PrepMultiple RequestsFeature or fix is requested by multiple customersPriority:1Work that is critical for the release, but we could probably ship withoutReported by: CustomerValidateFixed & ready for confirmation testing.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions