Click here to Skip to main content
15,887,939 members
Home / Discussions / Database
   

Database

 
GeneralRe: Do we need to promote SP's anymore? Pin
PIEBALDconsult25-Sep-11 14:20
mvePIEBALDconsult25-Sep-11 14:20 
GeneralRe: Do we need to promote SP's anymore? Pin
Mycroft Holmes25-Sep-11 16:07
professionalMycroft Holmes25-Sep-11 16:07 
GeneralRe: Do we need to promote SP's anymore? Pin
Eddy Vluggen26-Sep-11 12:19
professionalEddy Vluggen26-Sep-11 12:19 
QuestionMySQL 5.2.34 CE Pin
Emejulu JVT24-Sep-11 8:34
Emejulu JVT24-Sep-11 8:34 
AnswerRe: MySQL 5.2.34 CE Pin
André Kraak24-Sep-11 8:55
André Kraak24-Sep-11 8:55 
Questiongenerating IDs with IDENTITY() in sql server 2005 Pin
Danzy8321-Sep-11 11:59
Danzy8321-Sep-11 11:59 
AnswerRe: generating IDs with IDENTITY() in sql server 2005 Pin
PIEBALDconsult21-Sep-11 14:25
mvePIEBALDconsult21-Sep-11 14:25 
AnswerRe: generating IDs with IDENTITY() in sql server 2005 PinPopular
Mycroft Holmes21-Sep-11 16:09
professionalMycroft Holmes21-Sep-11 16:09 
Dan_K wrote:
I want the IDs to include the year in which the record is added to a table

Mistake number 1, commited by all newbie database designers, yup every one of them unless somone intervenes.

A primary key should not hold any intelligent information, if you want the year the record was created then add a datetime field for the job DO NOT USE THE PRIMARY KEY.

Piebald will tell you to use GUIDs, I like IDENTITY myself but that is just preference, neither has any intelligence in the information, it is ONLY there to identify the record and should not be used for any other reason, this includes sorting. You do not care if there are gaps or missing records or the sequence changes, it is only to identify the record.
Never underestimate the power of human stupidity
RAH

GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
David Skelly21-Sep-11 22:37
David Skelly21-Sep-11 22:37 
JokeRe: generating IDs with IDENTITY() in sql server 2005 Pin
Mycroft Holmes21-Sep-11 23:10
professionalMycroft Holmes21-Sep-11 23:10 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
David Skelly22-Sep-11 1:38
David Skelly22-Sep-11 1:38 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
PIEBALDconsult22-Sep-11 3:19
mvePIEBALDconsult22-Sep-11 3:19 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
David Skelly22-Sep-11 6:04
David Skelly22-Sep-11 6:04 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
Mycroft Holmes22-Sep-11 12:53
professionalMycroft Holmes22-Sep-11 12:53 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
Danzy8322-Sep-11 14:17
Danzy8322-Sep-11 14:17 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
Mycroft Holmes22-Sep-11 16:11
professionalMycroft Holmes22-Sep-11 16:11 
AnswerRe: generating IDs with IDENTITY() in sql server 2005 Pin
Tim Carmichael23-Sep-11 4:52
Tim Carmichael23-Sep-11 4:52 
GeneralRe: generating IDs with IDENTITY() in sql server 2005 Pin
PIEBALDconsult23-Sep-11 10:03
mvePIEBALDconsult23-Sep-11 10:03 
QuestionFetching of data w.r.t the time limits in Sql Server2000 Pin
praveengb20-Sep-11 22:58
praveengb20-Sep-11 22:58 
AnswerRe: Fetching of data w.r.t the time limits in Sql Server2000 Pin
PIEBALDconsult21-Sep-11 2:45
mvePIEBALDconsult21-Sep-11 2:45 
GeneralRe: Fetching of data w.r.t the time limits in Sql Server2000 Pin
praveengb24-Sep-11 1:01
praveengb24-Sep-11 1:01 
AnswerRe: Fetching of data w.r.t the time limits in Sql Server2000 Pin
David Skelly21-Sep-11 4:25
David Skelly21-Sep-11 4:25 
QuestionHow to convert from (Sybase Or Access) database to Mysql Pin
zigzagooo20-Sep-11 22:40
zigzagooo20-Sep-11 22:40 
AnswerRe: How to convert from (Sybase Or Access) database to Mysql Pin
Wayne Gaylard20-Sep-11 23:10
professionalWayne Gaylard20-Sep-11 23:10 
GeneralRe: How to convert from (Sybase Or Access) database to Mysql Pin
zigzagooo21-Sep-11 0:22
zigzagooo21-Sep-11 0:22 

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.