Viewing 15 posts - 136 through 150 (of 291 total)
One change I made yesterday...
February 12, 2019 at 9:32 am
Thanks all. I have some things to try once I have write access to a development copy of the database.
February 11, 2019 at 8:57 am
Is it possible that LGTC_ShipmentsClaims is empty (or at least contains no matching rows) at the time your stored procedure is run?
February 11, 2019 at 7:06 am
Here's the next key table.create table SEQ_SYSTEMKEY
(LASTKEY int null) on [PRIMARY];
and here's the current stored procedure.create procedure nextSID
as
...
February 11, 2019 at 1:34 am
The code in the sproc just does an update of column Last_Key on the one row in that table and returns the new value. That's not a real sequence is...
February 8, 2019 at 9:16 am
Thanks, but I don't think I can amend the 3rd party procedure and I'm not sure this is significantly different from updating the table directly with +1 +@NumSids. With either...
February 8, 2019 at 3:55 am
February 1, 2019 at 7:16 am
I tend to structure stored procedures like this.
begin try
-- Do some stuff
return 0;
end try
begin catch
-- Do some...
January 31, 2019 at 9:30 am
The approaches already suggested are the way to go, but you need to consider the criteria you use when defining the subset (I assume you're intending to use the smaller...
January 23, 2019 at 7:04 am
January 4, 2019 at 7:12 am
The UPDATE will set the DateOfOccurrence to its existing value (ie. have no effect) because the column is also part of the JOIN criteria.
January 2, 2019 at 6:21 am
Viewing 15 posts - 136 through 150 (of 291 total)