Viewing 15 posts - 2,026 through 2,040 (of 39,859 total)
I like the cross apply, but not sure it's needed here.
Going back to the original, asita, is the goal to bucket rows for a report of some sort? what's the...
June 15, 2021 at 8:22 pm
Audit and xEvents can capture this, but it's not a rolling level. You'd get a lot of data back. Potentially you could capture, periodically read a window of data and...
June 15, 2021 at 8:20 pm
Why doesn't the CASE work for you?
June 15, 2021 at 3:51 pm
FWIW, the 8KB schedule is online: https://eightkb.online/
Mr. Moden presenting, if you can make it, at Level 8192. Well above the 400-500 level of other sessions.
June 15, 2021 at 3:50 pm
The more structured things are, the less likely they are to innovate, and often, we are tightly structured with planned work in our daily activities. Changing things up helps us...
June 15, 2021 at 3:43 pm
I'd watch both. Filestream has performed well for many customers. The downside is usually the code changes to take advantage of the feature. If you are storing documents that are...
June 14, 2021 at 7:45 pm
What I'd say about the backup approach is that it is better, but if you are changing this set of schema/data often, then this can be a pain point to...
June 14, 2021 at 7:38 pm
You haven't really explained what a "problem" is to you. You mean the server will run slower? It could with any insert in bulk.
Filestream has tradeoffs, which is what you...
June 14, 2021 at 7:36 pm
A few choices:
CREATE TABLE Vals(Val VARCHAR(20));
GO
INSERT INTO Vals VALUES
('AAAB-AA-43-DDD-2')
,('RECA-AA-3-CCC-1')
,('RECA-AB-31-abc-1')
,('RECA-C-3-T');
GO
SELECT
REPLACE(Val,'RECA-','') AS Option1
, CASE WHEN SUBSTRING(val, 1, 5) = 'RECA-'
THEN SUBSTRING(val,...
June 14, 2021 at 7:34 pm
I'm not quite sure what you mean, but with your questions.
June 14, 2021 at 7:18 pm
https://stackoverflow.com/questions/18996157/what-does-lock-communication-buffer-resources-mean
These might help. A new one to me as well.
June 14, 2021 at 7:15 pm
If you are asking if the CAST can be part of an insert, it can.
June 14, 2021 at 7:14 pm
A few things noted above, but also query store can help here, and force a particular plan for a query.
June 14, 2021 at 7:13 pm
I've queried Microsoft, but it looks like encryption is set by protocol, not IP. So while you might be able to force encryption for IP connections from anywhere, which likely...
June 14, 2021 at 7:11 pm
You should have a deployment script (s) of some sort to do this. Something like FlywayDB would make this easy: https://flywaydb.org/
Disclosure: I work for Redgate Software.
June 14, 2021 at 7:06 pm
Viewing 15 posts - 2,026 through 2,040 (of 39,859 total)