我有一個約10k行的表。我運行下面的SQL,但它花費太多時間(約4秒): SELECT
ID, post_date, post_title, post_name, pc.post_view,
t.name AS post_category,
pm2.meta_value AS post_image
FROM wp_posts p
INNER
我得到這個查詢: select IDS as data
from dbo.SKz
where dbo.SKz.DatSave >= 2008-12-20
和它的作品確定。但是,當我想用小時和分鐘查詢: select IDS as data
from dbo.SKz
where dbo.SKz.DatSave >= 2008-12-20 23:59:59
我得到一個錯誤: Msg