Viewing 15 posts - 2,551 through 2,565 (of 13,462 total)
vineet_dubey1975 (2/7/2014)
February 7, 2014 at 5:38 am
New Born DBA (2/6/2014)
February 6, 2014 at 1:26 pm
if it went a way after altering the proc, and then came back after a few hours, i'd start suspecting that stale statistics were affecting performance of the existing plans;
if...
February 6, 2014 at 10:28 am
wah.... this is the first time i saw this new highlighting and "this worked for the OP";
cute ehnacement!
February 6, 2014 at 10:22 am
make step 2 test for a specific time window as part of it's process.
i start a trace @7am if it's not running, and turn it off at 5pm for example:
--###############################################################################################
--startup...
February 6, 2014 at 6:56 am
group accounts via SMTP have to be explicitly opened by your exchange administrator, i believe; it's to avoid things like spammers sending to staff@microsoft.com anf getting viagra information to 80K...
February 6, 2014 at 6:42 am
the usual answer is it depends on how you are searching;
if you are searching on last name (WHERE LName = 'McArther')
then yes, an index would help a query like that.
anything...
February 6, 2014 at 6:38 am
misspoke on "functions", sorry. unfortunately functions don't follow those nifty abilities like procs.
views can be immediately referenced if they start witk sp_, so i have things like sp_Trace02 in my...
February 6, 2014 at 6:25 am
ok this might get you started: if you enumerate the permissions for your windows group, and then join this query of active directory for gorup members, you cna get the...
February 6, 2014 at 6:14 am
i actually make things system functions , system procedures, and stuff quite a bit i have a ton of developer tools i've created and adapted that go in master.
they all...
February 6, 2014 at 5:52 am
this is just a variation on what you posted, butI see the delay is the WHERE Clause, 18 seconds for a server with 62 databases
but i don't have very many...
February 6, 2014 at 5:43 am
i think a field with a SUM+CASE statement would do the job:
SUM(CASE WHEN order_date > 2012-01-15 THEN amount ELSE 0 END ) OVER (PARTITION BY customerid )
--this passes 2012...
February 5, 2014 at 3:27 pm
here's what i think you could do:
use powershell to check out a folder, and then script out any objects.
then use powershell again to add any new items, and check in...
February 5, 2014 at 2:04 pm
YSL i just created one and scripted it out for you.
This example is filtering for a specific databaseID (18) , for a specific user, and ignoring any '%exec sp_reset_connection%' commands...
February 5, 2014 at 1:50 pm
would you consider adding a CLR procedure that gets the data instead? that seems like a much better way to go.
February 5, 2014 at 7:05 am
Viewing 15 posts - 2,551 through 2,565 (of 13,462 total)