dbTalk Databases Forums  

UUID field in .NET API

sybase.public.sqlanywhere.ultralite sybase.public.sqlanywhere.ultralite


Discuss UUID field in .NET API in the sybase.public.sqlanywhere.ultralite forum.



Reply
 
Thread Tools Display Modes
  #41  
Old   
PGP
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 10:27 AM






Mike,

1. It is declared as a unique identifier.

2. To test, i generated them (using guidgen, a tool that ships with visual
studio), and copy pasted the string in sybase central using the edit on the
column.

Priyesh.

"Mike Vander Ploeg" <mvanderp_asdf (AT) sybase (DOT) com> wrote

Quote:
Priyesh, I have a couple of questions.

1. How is your UUID column declared? Is it a uniqueidentifier, a binary,
or a varchar?

2. How were the UUIDs originally added to the database?

Mike Vander Ploeg
Sybase iAnywhere



Reply With Quote
  #42  
Old   
PGP
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 10:27 AM






Mike,

1. It is declared as a unique identifier.

2. To test, i generated them (using guidgen, a tool that ships with visual
studio), and copy pasted the string in sybase central using the edit on the
column.

Priyesh.

"Mike Vander Ploeg" <mvanderp_asdf (AT) sybase (DOT) com> wrote

Quote:
Priyesh, I have a couple of questions.

1. How is your UUID column declared? Is it a uniqueidentifier, a binary,
or a varchar?

2. How were the UUIDs originally added to the database?

Mike Vander Ploeg
Sybase iAnywhere



Reply With Quote
  #43  
Old   
PGP
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 10:27 AM



Mike,

1. It is declared as a unique identifier.

2. To test, i generated them (using guidgen, a tool that ships with visual
studio), and copy pasted the string in sybase central using the edit on the
column.

Priyesh.

"Mike Vander Ploeg" <mvanderp_asdf (AT) sybase (DOT) com> wrote

Quote:
Priyesh, I have a couple of questions.

1. How is your UUID column declared? Is it a uniqueidentifier, a binary,
or a varchar?

2. How were the UUIDs originally added to the database?

Mike Vander Ploeg
Sybase iAnywhere



Reply With Quote
  #44  
Old   
PGP
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 10:27 AM



Mike,

1. It is declared as a unique identifier.

2. To test, i generated them (using guidgen, a tool that ships with visual
studio), and copy pasted the string in sybase central using the edit on the
column.

Priyesh.

"Mike Vander Ploeg" <mvanderp_asdf (AT) sybase (DOT) com> wrote

Quote:
Priyesh, I have a couple of questions.

1. How is your UUID column declared? Is it a uniqueidentifier, a binary,
or a varchar?

2. How were the UUIDs originally added to the database?

Mike Vander Ploeg
Sybase iAnywhere



Reply With Quote
  #45  
Old   
PGP
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 10:27 AM



Mike,

1. It is declared as a unique identifier.

2. To test, i generated them (using guidgen, a tool that ships with visual
studio), and copy pasted the string in sybase central using the edit on the
column.

Priyesh.

"Mike Vander Ploeg" <mvanderp_asdf (AT) sybase (DOT) com> wrote

Quote:
Priyesh, I have a couple of questions.

1. How is your UUID column declared? Is it a uniqueidentifier, a binary,
or a varchar?

2. How were the UUIDs originally added to the database?

Mike Vander Ploeg
Sybase iAnywhere



Reply With Quote
  #46  
Old   
David Fishburn
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 01:04 PM



"PGP" <priyesh@do_not_reply> wrote in news:48e396d5@forums-1-dub of
sybase.public.sqlanywhere.ultralite:

P> 2. To test, i generated them (using guidgen, a tool that ships with
P> visual studio), and copy pasted the string in sybase central using the
P> edit on the column.

Interesting.

Can you compare you results to doing something like this:

INSERT INTO your_guid (your_guid_col)
VALUES ( NEWID() );

And see if you get different behaviour.
The NEWID() function is the SQL way of creating a new GUID/UUID.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #47  
Old   
David Fishburn
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 01:04 PM



"PGP" <priyesh@do_not_reply> wrote in news:48e396d5@forums-1-dub of
sybase.public.sqlanywhere.ultralite:

P> 2. To test, i generated them (using guidgen, a tool that ships with
P> visual studio), and copy pasted the string in sybase central using the
P> edit on the column.

Interesting.

Can you compare you results to doing something like this:

INSERT INTO your_guid (your_guid_col)
VALUES ( NEWID() );

And see if you get different behaviour.
The NEWID() function is the SQL way of creating a new GUID/UUID.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #48  
Old   
David Fishburn
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 01:04 PM



"PGP" <priyesh@do_not_reply> wrote in news:48e396d5@forums-1-dub of
sybase.public.sqlanywhere.ultralite:

P> 2. To test, i generated them (using guidgen, a tool that ships with
P> visual studio), and copy pasted the string in sybase central using the
P> edit on the column.

Interesting.

Can you compare you results to doing something like this:

INSERT INTO your_guid (your_guid_col)
VALUES ( NEWID() );

And see if you get different behaviour.
The NEWID() function is the SQL way of creating a new GUID/UUID.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #49  
Old   
David Fishburn
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 01:04 PM



"PGP" <priyesh@do_not_reply> wrote in news:48e396d5@forums-1-dub of
sybase.public.sqlanywhere.ultralite:

P> 2. To test, i generated them (using guidgen, a tool that ships with
P> visual studio), and copy pasted the string in sybase central using the
P> edit on the column.

Interesting.

Can you compare you results to doing something like this:

INSERT INTO your_guid (your_guid_col)
VALUES ( NEWID() );

And see if you get different behaviour.
The NEWID() function is the SQL way of creating a new GUID/UUID.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #50  
Old   
David Fishburn
 
Posts: n/a

Default Re: UUID field in .NET API - 10-01-2008 , 01:04 PM



"PGP" <priyesh@do_not_reply> wrote in news:48e396d5@forums-1-dub of
sybase.public.sqlanywhere.ultralite:

P> 2. To test, i generated them (using guidgen, a tool that ships with
P> visual studio), and copy pasted the string in sybase central using the
P> edit on the column.

Interesting.

Can you compare you results to doing something like this:

INSERT INTO your_guid (your_guid_col)
VALUES ( NEWID() );

And see if you get different behaviour.
The NEWID() function is the SQL way of creating a new GUID/UUID.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng10 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/

Developer Community / Whitepapers
http://www.ianywhere.com/developer

Case-Express - to report bugs
http://case-express.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.