Click here to Skip to main content
15,921,028 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL - StoredProc - Data into a variable? Pin
wbjohnson22-Nov-06 9:25
wbjohnson22-Nov-06 9:25 
AnswerRe: SQL - StoredProc - Data into a variable? Pin
Anshuman Singh22-Nov-06 19:00
Anshuman Singh22-Nov-06 19:00 
QuestionQuery issue Pin
Tauseef A22-Nov-06 5:51
Tauseef A22-Nov-06 5:51 
AnswerRe: Query issue Pin
Chris Meech22-Nov-06 5:56
Chris Meech22-Nov-06 5:56 
Question[Message Deleted] Pin
R_L_H22-Nov-06 4:17
R_L_H22-Nov-06 4:17 
AnswerRe: Problem connecting to a New Database (milliseconds after creation) Pin
Rob Graham22-Nov-06 17:09
Rob Graham22-Nov-06 17:09 
QuestionAuto incremented primary key only for Int16/32/64? Pin
michal.kreslik22-Nov-06 1:18
michal.kreslik22-Nov-06 1:18 
AnswerRe: Auto incremented primary key only for Int16/32/64? Pin
Pete O'Hanlon22-Nov-06 1:37
mvePete O'Hanlon22-Nov-06 1:37 
Hoahh boy. Well, think about how big a TinyInt is, and then think about how big your Autoincrement will get.

To work around this (for a DB the size that you have indicated), you can either use a uniqueuidentifier field (set to default with NewID()) or use a long (Int64).

Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."

Deja View - the feeling that you've seen this post before.

GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
michal.kreslik22-Nov-06 1:54
michal.kreslik22-Nov-06 1:54 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
Colin Angus Mackay22-Nov-06 2:58
Colin Angus Mackay22-Nov-06 2:58 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
michal.kreslik22-Nov-06 3:31
michal.kreslik22-Nov-06 3:31 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
Chris Meech22-Nov-06 6:09
Chris Meech22-Nov-06 6:09 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
michal.kreslik22-Nov-06 10:03
michal.kreslik22-Nov-06 10:03 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
Chris Meech23-Nov-06 5:43
Chris Meech23-Nov-06 5:43 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
michal.kreslik23-Nov-06 6:21
michal.kreslik23-Nov-06 6:21 
GeneralRe: Auto incremented primary key only for Int16/32/64? Pin
michal.kreslik22-Nov-06 3:22
michal.kreslik22-Nov-06 3:22 
Questionpass variables to mysql_query Pin
thathvamsi21-Nov-06 19:44
thathvamsi21-Nov-06 19:44 
AnswerRe: pass variables to mysql_query Pin
Chris Meech22-Nov-06 6:14
Chris Meech22-Nov-06 6:14 
GeneralRe: pass variables to mysql_query Pin
thathvamsi22-Nov-06 14:17
thathvamsi22-Nov-06 14:17 
QuestionMulti select queries ???? Pin
devboycpp21-Nov-06 19:34
devboycpp21-Nov-06 19:34 
AnswerRe: Multi select queries ???? Pin
Paul Conrad21-Nov-06 19:37
professionalPaul Conrad21-Nov-06 19:37 
GeneralRe: Multi select queries ???? Pin
devboycpp21-Nov-06 19:44
devboycpp21-Nov-06 19:44 
GeneralRe: Multi select queries ???? Pin
Paul Conrad21-Nov-06 19:51
professionalPaul Conrad21-Nov-06 19:51 
GeneralRe: Multi select queries ???? Pin
devboycpp21-Nov-06 20:01
devboycpp21-Nov-06 20:01 
GeneralRe: Multi select queries ???? Pin
Paul Conrad21-Nov-06 20:08
professionalPaul Conrad21-Nov-06 20:08 

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.