Viewing 15 posts - 136 through 150 (of 5,393 total)
Please start a new thread and post your ERRORLOG
March 8, 2016 at 10:12 am
It has to scan the whole table to evaluate the LIKE predicate, so no, it can't be very fast.
March 8, 2016 at 9:49 am
Sorry, looking closer at BOL https://msdn.microsoft.com/en-us/library/ms152529(v=sql.105).aspx it looks like when a constraint is NOT FOR REPLICATION it is always not trusted. You can leave it as it is.
March 8, 2016 at 9:48 am
You sample data doesn't include it, you're missing an UNION ALL before it.
March 8, 2016 at 8:17 am
Is the constraint marked "NOT FOR REPLICATION"?
In this case I'm afraid you will have to recreate it to make it trusted.
March 8, 2016 at 8:10 am
Please post table scripts, sample data and expected output. Screenshot are not good enough: we cannot copy and paste code from your screenshots.
See http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/ for guidance.
March 8, 2016 at 8:04 am
If deleting takes too long, simply create an empty database and migrate there just the data you need. Why do you think this is not a valid option?
March 8, 2016 at 8:03 am
SELECT [Text],
IsContains = CASE WHEN EXISTS (
SELECT *
FROM #Table2
WHERE Deliv LIKE '%' + [Text] + '%'
) THEN 'Yes' ELSE 'No' END
FROM #TableSol
March 8, 2016 at 7:58 am
Sending transaction logs via email is not going to work. Forget about that.
What I can suggest is setting up a merge publication on the server (I assume the data you...
March 8, 2016 at 7:51 am
You can encapsulate the call to DBCC LOGINFO into a stored procedure with EXECUTE AS.
Here's a guide on how to do that: http://sommarskog.se/grantperm.html
March 8, 2016 at 7:26 am
Sysadmins have access to all securable at server and database level and there is no DENY that can stop this. Simply put, no: sysadmins will always have access to everything.
March 8, 2016 at 7:08 am
It's not all about performance.
Heaps suffer from forwarded records[/url] and don't deal well with deletes.
If you see no significant difference between clustered index and heap, stick with a clustered index.
March 8, 2016 at 7:07 am
Granting sysadmin permissions to monitoring services is an established practice, exactly for this reason: they have to query data which is available only to sysadmins.
March 8, 2016 at 6:51 am
I don't know offhand any other way to do that, but it would need for sure sysadmin permissions. Checking VLFs is definitely a sysadmin task: why are you trying to...
March 8, 2016 at 4:54 am
Viewing 15 posts - 136 through 150 (of 5,393 total)