Quotes Missing

Apr 11, 2011 at 8:53 PM

I am unable to get my columns types that equate to System.String to be quoted.  I have placed a line just above $thestring="" that looks like this:

$column.DataType, it returns system.string for the char fields and system.datetime for the datefield.  The date field is quoted but the string fields are not.

Any ideas would be appreciated.

 $thestring = ""
 if (@( "System.Boolean" ,"System.String" ,"System.Char", "System.Datetime", "System.Guid") -contains $column.Datatype )
    {$quote = "'"}
    {$quote = ""}


May 22, 2013 at 12:57 AM
FYI, this is fixed by my patch