Viewing 15 posts - 1,621 through 1,635 (of 6,037 total)
Since ADDRESS_ID on dbo.ADDRESS is a clustered PK you better delete only those entries which make up a continuous range of unused addresses.
Which means - ADDRESS_ID is less than...
_____________
Code for TallyGenerator
February 14, 2016 at 8:50 pm
Orlando Colamatteo (2/14/2016)
Sergiy (2/14/2016)
In this case the best solution would be simply to stop the job.What an Agile thing to propose.
I don't think so.
"Agile thing" is to quickly bake a...
_____________
Code for TallyGenerator
February 14, 2016 at 5:45 pm
Indianrock (2/13/2016)
_____________
Code for TallyGenerator
February 14, 2016 at 5:41 pm
Indianrock (2/14/2016)
_____________
Code for TallyGenerator
February 14, 2016 at 4:42 pm
Indianrock (2/14/2016)
A re-write project is about to start.
I believe it's a perfect opportunity to address the issue.
I'm just trying to fix some purge jobs that weren't performing well.
ADDRESS
...
_____________
Code for TallyGenerator
February 14, 2016 at 4:08 pm
Deleting of addresses from database does not look like a bright idea.
There should not be such task in the first place.
It only makes sense if an address cannot be reused...
_____________
Code for TallyGenerator
February 14, 2016 at 3:02 pm
All my customers feel lucky. 😛
_____________
Code for TallyGenerator
February 12, 2016 at 4:37 am
Orlando Colamatteo (2/11/2016)
Sergiy (2/11/2016)
Hugo Kornelis (2/11/2016)
A pretty dangerous thing to do, and an incredibly irresponsible advice to put out on forums.
Believe me, unfortunately - it's not.
Those who know what their...
_____________
Code for TallyGenerator
February 11, 2016 at 10:42 pm
wendy elizabeth (2/11/2016)
DECLARE @endYear varchar(04) = 2016
select convert(smalldatetime, ('07/31/' + convert(char(02), @endYear - 1)))
select convert(smalldatetime, '08/01/' + @endYear )
that is...
_____________
Code for TallyGenerator
February 11, 2016 at 7:22 pm
Hugo Kornelis (2/11/2016)
A pretty dangerous thing to do, and an incredibly irresponsible advice to put out on forums.
Believe me, unfortunately - it's not.
Those who know what their data types mean...
_____________
Code for TallyGenerator
February 11, 2016 at 7:15 pm
luissantos (2/11/2016)
Hello SergiyI rebuild my trigger with your script, but if i make a new document and save my column don´t update with the information. Why ??
You need to post...
_____________
Code for TallyGenerator
February 11, 2016 at 3:19 pm
JKSQL (2/11/2016)
I thought we were saying something like this would work
Change the type of trigger and your initial code will be just fine.
I'd only recommend replacing "IN" with an "INNER...
_____________
Code for TallyGenerator
February 11, 2016 at 2:31 pm
Indianrock (2/11/2016)
Management's main concern is no blocking/locking.
That's where following the clustered index order comes to play.
You lock the continuous chunk of data and remove it.
Minimal number of pages affected,...
_____________
Code for TallyGenerator
February 11, 2016 at 2:27 pm
Junglee_George (2/11/2016)
The data type of @partners and @Container is NVARCHAR(MAX)Partners value can be like 'EUADVE', 'EUUSEB', 'EUBGLE'
Containers value can be like 'LOC-DENI-000012', 'LOC-DEST-000002', 'LOC-BRSP-000025'
Never ever use NVARCHAR(MAX) for column data...
_____________
Code for TallyGenerator
February 11, 2016 at 2:03 pm
JKSQL (2/11/2016)
_____________
Code for TallyGenerator
February 11, 2016 at 1:47 pm
Viewing 15 posts - 1,621 through 1,635 (of 6,037 total)