Viewing 15 posts - 2,986 through 3,000 (of 13,461 total)
this query specifically gives me the server/database/table/column that was used int eh output list of the query.
maybe this gets you what you were looking for?
i had to create a linked...
August 2, 2013 at 12:04 pm
UPDATE SomeTable
SET Column =
CASE
WHEN condition = 'HF'
THEN SomeCalculationOrValueOrColumn
WHEN condition2 = 'AST'
THEN ADifferentCalculationOrValueOrColumn
END
August 2, 2013 at 11:09 am
AFAIK there's no view that would capture references in dynamic queries DIRECTLY;
you could look at cached execution plans, and parse the xml of the plan for server/database/schema/table; but that's only...
August 2, 2013 at 9:54 am
huum (8/2/2013)
Sorry i mean date and time it Ran?
i don't think you can find that, AFAIK all you can find is the last execution time; you cannot see , for...
August 2, 2013 at 9:39 am
I just noticed every one of us skipped over a basic group by as an alternative, and went straight to row_number.
this is probably the simplest:
SELECT
name,
...
August 2, 2013 at 9:26 am
no, there are no events for triggers to capture that affect linked server access.
sundar329 (8/2/2013)
is it possible with some triggers
in the screenshot above, if they are not mapped, they have...
August 2, 2013 at 9:24 am
sundar329 (8/2/2013)
hi friends,Is there a way to restrict linked server access for a particular login in sql server 2008r2.
Thanks in advance.
yes.
on this screen of the linked server properties, simply make...
August 2, 2013 at 8:07 am
azenon (8/2/2013)
I have 80gb of free space in a database after unused tables/index and old table data was deleted. I am hoping the data file size does not...
August 2, 2013 at 7:51 am
i have this saved in my snippets as the top 20 slowest performaning queries;
this might get you started:
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SELECT TOP 20
CAST((qs.total_elapsed_time / 1000000.0) AS DECIMAL(28,2)) as...
August 2, 2013 at 7:48 am
ok, you have a requirement that is a little scary for me (ALL bit flas no matter what/all varchars no matter what)
*note this is changing ALL CURRENT DEFAULT VARCHAR FIELDS...
August 2, 2013 at 7:40 am
halifaxdal (8/2/2013)
Then how do I loop each field and find if there is a constraint on it? and get the constraint's name if I have to put the name there...
August 2, 2013 at 7:18 am
basic example:
CREATE TABLE [dbo].[SALESDATES] (
[ID] INT IDENTITY(1,1) ...
August 2, 2013 at 7:12 am
halifaxdal (8/2/2013)
I...
August 2, 2013 at 7:01 am
i'm not sure what you are after here, might need a little clarification.
Are you talking about Data Masking like this article? Where you obfuscate/replace sensitive data on a copy of...
August 2, 2013 at 6:09 am
Viewing 15 posts - 2,986 through 3,000 (of 13,461 total)