Viewing 15 posts - 256 through 270 (of 6,036 total)
Divide and conquer.
Put all the actual statements to execute into separate procedures and make the main procedure call some of them according to the flow control logic.
if @a...
November 3, 2020 at 12:21 pm
I remember using Skype on Pentium II 350MHz computer. With pretty good sound and video quality, no stuttering or delays. That was before MS acquired it.
And after - how much...
November 3, 2020 at 8:48 am
The question is too generic. There are so many ways to achieve the expected outcome.
what did you try and what stopped you on the way?
November 2, 2020 at 10:28 pm
Not gonna help.
if statistics suggest that the 1st column in the index has low selectivity, it's very unlikely that optimiser will choose to use that index.
October 29, 2020 at 10:38 pm
There's a lot here.Β I'm not sure I am 100% clear about what you are looking for. I will take stab at what I think I understand you are...
October 29, 2020 at 10:33 pm
It seems like you use a SQL Server database as a dumb storage for the application data.
all the business logic is in the application, the data stored in the format...
October 29, 2020 at 10:24 pm
Congratulations. You've learnt to choose the worst solution of them all.
How many times the query you end up with scans msdb.dbo.sysjobs?
At least 3.
vs 1 in left join.
plus unnecessary UNION ALL...
October 29, 2020 at 9:34 am
From those tables I cannot figure out - how can a user participate in more than 1 team? Is it considered an impossible situation?
Users are people who are logging...
October 29, 2020 at 4:51 am
From those tables I cannot figure out - how can a user participate in more than 1 team? Is it considered an impossible situation?
is there any connection between users and...
October 29, 2020 at 1:46 am
the problem will appear when someone creates a table named βYear[2020]β. Then your code will generate invalid SQL statements. My version handles this kind of names correctly.
October 28, 2020 at 6:48 pm
This coding:
'CREATE TABLE [dbo].[R_' + @TableName + '] '
Is not bullet proof.
You may never use brackets in object names, but some people do. It's a quite effective method to keep...
October 28, 2020 at 8:52 am
It's people like you who feel the need to "gatekeep" that keeps those who are truly interested in learning more from getting anywhere. And you wonder why data-related fields...
October 28, 2020 at 8:21 am
Scott, you obviously don't get the concept of "no premature optimisation".
so out of touch with contemporary trends!
π
October 27, 2020 at 12:20 pm
Also, I'm "loving" the password column in the users table. π
Is it the only thing you found there which deserve unconditional love?
You know, at some stage I stopped commenting...
October 27, 2020 at 4:37 am
What is the definition of the table you intend to update.
You said it's gonna be changing, so - for the current moment?
And please post some draft code you intend to...
October 27, 2020 at 1:10 am
Viewing 15 posts - 256 through 270 (of 6,036 total)