I have passed createdDate from UI to Stored procedure.createdDate field declared with DateTime.it is having value 2014-07-01.I need to fetch records from the database based upon the created field.but Create_TM in database having value Date with timestamp.so how would i change the createdfield in stored procedure.ALTER PROCEDURE [dbo].[ByDateRange]@Feed VARCHAR(50),@CreatedDate DATETIMEselect * from Date_table where Create_TM = @CreatedDate Please help me
↧