Im making a program that a person comes localy on the program and make a account offlinly , I want that account have something like a premium on that program -offlinly again lol- for something for 24 hours , I want my accounts to be on the sql server , so there must be a count down on it so How should I make a count dw in sql server , should my program do it like go all the accounts and every second make the number come dw by 1 or sql server has its own thing to make this such a thing

I don't think that's how you're going to want to do it, honestly.

Why not have another table that just sets the "expiration" date of whatever it is you're doing, and then just check the database to see if the current time is greater than that expiration date?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.