저는 하루 종일 이것을 알아 내지 못하고 보냈습니다. 나는 누군가가 나를 2005 SQL Server에 대한 해결하려면 다음 MySQL의 쿼리를 번역하는 데 도움이 바라고 있어요 :MySQL 용으로 설계된 쿼리가 SQL Server 2005에서 작동하도록 번역되어 있어야합니다.
forumName.Text = "<a href='ViewForum.aspx?forumid=" & row.id & "'>" & row.name & "</a>"
:
SELECT MAX (messages.date) AS maxdate,
topics.id AS topicid, topics.*, users.*
FROM messages, topics, users WHERE messages.topic_id
= topics.id AND topics.user_id = users.id AND
topics.forum_id = " . $forumid . " GROUP BY
messages.topic_id ORDER BY maxdate DESC
$ forumid하면 다음과 VB.NET 코드 숨김 코드에 정의 된 쿼리 스트링 값이다
도와 주시면 감사하겠습니다.
을! 정말 고맙습니다. – brookmarker