Click here to Skip to main content
15,897,891 members
Home / Discussions / Database
   

Database

 
GeneralRe: GUID - SQL Server 2005 Pin
N a v a n e e t h15-Dec-07 22:33
N a v a n e e t h15-Dec-07 22:33 
GeneralIdentity column with LINQ to SQL Pin
Brady Kelly10-Dec-07 23:22
Brady Kelly10-Dec-07 23:22 
GeneralRe: Identity column with LINQ to SQL Pin
Brady Kelly11-Dec-07 2:11
Brady Kelly11-Dec-07 2:11 
QuestionPls help: Error converting data type varchar to numeric Pin
masyarial10-Dec-07 15:15
masyarial10-Dec-07 15:15 
GeneralRe: Pls help: Error converting data type varchar to numeric Pin
SimulationofSai10-Dec-07 20:22
SimulationofSai10-Dec-07 20:22 
GeneralRe: Pls help: Error converting data type varchar to numeric Pin
masyarial11-Dec-07 14:48
masyarial11-Dec-07 14:48 
GeneralIdentity Seed vs varchar Pin
Brendan Vogt10-Dec-07 12:23
Brendan Vogt10-Dec-07 12:23 
GeneralRe: Identity Seed vs varchar Pin
Colin Angus Mackay10-Dec-07 22:40
Colin Angus Mackay10-Dec-07 22:40 
.NET Enthusiast wrote:
I was advised to stay away from using identity seeds where the number increments inteself by everytime but to use a varchar(10) for example. And I was also told that having a varchar ID slows down insert/update/ But inserting/updating 1 record shouldn't be that bad? But I'm more worried about sting searches on the ID. Will it slow down searches??


If you must use string based IDs then you should go for fixed length columns, e.g. CHAR(10). However, it is better to use an INT with an identity on it. It will be much more efficient.



Upcoming FREE developer events:
* Developer Day Scotland

My website | blog


GeneralRe: Identity Seed vs varchar Pin
Brendan Vogt10-Dec-07 22:45
Brendan Vogt10-Dec-07 22:45 
GeneralSequencing a varchar field Pin
Brendan Vogt10-Dec-07 12:18
Brendan Vogt10-Dec-07 12:18 
GeneralRe: Sequencing a varchar field Pin
Colin Angus Mackay10-Dec-07 22:37
Colin Angus Mackay10-Dec-07 22:37 
GeneralRe: Sequencing a varchar field Pin
Brendan Vogt11-Dec-07 1:47
Brendan Vogt11-Dec-07 1:47 
GeneralRe: Sequencing a varchar field Pin
Colin Angus Mackay11-Dec-07 1:54
Colin Angus Mackay11-Dec-07 1:54 
QuestionStored Proc Pin
alok_2k310-Dec-07 2:05
alok_2k310-Dec-07 2:05 
GeneralRe: Stored Proc Pin
Mark Churchill10-Dec-07 2:36
Mark Churchill10-Dec-07 2:36 
GeneralRe: Stored Proc Pin
alok_2k310-Dec-07 20:29
alok_2k310-Dec-07 20:29 
QuestionHow to insert Data in the Following Tables Pin
Vimalsoft(Pty) Ltd10-Dec-07 0:57
professionalVimalsoft(Pty) Ltd10-Dec-07 0:57 
AnswerRe: How to insert Data in the Following Tables Pin
pmarfleet10-Dec-07 5:11
pmarfleet10-Dec-07 5:11 
GeneralDate format in sql Pin
imnotso#9-Dec-07 23:49
imnotso#9-Dec-07 23:49 
GeneralRe: Date format in sql Pin
SimulationofSai10-Dec-07 0:30
SimulationofSai10-Dec-07 0:30 
GeneralRe: Date format in sql Pin
imnotso#10-Dec-07 0:54
imnotso#10-Dec-07 0:54 
QuestionMS Exchange connection? Pin
Mr.Kode9-Dec-07 22:27
Mr.Kode9-Dec-07 22:27 
Questionhow to avoid data redundancy in insert query? Pin
kssknov9-Dec-07 20:50
kssknov9-Dec-07 20:50 
GeneralRe: how to avoid data redundancy in insert query? Pin
Tobias Schoenig9-Dec-07 21:50
Tobias Schoenig9-Dec-07 21:50 
GeneralRe: how to avoid data redundancy in insert query? Pin
kssknov16-Dec-07 20:15
kssknov16-Dec-07 20:15 

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.