Viewing 15 posts - 61 through 75 (of 5,111 total)
Why are you using a varchar
to store the information? Can you have values that are 24 hours or longer? If not, a time(0)
would seem more appropriate. If you can,...
March 2, 2023 at 9:52 am
Are FUNCTION1
,
FUNCTION2
, etc, all user-defined scalar functions?
March 1, 2023 at 3:11 pm
This is just the same solution as I use in Extract only the filename from a file path; get the right most characters of the string, using the location...
February 28, 2023 at 9:46 am
I use a temp table for multi-value updating by trigger
What is your reason for doing that? What functionality or performance benefit does the temporary provide over not using one...
February 27, 2023 at 8:55 am
SQLBits, but call for speakers closed months ago. That's the big one in the UK. Next is Relay. The call for speakers probably opens late spring. After that, Data...
February 22, 2023 at 3:55 pm
For every else's sanity:
SELECT grppro.dbo.PLNT_TASKACT.TASKACT
FROM grppro.dbo.PLNT_PARAMETERS
INNER JOIN grppro.dbo.SERIALA ON 1 = 1
INNER JOIN grppro.dbo.PART ON 1 =...
February 16, 2023 at 3:55 pm
I suppose the question, then, is why do you keep deleting all the data and then inserting it (again?)? What is the need to delete all the rows and then...
February 15, 2023 at 6:16 pm
If you are deleting all the data why not TRUNCATE the table instead? That would also reset the IDENTITY.
February 15, 2023 at 6:10 pm
I hate to say it, but this has a terrible example. Your first trigger, Trigger_Insert
makes the assumption that the INSERT
only ever contains one row, which is simply not...
February 15, 2023 at 9:54 am
Schedules aren't executed, it's the jobs that are, the schedule just denotes the time(s) that job runs. If you can't see that the job was executed at that time then,...
February 14, 2023 at 3:18 pm
One method would be to check if the current row isn't NULL
and use LAG
to check the prior row was NULL
and if this is true then denote it...
February 14, 2023 at 9:49 am
Thanks Grant. I'm not looking at doing any speaking, just attending. I'll have a look at these and see how they fit in with the Calendar. 🙂
Misunderstood. Apologies....
February 9, 2023 at 5:12 pm
The " ORDER BY id DESC " portion on your solution is unnecessary. I don't think it help in any way, not even performance. Am I wrong?
No, it's certainly...
February 9, 2023 at 3:42 pm
And thanks for the reminder that I should probably publish the testing I did for that.
In truth, I need to do my own testing on it as well. I...
February 9, 2023 at 3:20 pm
So where do these linked integers come from? Why, for example, is 1
linked to 1
, 2
, and 3
, but the numbers 8
to 14
only linked to...
February 9, 2023 at 3:05 pm
Viewing 15 posts - 61 through 75 (of 5,111 total)