From e8cc5d5daa011e78085df3377e86d932b4e58c4e Mon Sep 17 00:00:00 2001 From: Dylan Beaudette Date: Wed, 2 Jun 2021 13:16:41 -0700 Subject: [PATCH] removing conversion of NULL to 0, why was this in there --- R/SDA_properties.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/SDA_properties.R b/R/SDA_properties.R index e31e5db1..90a20c87 100644 --- a/R/SDA_properties.R +++ b/R/SDA_properties.R @@ -413,7 +413,7 @@ get_SDA_property <- top_depth, top_depth, bottom_depth, bottom_depth, top_depth, top_depth, - paste0(sprintf("CAST (ISNULL (%s , 0) AS decimal (5,2)) AS %s", property, property), collapse=", "), + paste0(sprintf("CAST (%s AS decimal (5,2)) AS %s", property, property), collapse=", "), where_clause, top_depth, bottom_depth, sprintf("SELECT #main.areasymbol, #main.musym, #main.muname, #main.mukey,