Click here to Skip to main content
15,888,579 members
Home / Discussions / Database
   

Database

 
GeneralRe: Difference between INNER JOIN and WHERE Clause Pin
GuyThiebaut28-Mar-08 4:57
professionalGuyThiebaut28-Mar-08 4:57 
GeneralRe: Difference between INNER JOIN and WHERE Clause Pin
Joe DiNatale28-Mar-08 5:55
Joe DiNatale28-Mar-08 5:55 
GeneralSecurity Model Recommendations for ASP.NET Client Pin
Brady Kelly28-Mar-08 2:59
Brady Kelly28-Mar-08 2:59 
GeneralRe: Security Model Recommendations for ASP.NET Client Pin
Mark J. Miller28-Mar-08 9:10
Mark J. Miller28-Mar-08 9:10 
QuestionIdentity reseed in trigger Pin
User 274316228-Mar-08 2:07
User 274316228-Mar-08 2:07 
GeneralRe: Identity reseed in trigger Pin
Mark J. Miller28-Mar-08 9:19
Mark J. Miller28-Mar-08 9:19 
GeneralRe: Identity reseed in trigger Pin
User 274316228-Mar-08 21:43
User 274316228-Mar-08 21:43 
GeneralRe: Identity reseed in trigger Pin
Mark J. Miller31-Mar-08 5:33
Mark J. Miller31-Mar-08 5:33 
Just a warning that reseeding a primary key value can have some gotchas. As long as the table really is cleared out daily and there's no chance of the numbers being used w/in the same 24-48 hour period then you're probably fine. But if that primary key is being referenced elsewhere in other tables that don't get cleared out on the same schedules you're really in for some problems.

Any solution that depends on a specific constraint on identity keys is problematic. The value of the key should really be completely agnostic. It's purpose is for indexes and relations, not for business logic. That's not to say that you can't use an autonumber, but you may want to question why its being used and why it has to have this kind of constraint on it. And most importantly, if you are using the primary key value for these records elsewhere then you might want to use something else for the actual primary key value.


GeneralRe: Identity reseed in trigger Pin
User 274316231-Mar-08 21:25
User 274316231-Mar-08 21:25 
GeneralSQL query optimization i sql server 2005 [modified] Pin
ashok@techxygen27-Mar-08 19:27
ashok@techxygen27-Mar-08 19:27 
GeneralRe: SQL query optimization i sql server 2005 Pin
John_Adams27-Mar-08 21:39
John_Adams27-Mar-08 21:39 
GeneralRe: SQL query optimization i sql server 2005 Pin
Gandalf_TheWhite30-Dec-09 4:35
professionalGandalf_TheWhite30-Dec-09 4:35 
GeneralI dont get it :-) Get Discounted price by porcentage Pin
AlexeiXX327-Mar-08 18:32
AlexeiXX327-Mar-08 18:32 
GeneralRe: I dont get it :-) Get Discounted price by porcentage Pin
Ashfield28-Mar-08 0:50
Ashfield28-Mar-08 0:50 
GeneralRe: I dont get it :-) Get Discounted price by porcentage Pin
Sgg24528-Mar-08 2:21
Sgg24528-Mar-08 2:21 
GeneralRe: I dont get it :-) Get Discounted price by porcentage Pin
AlexeiXX328-Mar-08 9:11
AlexeiXX328-Mar-08 9:11 
GeneralWeird Error Message in MS Access...Please help Pin
new_phoenix27-Mar-08 7:37
new_phoenix27-Mar-08 7:37 
AnswerRe: Weird Error Message in MS Access...Please help Pin
Justin Porteous27-Mar-08 8:54
Justin Porteous27-Mar-08 8:54 
GeneralDatabinding for SSRS CustomReportItem Pin
Mark J. Miller27-Mar-08 7:13
Mark J. Miller27-Mar-08 7:13 
GeneralRe: Databinding for SSRS CustomReportItem Pin
Mark J. Miller27-Mar-08 10:42
Mark J. Miller27-Mar-08 10:42 
GeneralDYNAMICALLY Generating Reports in SSRS-2005 Pin
Aswanth26-Mar-08 23:12
Aswanth26-Mar-08 23:12 
GeneralPrefix 'sp' for stored procs Pin
Brady Kelly26-Mar-08 22:47
Brady Kelly26-Mar-08 22:47 
GeneralRe: Prefix 'sp' for stored procs Pin
Jammer27-Mar-08 0:02
Jammer27-Mar-08 0:02 
GeneralRe: Prefix 'sp' for stored procs Pin
Brady Kelly27-Mar-08 0:08
Brady Kelly27-Mar-08 0:08 
GeneralRe: Prefix 'sp' for stored procs Pin
pmarfleet27-Mar-08 0:10
pmarfleet27-Mar-08 0:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.