Viewing 15 posts - 1,291 through 1,305 (of 1,396 total)
dotPeek could decompile the dll's if you'd like to see the source code. It's free and there's no registration or email required to download and install it.
October 4, 2019 at 12:36 pm
I agree with James one transaction would likely be a good idea. To see how the trancount changes with successive trans/commits:
drop proc if exists temp_proc;
go
create proc temp_proc
as
begin
drop...
October 2, 2019 at 1:00 pm
Something going on with your quotes. The url should be in single quotes. There should be a quote before POST also.
October 1, 2019 at 10:51 am
Merge statements are good for "make these rows look like those rows" situations. There are plenty of other uses too. Unlike UPDATE, DELETE, etc. MERGE is not a single atomic...
September 29, 2019 at 3:13 pm
You say you're looking for a "better solution" so could you please provide the current solution? Can't say if something is better if we can't see what it's being compared...
September 29, 2019 at 2:35 pm
Jonathan's is the most correct. Mine only mimics your demo output and it's 2012+.
September 27, 2019 at 4:34 pm
/* test data */
drop table if exists #test_apps;
go
create table #test_apps(
AppNumberint not null,
Employeenvarchar(64) not null,
Time_generatedatdatetime2 not null);
go
insert #test_apps(AppNumber, Employee, Time_generatedat) values
(143270137,'shiva', '2019-09-23...
September 27, 2019 at 1:36 pm
Yes it's part of SSIS but honestly: I can make SQL Servers fly but creating C# Code which aswell flies on SQL Server is a completely different story therefore...
September 26, 2019 at 3:49 pm
Ok, yeah that's right. I was thinking of something else
September 20, 2019 at 8:12 pm
Thank You.
Can i define player_name as an index?
How do i add highscores to the table using pr_PutHighScoreList(stored procedure)
You can only appear on the high score list once, and only...
September 20, 2019 at 4:14 pm
The ORDER BY entr_dt I think should be ascending. Earlier is better?
September 20, 2019 at 3:57 pm
update a
set
revenue=revenue*isnull((tsr_run.rate/tsr_ship.rate),1)
from
test_tableA a
left join
test_season_rate tsr_ship on a.itemnumber=tsr_ship.itemnumber
and datepart(m, a.shipmentdate)=tsr_ship.season_month
left join
test_season_rate tsr_run on a.itemnumber=tsr_run.itemnumber
...
September 19, 2019 at 9:39 pm
The code you provided executed without error and returned 24 rows. The two temp tables have identical DDL so it seems to maybe make sense to do UNION ALL and...
September 19, 2019 at 6:17 pm
Could be something like this
ALTER PROCEDURE [dbo].[employee]
@isemployee int
AS
BEGIN
DECLARE @Email Varchar (100)
DECLARE @Name Varchar (100)
IF (@isemployee = 0)
BEGIN
SELECT @Email = text from dbo.emailtable WHERE email = 'XXX'
SELECT @Name...
September 19, 2019 at 5:24 pm
Viewing 15 posts - 1,291 through 1,305 (of 1,396 total)