Viewing 15 posts - 1,846 through 1,860 (of 5,109 total)
What is an "admin" delete? When the delete is done both a sys admin? If so, why not disable and then re-enable the trigger? Thom~ Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.DISABLE TRIGGER dbo.YouurTrigger ON dbo.YourTable;
Larnu.uk
July 4, 2018 at 9:47 am
What do you mean by "gain"? If you compress something (in data terms), you "gain" storage space. Is that what you mean?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 4, 2018 at 8:56 am
What have you tried so far? I also don't really understand how you get the expected results from your sample data. Could you explain further?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 4, 2018 at 8:43 am
I suspect the problem is that you have characters that are read right to left, and well as characters read left to right. When you copy those, the positions change,...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 4, 2018 at 3:59 am
We
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 3, 2018 at 5:47 am
I've done a simple script, just to double check, and I can't replicate the issue (see below). Tom is right, we need the DDL here really, and some sample data...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 3, 2018 at 3:47 am
Using a function on a column generally makes the query non-SARGable. This means any indexes you have on that table/column cannot be used. If you need to check whether a...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 3, 2018 at 2:04 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 3, 2018 at 2:01 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 7:30 am
I'f I'm understanding correctly, Brandie, this should do what you want. By default Get-ChildItem won't recurse, and using -file will mean it excludes folders. Thus you can do something like...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 6:39 am
You're probably looking at something like this instead now: https://www.amazon.co.uk/MCSA-Server-Database-Development-2-pack/dp/1509303650/ref=la_B001IGQENW_1_2?s=books&ie=UTF8&qid=1530532113&sr=1-2
Those are by the same author as Inside Microsoft® SQL Server® 2008, Itzik Ben-Gan, however are...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 5:52 am
Have you looked into Server and database triggers? That'll be a place to start.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 2:14 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 2:07 am
Why not just..?
INSERT INTO YourOtherTable (ForeignKey, CurrentDate)
SELECT ID, GETDATE()
FROM Table1
WHERE [Name] = @Name1;
INSERT INTO YourOtherTable (ForeignKey, CurrentDate)
SELECT ID, GETDATE()
FROM Table2
WHERE...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
July 2, 2018 at 1:50 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
June 29, 2018 at 3:48 pm
Viewing 15 posts - 1,846 through 1,860 (of 5,109 total)