![]() | |
#61
| |||
| |||
|
|
"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. |

#62
| |||
| |||
|
|
"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. |

#63
| |||
| |||
|
|
"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. |

#64
| |||
| |||
|
|
"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. |

#65
| |||
| |||
|
|
"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. |

#66
| |||
| |||
|
|
"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. |

#67
| |||
| |||
|
|
"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. |

#68
| |||
| |||
|
|
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 in message news:48e3901d$1 (AT) forums-1-dub (DOT) .. 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 |
#69
| |||
| |||
|
|
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 in message news:48e3901d$1 (AT) forums-1-dub (DOT) .. 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 |
#70
| |||
| |||
|
|
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 in message news:48e3901d$1 (AT) forums-1-dub (DOT) .. 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |