Viewing 15 posts - 541 through 555 (of 8,731 total)
May 17, 2018 at 6:51 pm
That can kill your performance. If you are joining between them, each must...
May 17, 2018 at 2:37 pm
I have reports that are between 6 and 100 User DefinedFunctions joined...
May 17, 2018 at 12:55 pm
Luis C.
General Disclaimer:
Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?
May 17, 2018 at 10:48 am
May 17, 2018 at 10:19 am
This might be an option if more than one day is mentioned in Notes.
CREATE TABLE Logs( Date DATETIME, Notes VARCHAR(100))
INSERT INTO dbo.Logs
(
...
May 17, 2018 at 8:32 am
The procedure might be in a trigger for one (or all) of the tables that you're deleting.
BTW, we're in 2018, use TRY...CATCH blocks instead of that horrible error handling...
May 16, 2018 at 7:43 am
--good way
cr.CreatedDate >=...
May 15, 2018 at 11:28 am
If most of your code looks like this, I suggest that you hire a consultant that can not only improve the code but that will teach you how to fix...
May 14, 2018 at 1:59 pm
May 11, 2018 at 12:20 pm
You can do it with either SSIS or T-SQL (stored procedures).
First you need to import into a staging table using SSIS data flow or T-SQL bulk insert. For...
May 8, 2018 at 8:37 am
May 7, 2018 at 11:28 am
May 7, 2018 at 8:34 am