Viewing 15 posts - 7,846 through 7,860 (of 10,144 total)
namrata.dhanawade-1143388 (6/2/2010)
UserNameTest Testing123 0x00F41E6A8ECB7F479AF5A6826828
However, if I do the same after the 2nd SP, I get
UserNameTest ...
June 2, 2010 at 6:30 am
namrata.dhanawade-1143388 (6/2/2010)
SELECT A.Value,
CONVERT(varchar, DecryptByKey(A.Password)),
A.Password
FROM ServicesDatabase.dbo.IdentificationService A WITH (NOLOCK)
where IdentificationID = @IdentificationID
It gives me...
June 2, 2010 at 6:17 am
namrata.dhanawade-1143388 (6/2/2010)
June 2, 2010 at 5:03 am
Also, note that your encryption sproc is called InsIdentification, and the sproc you are calling within your second sproc is called ServicesDatabase.dbo.SRVInsIdentificationService - are they the same?
June 2, 2010 at 4:19 am
Which columns on what table are you checking for the encrypted and decrypted values? Column Password of dbo.Identification should contain the encrypted value.
June 2, 2010 at 4:14 am
namrata.dhanawade-1143388 (6/2/2010)
I have a SP that when executed, encrypts the password column.
When after execution i check for the encrypted and the decrypted value, they are returned.
However, when I call this...
June 2, 2010 at 3:04 am
CirquedeSQLeil (6/1/2010)
crookj (6/1/2010)
refluxJoe
acid
Pickled onions
June 1, 2010 at 10:03 am
simflex-897410 (6/1/2010)
' if here, this is first case for this client...so find an available judge:
SELECT JudgeCode,...
June 1, 2010 at 8:28 am
Today's Random Worm!
So you thought the SAM-deflecting flares ejected by aircraft executing low-level manoeuvres in hot areas were post-WWII? Nah.
June 1, 2010 at 6:53 am
Trey Staker (5/26/2010)
Gianluca Sartori (5/26/2010)
Common sense is in spite of, not the result of, education.-- Victor Hugo
I'm stealing this for my signature!
David Webb's is darned good too:
David Webb-200187 (5/25/2010)
May 26, 2010 at 9:53 am
RBarryYoung (5/25/2010)
Hrrmmm... I'm not sure that we're still talking about the same thing ... :angry:
Oops start again...
"Here's the modulus you lent me, Barry - I'm afraid it's very slightly...
May 26, 2010 at 7:59 am
Aggregating twice may help significantly:
SELECT
Period,
OutCome,
SUM(LeadCount) -- sum rowcounts
FROM (
SELECT
A.Date,
Period = CASE
WHEN A.Date >= @PrevMonth AND A.Date < @CurrentMonth THEN 'PrevMonth'
WHEN A.Date >= @CurrentMonth AND A.Date...
May 26, 2010 at 7:48 am
Here's a small speed-up which also makes the code much easier to understand:
Declare @onDate smalldatetime, @Tomorrow smalldatetime, @Yesterday smalldatetime, @CurrentMonth smalldatetime, @PrevMonth smalldatetime ...
May 26, 2010 at 7:33 am
This works, but it looks horrible:
DROP TABLE #TABLE1
CREATE TABLE #TABLE1 (col1 CHAR(1), col2 CHAR(2), code INT)
INSERT INTO #TABLE1 (col1, col2, code)
SELECT 'a', 'b', 11 UNION ALL
SELECT 'c', 'd', 22 UNION...
May 26, 2010 at 6:36 am
Viewing 15 posts - 7,846 through 7,860 (of 10,144 total)