SELECT TOP (1) RememberValue
FROM dbo.Remember
WHERE DBName = @DBName
AND SProcSource = @SProcSource
AND SProcVersion = @SProcVersion
AND RememberKey=@RememberKey
ORDER BY CreatedDate DESC
Regards,
Andras
Andras Belokosztolszki, MCPD, PhD
GoldenGate Software