Viewing 15 posts - 1,816 through 1,830 (of 6,037 total)
OK,
Here we go.
The test as promissed.
Starting with creating a table:
CREATE TABLE [dbo].[UsedRedemptionCodesTest](
[RedemptionCodeID] [int] IDENTITY(1,1) NOT NULL,
[RedemptionCode] [char](36) NULL,
[IsActive] [bit] NOT NULL,
CONSTRAINT [PK_UsedRedemptionCodesTest_RedemptionCodeID] PRIMARY KEY CLUSTERED ([IsActive], [RedemptionCodeID] ASC))
CREATE UNIQUE NONCLUSTERED...
_____________
Code for TallyGenerator
November 19, 2015 at 8:32 pm
ScottPletcher (11/19/2015)
if the codes are significant
what does that mean?
In English, please.
_____________
Code for TallyGenerator
November 19, 2015 at 4:32 pm
ScottPletcher (11/19/2015)
I'm certain they're never running an EXISTS check because they are not reusing codes,
Have a look at the topic starter:
SET @RedemptionCode = dbo.GenerateRandomBase32(@RedemptionSeed)
WHILE((@RedemptionCode IS NULL) OR EXISTS(SELECT RedemptionCode FROM...
_____________
Code for TallyGenerator
November 19, 2015 at 3:41 pm
ScottPletcher (11/19/2015)
Yes, by deleting them from the current promo table, not by just flagging them. They can...
_____________
Code for TallyGenerator
November 19, 2015 at 3:23 pm
ScottPletcher (11/19/2015)
_____________
Code for TallyGenerator
November 19, 2015 at 3:01 pm
ScottPletcher (11/19/2015)
When it's used up initially, it's removed forever from the current table, since it has no current value.
No person outside...
_____________
Code for TallyGenerator
November 19, 2015 at 2:54 pm
ScottPletcher (11/19/2015)
Sergiy (11/19/2015)
ScottPletcher (11/18/2015)
Once they've been used up, you'd remove them so they can't be reused.
How exactly you intend to prevent used codes from being reused (regenerated as new) if...
_____________
Code for TallyGenerator
November 19, 2015 at 1:57 pm
j-1064772 (11/19/2015)
And yes, I agree that there is still work to be done for "reference"...
_____________
Code for TallyGenerator
November 19, 2015 at 1:48 pm
ScottPletcher (11/19/2015)
Sergiy (11/18/2015)
ScottPletcher (11/18/2015)
Once they've been used up, you'd remove them so they can't be reused.
How exactly you intend to prevent used codes from being reused (regenerated as new) if...
_____________
Code for TallyGenerator
November 19, 2015 at 1:34 pm
j-1064772 (11/18/2015)
_____________
Code for TallyGenerator
November 18, 2015 at 7:38 pm
ScottPletcher (11/18/2015)
Once they've been used up, you'd remove them so they can't be reused.
How exactly you intend to prevent used codes from being reused (regenerated as new) if they are...
_____________
Code for TallyGenerator
November 18, 2015 at 5:54 pm
I use to top up my mobile by texting recharge codes to provider's number.
All the numbers I ever used are still sitting in the memory of my phone.
If the provider...
_____________
Code for TallyGenerator
November 18, 2015 at 5:18 pm
ScottPletcher (11/18/2015)
Lol. So you think Amazon.com has every gift code number they've ever issued in their current gift codes table? Unbelievable.
Why not?
May be not "ever issued", may be...
_____________
Code for TallyGenerator
November 18, 2015 at 3:46 pm
ScottPletcher (11/18/2015)
_____________
Code for TallyGenerator
November 18, 2015 at 2:59 pm
sql.queries (11/18/2015)
_____________
Code for TallyGenerator
November 18, 2015 at 2:23 pm
Viewing 15 posts - 1,816 through 1,830 (of 6,037 total)