Viewing 15 posts - 3,976 through 3,990 (of 13,469 total)
merodach (2/20/2013)
BTW - I don't suffer from OCD, I suffer from CDO. It's just like OCD but the letters are in the right order 😀
i love that line! thanks for...
February 20, 2013 at 11:48 am
ohpenot (2/20/2013)
1nt service\mssql$sqlexpress
2NULL
3NULL
Indeed! That's what i have. I had checked actually when i first red your post (in services, right-click on the instance name..). The point is that for the...
February 20, 2013 at 5:36 am
@@spid is the unique Id SQL server assigned to the connection, which in this case, would be executing your stored procedure.
if you run exec sp_who2 on your server, you'll...
February 19, 2013 at 3:00 pm
here's one idea: modify the trigger to also use CONTEXT_INFO as the update criteria
ALTER TRIGGER [dbo].[tuReferral_UpdateAudit]
ON [dbo].[tReferral]
FOR UPDATE
AS
-- Select the context information
DECLARE @sess VARBINARY(128), @var NVARCHAR(64)
SET @sess = (SELECT context_info...
February 19, 2013 at 2:06 pm
yes. both triggers will fire. two triggers same table, even if one is an instead of trigger.
That might be a logical error, having two insert triggers on the same...
February 19, 2013 at 1:23 pm
In general, I think the preference is to avoid triggers when possible.
after that, it's not a preference, but rather which method, a standard insert trigger vs an instead of trigger...
February 19, 2013 at 1:05 pm
ok not as hard as i thought: here you go:
SELECT StateName,stuff(( SELECT ',' + CONVERT(varchar,RW) + '.' + CityName
...
February 19, 2013 at 11:33 am
getting the cities as a list wasn't hard, but i'm having trouble numbering them inline; my row_number verisons not quite there yet, but here's the start of it:
SELECT StateName,stuff(( ...
February 19, 2013 at 11:31 am
i guess the question is how are you testing the public permissions then?
did you create a new database user , unconnected form any login like this?
are you using execute as?...
February 19, 2013 at 11:05 am
MyDoggieJessie (2/19/2013)
There is nice app from ApexSQL which can be used as a trial and literally and...
February 19, 2013 at 10:44 am
I'm awful sure there is a solution to that; I know i've seen lots of SSRS topics like "don't send if no data is found", kind of threads.
this was just...
February 19, 2013 at 10:16 am
not a reporting services guru, but for regular scheduled jobs, i can create a job which does something, like send an email or update or whatever, that runs every...
February 19, 2013 at 9:47 am
homebrew i think this is equivilent to your first update query, but should theoretically perform better.
compare the SELECT to teh UPDATE , and tell me if it looks like it...
February 19, 2013 at 8:59 am
nikus thank you for the feedback! i really appreciate it!
February 19, 2013 at 8:16 am
awesome solution Cadavre!
only thing i would do is clean up the presentation with REPLICATE to get the zeros, and maybe just a simple not like '%[^0-9]%' ; what do you...
February 19, 2013 at 6:18 am
Viewing 15 posts - 3,976 through 3,990 (of 13,469 total)