473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

GUIDs/uniqueidentifiers why not?

Hello,

I am trying to bring my entire organization from a Microsoft
platform to a Linux one, starting with all of the servers we are
currently running. Sun ONE ASP allows me to run ASP on Linux through
Apache, Mono is working on .NET, but the one thing I can't migrate is
SQL and it's because products like mySQL and Postgres have no built-in
GUID support. We have 100 databases with GUIDs as primary keys across
all of them. It works great in a Microsoft world, but as soon as you
want to go to Linux it seems like their is no way. I have seen a lot
of "hack" fixes, but it still escapes me why mySQL won't support this
kind of seemlingly great functionality.

In my case I have a universal history table that allows the
storage of all sorts of events in one table, it's great, everytime I
need to add a new one I add a new history type to a type table and
then just start throwing data in the table, later on I can look it
back up just fine. It works for everything I do. This really helps to
reduce my need to duplicate the same concept all over the place and
speeds programming since I don't have to worry about which table
contains what history. Now, the reason this uses GUIDs is I can key
into the table with a GUID for the history type. Then I can query the
"reference GUID", which is a generic column that only the specific
software that put it there understands, without ever having to worry
about software that doesn't know what something is trying to do
something with it. I would much rather the software error than try to
take an action that is not warranted by the value.

Any help understanding or with a solution to this problem would be
helpful, thanks.

Shaun
Jul 19 '05 #1
0 1285

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Jon Perez | last post by:
Is there a Python function that works on all platforms (not just Win32) to generate such in the DCE / Microsoft format? If not present, this looks like it would be a very Pythonic addition to...
0
by: Shaun Clark | last post by:
Hello, I am trying to bring my entire organization from a Microsoft platform to a Linux one, starting with all of the servers we are currently running. Sun ONE ASP allows me to run ASP on Linux...
8
by: Roland Hall | last post by:
Would a GUID be a good idea to use for a random generated account code. The user will be given a link to pass the GUID and then be prompted for a password. Ex....
4
by: J.Marsch | last post by:
I notice that when I generate various guids, they appear to have a mix of upper and lowercase letters. Is the uniqueness of a guid case-sensitive? In other words, if I generate a guid, and...
1
by: vector | last post by:
I've got an application that generates GUIDs. A lot of GUIDs. Lots of GUIDs that end up in files on disk, taking up space. I'd like to continue using the Guid.NewGuid() function as my unique tag...
1
by: Andrew S. Giles | last post by:
Hello, I am writing a COM interface to one of my classes, so that the interface bmay be used to provide a means of sending data from a legacy code application to the new .NET user Interface. ...
11
by: Jeff | last post by:
Hi - I'm experiencing a strange problem when comparing 2 guids. In my trial, they're not equal. When I step through the (VB.NET) code, they are evaluated as equal, and when I enter the...
2
by: Howard Kaikow | last post by:
Being lazy, I sometimes copy a project to another directory, then tweak the code. A problem arises because then both projects have identical GUIDs in the .sln file, and in the assembly file. ...
14
by: Chris Dunaway | last post by:
I have used Guid's as a unique identifier in data applications. But in a recent project, the length of the Guid's string is proving to be too long. Is there a method for generating a unique...
1
by: GHUM | last post by:
Hello, I created lots of guids via pywintypes.CreateGuid() on windows. Now I would like to run the same software on Linux / Solaris / FreeBSD. So I should produce "compatible" GUIDS on...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.