Viewing 15 posts - 1,111 through 1,125 (of 9,641 total)
ananda.murugesan (3/6/2014)
I checked unused index, As per that script result return value only two column in NONCLUSTERED
total 4 NONCLUSTERED index values as below and Remaining all the...
March 6, 2014 at 5:02 am
GilaMonster (3/3/2014)
rodjkidd (3/3/2014)
GilaMonster (3/3/2014)
BrainDonor (3/3/2014)
SQL Bits XII has finally been announced http://www.sqlbits.com/.Wooot!
Next problem, what do I submit?
Almost posted last night that site was up. But apparently we shouldn't have noticed...
March 5, 2014 at 3:13 pm
I haven't read the article that Perry posted so I don't know if this is in there , but have you verified that remote connections are enabled on both SQL...
March 5, 2014 at 3:10 pm
Depends on what you mean by test.
A development and unit test environment?
A QA environment?
A performance/load testing environment?
For the 1st I recommend using SSDT to setup a database project and...
March 5, 2014 at 10:20 am
I'm not really familiar with accessing MySQL from a linked server, but I'd suggest converting the @advisor to a compatible data type when passing it to sp_ExecuteSql
March 5, 2014 at 10:13 am
Based on that query you aren't looking at range_scan_count or singleton_lookup_count so it looks like you don't know if this index is used by selects. I prefer to look...
March 5, 2014 at 9:56 am
Take a look at this blog post by Kendal Van Dyke. I think it might help.
March 5, 2014 at 9:42 am
I would recommend taking the Manager Role out of the db_owner role and manually add all the permissions needed to mimic it. You can use sp_dbfixedrolepermission and/or sys.fn_builtin_permissions to...
March 5, 2014 at 9:35 am
Some times it's just a matter of hitting the right terms. Usually I'm on your side of the search where nothing comes up for what I'm looking for.
March 5, 2014 at 8:12 am
RBarryYoung (3/5/2014)
Jack Corbett (3/4/2014)
I'm pretty sure you can do this, but I doubt your security people would allow it. You could even test it...
March 5, 2014 at 8:05 am
David,
I can't duplicate your issue, can you post the query and rdl? I'm attaching an example I put together that I think matches your scenario, but I'm not seeing...
March 5, 2014 at 8:00 am
Hey Barry, interesting question.
I'm pretty sure you can do this, but I doubt your security people would allow it. You could even test it with your own SQL Server...
March 4, 2014 at 5:04 pm
You need to change your WHERE clause to something like this:
WHERE
d.VendorRelationStatus = ’On Hold’
AND d.ContractEndDate > getdate()
OR (d.VendorRelationStatus = 'Active'
AND d.ContractEndDate >= dateadd(d, +360, getdate())
)
This WHERE clause now says,...
March 4, 2014 at 4:56 pm
When using table-valued functions you need to use the APPLY operator. Your example query should look like this:
select FP.* from dbo.pbaseid as PBI CROSS APPLY Fport(PBI.pbaseid,'us',1,'12/31/2013') as FP;
March 4, 2014 at 4:49 pm
Viewing 15 posts - 1,111 through 1,125 (of 9,641 total)