我有payment
表,其中一列的p_craetedate
类型p_createdate
是DateTime
CREATE TABLE [dbo].[tbl_Payments](
[p_id] [bigint] IDENTITY(100000,1) NOT NULL,
[p_amount] [int] NOT NULL,
[p_status] [tinyint] NOT NULL,
[p_createdate] [datetime] NOT NULL,
[p_creditor] [int] NOT NULL,
[p_debtor] [int] NOT NULL,
[p_type] [int] NOT NULL,
CONSTRAINT [PK_tbl_Payments] PRIMARY KEY CLUSTERED )
我想获取在“2013-07-16”创建的行