3
votes
Accepted
Unable to alter CDC tables
Cause
This has never been supported.
From the documentation (emphasis added):
For CDC to function properly, you shouldn't manually modify any CDC metadata such as CDC schema, change tables, CDC ...
1
vote
transactions without a corresponding session in sql server
My guess is that they belong to internal sessions used by SQL Server engine. I have an instance on my desktop, which I just started in order to check that, and after executing that same query the ...
1
vote
Accepted
Sql Server: Query to parse and validate codes
One relational way you can do this is by splitting your #SourceData first (fortunately you have access to the STRING_SPLIT() function despite being on an outdated version of SQL Server), then getting ...
1
vote
Sql Server: Query to parse and validate codes
-- first thing that comes to mind:
SELECT
sd.ID
, sd.Codes
, CASE
WHEN NOT EXISTS (
SELECT x.[value]
FROM string_split(sd.Codes, ';') as x
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sql-server-2016 × 2806sql-server × 2235
availability-groups × 230
performance × 167
t-sql × 154
query-performance × 92
backup × 91
ssms × 90
execution-plan × 85
sql-server-2012 × 73
sql-server-2014 × 69
replication × 68
stored-procedures × 58
permissions × 56
index × 55
restore × 53
clustering × 53
transactional-replication × 51
optimization × 49
windows-server × 48
transaction-log × 47
security × 45
ssis × 44
database-design × 43
sql-server-agent × 43