Click here to Skip to main content
15,895,864 members
Home / Discussions / Database
   

Database

 
AnswerRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
Hiren solanki3-Dec-10 2:19
Hiren solanki3-Dec-10 2:19 
GeneralRe: Remove Extra Whitespace between Words -- But Leave One Space in a Certain Location Pin
NeverHeardOfMe4-Dec-10 0:38
NeverHeardOfMe4-Dec-10 0:38 
Questionunable to start the SQL Full Text Search Service from SQL Server Configuration Manager Pin
MahaKh1-Dec-10 20:07
MahaKh1-Dec-10 20:07 
AnswerRe: unable to start the SQL Full Text Search Service from SQL Server Configuration Manager Pin
Pete O'Hanlon1-Dec-10 23:49
mvePete O'Hanlon1-Dec-10 23:49 
QuestionRetrieving the new defalt value of a uniqueidentifier Pin
henry19511-Dec-10 14:41
henry19511-Dec-10 14:41 
AnswerRe: Retrieving the new defalt value of a uniqueidentifier PinPopular
Mycroft Holmes1-Dec-10 15:44
professionalMycroft Holmes1-Dec-10 15:44 
AnswerRe: Retrieving the new defalt value of a uniqueidentifier Pin
PIEBALDconsult4-Dec-10 4:19
mvePIEBALDconsult4-Dec-10 4:19 
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
henry19514-Dec-10 5:16
henry19514-Dec-10 5:16 
So, I have one person that hates GUIDS and one that likes them.

I chose them for the absolute certainty that there would be no collisions in IDs between tables and / or systems. My main goal was that I wanted to uniquely identify any object in my application. I won't have that many objects that I could not have used integers, but with integers to do that amoung many tables I would have to devise some sort of function that always delivered a new unique one when creating a row in any table.

If I could build a suitable function I still might do that. I probably could do so by using a single row table with one tuple holding the last integer used, but I have not tried that yet.

One thing I don't understand is why Microsoft created unsigned integers in all its programing languages, but did not provide the same feature in SQL server. I really do not want to use negative values, but the fact that there is no unsigned integer cuts my value pool in half if I choose to start with zero.

I also had some Oracle experience and I think I remember the sequence object. I don't know why Microsoft didn't implement something similar. For my part I would like to see sequences that deliver either unique unsigned integers or unique unsigned doubles. That would handle virtually any system that I can think of as a means of generating unique keys

I have been taught that SQL Server is much faster when dealing with integer keys because it uses integer arithmatic in its underlying calculations. Is this correct? And if so, how much faster would it be?

For now, I have chosen to create the IDs before inserting the rows so I already have them for other purposes. I have tables that serve as links for many to many relationships and that is where I am using the IDs.

My next challenge is to figure out how to maintain data for directed acyclic graphs, the idea of being able to show the relationships between any object in the system to any other object in the system even if that realtionship is a remote relationship like a grandparent of a cousin object, etc. I have found one article on Code project regarding that task, but I am looking for more to see if there are other ways to do this and so that I can understand the process better.
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
PIEBALDconsult4-Dec-10 8:26
mvePIEBALDconsult4-Dec-10 8:26 
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
Joe DiNatale6-Dec-10 11:08
Joe DiNatale6-Dec-10 11:08 
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
Mycroft Holmes4-Dec-10 11:42
professionalMycroft Holmes4-Dec-10 11:42 
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
PIEBALDconsult4-Dec-10 12:53
mvePIEBALDconsult4-Dec-10 12:53 
GeneralRe: Retrieving the new defalt value of a uniqueidentifier Pin
Mycroft Holmes4-Dec-10 14:45
professionalMycroft Holmes4-Dec-10 14:45 
QuestionSQL database works on IIS but not in client machines Pin
saud_a_k30-Nov-10 20:45
saud_a_k30-Nov-10 20:45 
AnswerRe: SQL database works on IIS but not in client machines Pin
Rajesh Anuhya30-Nov-10 22:31
professionalRajesh Anuhya30-Nov-10 22:31 
GeneralRe: SQL database works on IIS but not in client machines Pin
saud_a_k1-Dec-10 0:35
saud_a_k1-Dec-10 0:35 
GeneralRe: SQL database works on IIS but not in client machines Pin
Eddy Vluggen1-Dec-10 7:03
professionalEddy Vluggen1-Dec-10 7:03 
GeneralRe: SQL database works on IIS but not in client machines Pin
saud_a_k3-Dec-10 18:48
saud_a_k3-Dec-10 18:48 
GeneralRe: SQL database works on IIS but not in client machines Pin
Eddy Vluggen4-Dec-10 2:18
professionalEddy Vluggen4-Dec-10 2:18 
AnswerRe: SQL database works on IIS but not in client machines Pin
G-Tek4-Dec-10 5:41
G-Tek4-Dec-10 5:41 
QuestionMaintain max x records Pin
Eduard Keilholz29-Nov-10 22:45
Eduard Keilholz29-Nov-10 22:45 
AnswerRe: Maintain max x records Pin
Mycroft Holmes30-Nov-10 0:05
professionalMycroft Holmes30-Nov-10 0:05 
GeneralRe: Maintain max x records Pin
PIEBALDconsult30-Nov-10 2:18
mvePIEBALDconsult30-Nov-10 2:18 
GeneralRe: Maintain max x records Pin
Eduard Keilholz30-Nov-10 2:45
Eduard Keilholz30-Nov-10 2:45 
GeneralRe: Maintain max x records Pin
David Skelly30-Nov-10 6:14
David Skelly30-Nov-10 6:14 

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.