Viewing 4 posts - 1 through 4 (of 4 total)
This was removed by the editor as SPAM
November 3, 2023 at 5:32 pm
it could be helps you, using MERGE without trigger
If Object_id('tempdb..#Table1') Is Not Null Drop Table #Table1
If Object_id('tempdb..#Table2') Is Not Null drop table #Table2
GO
----- output for a MERGE -----------
declare @OutputTable table(
[Action]...
November 3, 2023 at 5:32 pm
how to get a first week day start on Monday ignore <Set DateFirst>
----- start week date on Monday
declare @CurrentDate datetime
set @CurrentDate = '2016-07-24'
set datefirst 3
select dateadd(day,case when ((DATEPART(dw, @CurrentDate)...
July 27, 2016 at 4:23 am
other way to make progress bar for each 10% only
declare
@max-2 decimal(10,3)
, @CNT decimal(10,3)
, @ProgressBar varchar(250)
, @Percentage int
, @PercentageStep int
set @max-2 =...
December 14, 2013 at 8:20 am
Viewing 4 posts - 1 through 4 (of 4 total)