Viewing 15 posts - 631 through 645 (of 1,554 total)
You could perhaps just store the old/new pair of rows from the deleted/inserted tables also into a separate table, and use the triggercode for evaluating what has changed in the...
February 7, 2006 at 1:17 am
You'd have to do this in two steps, delete tableB first then tableA.
declare @deleteDate char(8)
set @deleteDate = '20060207' -- <=== this is intentional format to avoid any and...
February 7, 2006 at 1:08 am
Do you want the 'where cnt > 0' to make the query to behave like the one where matches was required?
--for all rows in TableA regardless of
--matching...
February 6, 2006 at 8:29 am
Does the 4 seconds for the trigger also include sending the mail from within the trigger?
If that is the case, you may save some time by not sending mail from...
February 6, 2006 at 8:15 am
I think Ríchard has the solution. Using a tablevariable as intermediate cache within the transaction seems to be the way to go.
It works for a scenario like this: assume we...
February 6, 2006 at 8:06 am
Seems like this should work by just doing the update from a join..
update a
set a.email = d.email
from ActiveUsers a
join Directory d
on a.EmpID = d.EmpId
Would that work for you?
/Kenneth
January 31, 2006 at 8:05 am
I think that what you need is a 'destructive' collation that won't preserve accents and other 'fancy' notations, but just convert to the 'base charachter'... So I just tried a...
January 31, 2006 at 7:58 am
We really need scripts for your tables involved and also some scripted sample data that shows the effect you're having problems with so we can test your query.
(It doesn't have...
January 31, 2006 at 2:28 am
No problems Jeff (just had to google on 'recipro....' that wierd word.. )
If you feel like blowing off steam offline you're more than...
January 31, 2006 at 2:18 am
Yes, they are there, though there is two things about them.
First, it's a oneway encryption. You can't decrypt it once it's encrypted with those functions.
This may or may not be...
January 30, 2006 at 2:37 am
It seems like you're having some homegrown code receiving the results, perhaps something is amiss there?
How does it look in QA if you (important) log in as the exact same...
January 26, 2006 at 5:10 am
In SQL 2000 there isn't really anything built-in for this purpose.
In SQL 2005 I've seen some demos demonstrating how to encrypt and store - read and decrypt by using CLR...
January 26, 2006 at 5:00 am
Well, 'sometimes' isn't making it standard, so why stop saying how something 'should' be done..?
The fact remains, SQL sucks at row-by-row operations, doing it by hiding a loop in a UDF...
January 26, 2006 at 1:40 am
I do think this is the first time I've seen an inner, left and cross join all in the same query.
Testament to the infinite number of ways there is to...
January 26, 2006 at 1:03 am
It's basically the 'second step' of what you already had - a list of houses where any preference was matched.
The 'base query' gave you:
SELECT o.obId, o.obName
FROM @Obs...
January 24, 2006 at 8:50 am
Viewing 15 posts - 631 through 645 (of 1,554 total)