Skip to content

Retrieve text between two periods in a value

I’ve been spinning around a bit on how to accomplish this in SQL DW. I need to extract the text between two periods in a returned value. So my value returned for Result is: I’m trying to extract the values between period 1 and 2, so the red portion above: The values will be a wide variety of lengths. I’ve…

Datetime in Dynamic SQL

I’m trying to use datetime variables in a dynamic sql query. I’ve tried many queries but it never returns the right date. For example: declare @StartDate datetime = ‘2020-01-10′ SET @sql =’ …

I can’t save data from ComboBox vb6

My UserControl: All code from UserControl: Option Explicit Dim cnn As Connection Dim indice As Integer Public Property Get AddTypeID() As Integer AddTypeID = cmbAddExample(indice).ItemData(…