MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
ALTER PROC [dbo].[spNC_BookingWizard] @StartDate varchar(10) = '1/1/1900', @EndDate varchar(10) = '1/1/2010', @Employee varchar(200) = '', @Facility varchar(200) = '', @Status varchar(200) = '', @test bit = 0 AS SET NOCOUNT ON DECLARE @dtStart datetime DECLARE @dtEnd datetime SET @dtStart = CONVERT(datetime, @StartDate) SET @dtEnd = DATEADD(dd, 1, DATEADD(dd, 0, CONVERT(datetime, @EndDate))) ........... SELECT * FROM #tmpBook WHERE StartDate_date >= @dtStart AND StartDate_date <= @dtEnd AND Facility = @Facility AND EmpName = @Employee AND BookingStatus = @Status
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|vb.net, web page, SQL holding the selected data in an accessible variable||7||34|
|Union & Crosstab qrys 101!||6||58|
|TSQL Assignining CTE column in to a variable||3||12|
|Please explain Equi-join||3||14|