Viewing 15 posts - 4,231 through 4,245 (of 13,464 total)
Chris Harshman (12/12/2012)
December 12, 2012 at 8:20 am
MyDoggieJessie (12/11/2012)
What is running under spid 51?
and what does the procedure sp_GetPublicKeyForSMSID do?
that's what's causing the exception i think...or at let the process that does the work.
...every minute sounds...
December 11, 2012 at 2:21 pm
no insults, just help with the logical rules of thumb for procedures and functions:
avoid loops whenever possible: that's cursor, while loops whatever;
like everything in SQL, there's more than one...
December 11, 2012 at 1:33 pm
ok capn; you just need a function that expands the integers that should bebetween tow numbers as a comma delimited list, is that right?
here's both an ITVF and a scalar...
December 11, 2012 at 12:47 pm
mpdillon (12/11/2012)
December 11, 2012 at 11:37 am
bartvdc (12/11/2012)
I'm using it to (re)create tables from within a java app. I just have...
December 11, 2012 at 10:14 am
the better question is do you REALLY need to install another instance in the first place, if you already have SQL installed?
Having a single instance provides a single centralized point...
December 11, 2012 at 7:28 am
I would basically do it the same as anthony; they are already in a table, so not temp table or cursor required.
I kind of like some of the built in...
December 11, 2012 at 5:34 am
the questions too vague for a solid answer; we have to see teh server side code, which is connecting/doing SQL stuff/disconnecting to be able to help at all.
any specific, exact...
December 10, 2012 at 6:03 pm
it's just example WHERE statement for the data; your query which gathers the "right" emails would be very specific to your business logic, and especially the WHERE statement which...
December 10, 2012 at 3:01 pm
a rough example of multiple recipients from a query, unique emails, same attachment:
declare
@isql varchar(2000),
@email varchar(64)
declare c1 cursor for select distinct email FROM...
December 10, 2012 at 2:00 pm
so you want to send 100 individualized emails, each with the same (or different?) attachment?(hint: cursor)
or do you want to send a single email, with 100 To:/CC:/BCC:/ and the same...
December 10, 2012 at 1:54 pm
try using a CASE statement to filter out the rows that have a zero denominator
something like this is my first guess:
CASE
WHEN DATEDIFF(SECOND,dr.startTime,dr.endTime) = 0
THEN 0
...
December 10, 2012 at 12:07 pm
Alex, you posted the estimated execution plan, which shows a nice expected clustered index scan; i think we need the actual execution plan, where it's being returned slowly via SSMS...
December 10, 2012 at 12:03 pm
in that case, baring slow network issues, i'd think the first thing is to look at the execution plan, and the real query;
anything from parameter sniffing, out of date statistics,...
December 10, 2012 at 10:02 am
Viewing 15 posts - 4,231 through 4,245 (of 13,464 total)