Publicyte.comMicrosoft blog where we discuss technology, entrepreneurship, pop culture, and civic good, from Mark Drapeau and a rotating cast of talent
Array
(
[0] => Array
(
[0] => 42000
[SQLSTATE] => 42000
[1] => 421
[code] => 421
[2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]The text data type cannot be selected as DISTINCT because it is not comparable.
[message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]The text data type cannot be selected as DISTINCT because it is not comparable.
)
[1] => Array
(
[0] => 42000
[SQLSTATE] => 42000
[1] => 421
[code] => 421
[2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]The text data type cannot be selected as DISTINCT because it is not comparable.
[message] => [Microsoft][SQL Server Native Client 10.0][SQL Server]The text data type cannot be selected as DISTINCT because it is not comparable.
)
)
WordPress database error: [1] SELECT DISTINCT ID, post_title, post_password, comment_ID,
comment_post_ID, comment_author, comment_author_email, comment_date_gmt, comment_approved,
comment_type,comment_author_url,
SUBSTRING(comment_content,1,50) AS com_excerpt
FROM wp_comments
LEFT OUTER JOIN wp_posts ON (wp_comments.comment_post_ID =
wp_posts.ID)
WHERE comment_approved = '1' AND comment_type = '' AND
post_password = ''
ORDER BY comment_date_gmt DESC LIMIT 5