Viewing 15 posts - 12,046 through 12,060 (of 13,460 total)
found some more info here:
Known issues of DDL Trigger in SQL Server 2005
• Truncate statement is not tracked by any event
• SP_Rename event is not tracked
*For more information, please refer...
Lowell
August 18, 2008 at 9:24 pm
holy cow! sp_rename doesn't raise a trigger! you are right, i would have thought it would/should, of course.
for anyone wanting to try it yourself,
I modified the great example found...
Lowell
August 18, 2008 at 9:16 pm
i wonder if doing SET ANSI_NULLS ON, running the statement, and then SET ANSI_NULLS OFF would give different results. I haven't been able to duplicate, but that's wierd;
Lowell
August 18, 2008 at 1:32 pm
that's interesting...I'm guessing that the joins to the RPBILL table is doing the wierdness...
if the two tables are in a sub select like below, what are the results?
[font="Courier New"]SELECT L.BdKey
FROM...
Lowell
August 18, 2008 at 10:38 am
here's my suggestion:
it sounds like it's just the users in the database from ServerA exist on ServerB where it gets restored, but the users are orphaned because the unique sid...
Lowell
August 15, 2008 at 10:14 am
rbarryyoung (8/15/2008)
Lowell
August 15, 2008 at 10:02 am
interesting example;
If I were to modify this trigger, I think I'd like some of the information found in SP_WHO2 like program name and hostname, so you can idnetify who is...
Lowell
August 15, 2008 at 9:15 am
here's my stab in the dark:
the agency in question probably has more data or more changes than the other agencies.
since the execution plan of a view is compiled, I'd guess...
Lowell
August 15, 2008 at 7:05 am
generate a random number without using the existing tools of rand() and newid()?
why would handicap yourself?
what is the real requirement, or what are you trying to do? the only...
Lowell
August 14, 2008 at 9:02 am
Stephen Lee (8/13/2008)
Lowell
August 13, 2008 at 3:40 pm
if the data is all in the same row, you can do this:a assuming my table has the columns in capitals:
SELECT
@var1=SUBJECT,
@var2=EMAILFROM,
@var3=EMAILTO,
@var4=SUBJECT
FROM...
Lowell
August 13, 2008 at 12:34 pm
ok, so it's not the count, but the MAX(EDI_CLM_SEQ_NBR) in the DTL that is no longer matching the header, right?
same query and update, but with slight changes?
--in theory, this will...
Lowell
August 13, 2008 at 12:27 pm
there's something in script contributions that you can grab; i've updated my version slightly so that it also documents FUNCTIONS, which was not part of the original submission.
you can grab...
Lowell
August 13, 2008 at 12:13 pm
I think you can do this with a simple UPDATE ...FROM:
find the records that might be affected:
SELECT * FROM CLM_HDR
INNER JOIN (SELECT EDI_CLM_ID,COUNT(EDI_CLM_SEQ_NBR) AS EDI_CLM_SEQ_NBR
...
Lowell
August 13, 2008 at 11:54 am
it might be interesting to find data in the table that does not match it's supposed details:
does this return anything?
SELECT * FROM TokenManager
FULL OUTER JOIN
(SELECT CustomerID SUM(NumTokens) AS NumTokens...
Lowell
August 13, 2008 at 11:24 am
Viewing 15 posts - 12,046 through 12,060 (of 13,460 total)