Viewing 15 posts - 1,891 through 1,905 (of 2,645 total)
December 10, 2018 at 10:03 am
December 8, 2018 at 6:07 am
December 8, 2018 at 5:12 am
itmasterw 60042 - Friday, December 7, 2018 7:57 AMNo it does not
I think you should be joining inserted to deleted on a...
December 7, 2018 at 8:02 am
Does file_no have a unique constraint on it in table dbo.DebtorInfo?
December 7, 2018 at 7:50 am
Does the form just update one row or does it change multiple rows? i.e. how many rows are in the inserted table?
December 7, 2018 at 7:13 am
December 7, 2018 at 6:47 am
drop table #Table;
go
create table #Table
(
ProductLine [nvarchar](2) NULL,
BusinessUnit [nvarchar](20) NULL,
)
insert into #Table(ProductLine,BusinessUnit )
values('1Y',''),
('1Y', 'IT Product'),
December 7, 2018 at 6:24 am
December 7, 2018 at 3:46 am
Just write a small block of code for each of your 10 tables:DECLARE @BatchSize int = 100000
DECLARE @RowsDeleted int = @BatchSize
WHILE @RowsDeleted <> @BatchSize BEGIN
December 6, 2018 at 8:34 am
saptek9 - Thursday, December 6, 2018 7:43 AMThank you so much Jonathan.
II think sathwik.em91's solution might be the most efficient
December 6, 2018 at 7:55 am
When you have a query that isn't returning enough results a good way to diagnose it is to remove constraints on the query until you get some rows back.
So...
December 6, 2018 at 7:50 am
;WITH myTable as
(
SELECT *
FROM (VALUES (1001, 'X'),
(1002, 'YY'),
...
December 6, 2018 at 7:34 am
If you set your variable to a csv string e.g.:DECLARE @Subjects as nvarchar(100) = 'economics,maths'
Then use a string splitter function to convert search value into a...
December 5, 2018 at 4:48 am
Viewing 15 posts - 1,891 through 1,905 (of 2,645 total)